Since it seems nobody is really benefiting by having the '-q 0' setting for mpeg video output, I propose the following patch. If there's other braindead command line arguements in there by default, we can tweak them as well.

Index: cinelerra/filempeg.C
===================================================================
--- cinelerra/filempeg.C        (revision 732)
+++ cinelerra/filempeg.C        (working copy)
@@ -240,7 +240,7 @@

append_vcommand_line(asset->vmpeg_cmodel == MPEG_YUV422 ? "-422" : "");
                                if(asset->vmpeg_fix_bitrate)
                                {
-                                       append_vcommand_line("-b");
+                                       append_vcommand_line("--cbr -b");

append_vcommand_line(bitrate_string);
                                }
                                else
@@ -269,11 +269,11 @@

                        if(asset->vmpeg_fix_bitrate)
                        {
- sprintf(string, " -b %d -q %d", asset->vmpeg_bitrate, 0); + sprintf(string, " --cbr -b %d", asset->vmpeg_bitrate, 0);
                        }
                        else
                        {
- sprintf(string, " -b %d -q %d", 0, asset->vmpeg_quantization); + sprintf(string, " -q %d", 0, asset->vmpeg_quantization);
                        }
                        strcat(mjpeg_command, string);



-Brendan ([EMAIL PROTECTED])

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to