use mpeg4 for internal video format (not mjpeg)

reduces file size.
xjadeo > 0.8 and harvid >= 0.8 handle this fine.
This commit is contained in:
Robin Gareus 2015-06-16 00:47:53 +02:00
parent dc2030cfd7
commit 3f157f961a

View 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");