pic2m2v: remove verbosity level from ffmpeg due to incompatibility with the 0.8 branch

Origin commit data
------------------
Branch: master
Commit: a8668dc453
Author: martii <m4rtii@gmx.de>
Date: 2013-02-24 (Sun, 24 Feb 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-02-24 09:52:16 +01:00
parent bcc7f847c9
commit 2f0be2fedf

View File

@@ -72,8 +72,13 @@ int main(int argc, char **argv)
u.modtime = st2.st_mtime; u.modtime = st2.st_mtime;
printf("converting %s -> %s\n", fname, destname); printf("converting %s -> %s\n", fname, destname);
/* it does not exist or has a different date, so call ffmpeg... */ /* it does not exist or has a different date, so call ffmpeg... */
#ifdef MARTII
sprintf(cmd, "ffmpeg -y -f mjpeg -i '%s' -s %s '%s' </dev/null",
fname, TARGETRES, destname);
#else
sprintf(cmd, "ffmpeg -v 31 -y -f mjpeg -i '%s' -s %s '%s' </dev/null", sprintf(cmd, "ffmpeg -v 31 -y -f mjpeg -i '%s' -s %s '%s' </dev/null",
fname, TARGETRES, destname); fname, TARGETRES, destname);
#endif
system(cmd); /* TODO: use libavcodec to directly convert it */ system(cmd); /* TODO: use libavcodec to directly convert it */
utime(destname, &u); utime(destname, &u);
} }