13
0

vtl: use avi/mjpeg (insted of mpeg4) for video proxy

* average picture quality is worse
 * ..but seeking works accurately
   (no more PTS/DTS mess with Quicktime files)
 * ffmpeg transcode to mpeg4 retains PTS, DTS ( to mjpeg does not)
 * eventually harvid&xjadeo need to be
   updated to seek to non-monotonic PTS, DTS timestamps
This commit is contained in:
Robin Gareus 2013-06-16 17:04:00 +02:00
parent 24af570d06
commit e3db97efe9

View File

@ -471,7 +471,7 @@ TranscodeFfmpeg::transcode (std::string outfile, const int outw, const int outh,
argp[6] = (char*) calloc(10,sizeof(char)); snprintf(argp[6], 10, "%ix%i", width, height);
argp[7] = strdup("-y");
argp[8] = strdup("-vcodec");
argp[9] = strdup("mpeg4");
argp[9] = strdup("mjpeg");
argp[10] = strdup("-an");
argp[11] = strdup("-intra");
argp[12] = strdup("-g");