use mpeg4 for internal video format (not mjpeg)
authorRobin Gareus <robin@gareus.org>
Mon, 15 Jun 2015 22:47:53 +0000 (00:47 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 15 Jun 2015 22:47:53 +0000 (00:47 +0200)
reduces file size.
xjadeo > 0.8 and harvid >= 0.8 handle this fine.

gtk2_ardour/transcode_ffmpeg.cc

index 76663956628fc93cc823fbcdb8ede00847b88378..0f770008824521b2c7b5905a45a05d9fe016f0ad 100644 (file)
@@ -480,7 +480,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("mjpeg");
+       argp[9] = strdup("mpeg4");
        argp[10] = strdup("-an");
        argp[11] = strdup("-intra");
        argp[12] = strdup("-g");