mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
pic2m2v: remove verbosity level from ffmpeg due to incompatibility with the 0.8 branch
This commit is contained in:
@@ -72,8 +72,13 @@ int main(int argc, char **argv)
|
||||
u.modtime = st2.st_mtime;
|
||||
printf("converting %s -> %s\n", fname, destname);
|
||||
/* 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",
|
||||
fname, TARGETRES, destname);
|
||||
#endif
|
||||
system(cmd); /* TODO: use libavcodec to directly convert it */
|
||||
utime(destname, &u);
|
||||
}
|
||||
|
Reference in New Issue
Block a user