vtl: use avi/mjpeg (insted of mpeg4) for video proxy
authorRobin Gareus <robin@gareus.org>
Sun, 16 Jun 2013 15:04:00 +0000 (17:04 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 16 Jun 2013 15:04:00 +0000 (17:04 +0200)
 * 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

gtk2_ardour/transcode_ffmpeg.cc

index f14e472815d1bdb98765dc4b39485ff6d9a88262..657b79ffba70619642150438f2101ed0df4fcda8 100644 (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");