Baptiste Coudurier <[email protected]> added the comment:
Hi, On 5/24/2009 4:54 AM, Francois Visagie wrote: > Francois Visagie <[email protected]> added the comment: > [...] > > << snip >> > >> also id like to repeat that the target dvd option enables a maxrate and >> that your adding of a maxrate command line option really is just changing >> its value not adding a limit where none was before. > > I could find no description of what effects the ...dvd options have, which > is why to be safe I specify my own upper limits. Including -muxrate 10080000 > to ensure total bitrate (including mux overhead even) remain within the > maximum total bitrate mentioned at http://en.wikipedia.org/wiki/Mpeg-2 and > elsewhere. ffmpeg.c does: opt_video_codec("mpeg2video"); opt_audio_codec("ac3"); opt_format("dvd"); opt_frame_size(norm ? "720x480" : "720x576"); opt_frame_rate(NULL, frame_rates[norm]); opt_default("gop", norm ? "18" : "15"); opt_default("b", "6000000"); opt_default("maxrate", "9000000"); opt_default("minrate", "0"); //1500000; opt_default("bufsize", "1835008"); //224*1024*8; opt_default("packetsize", "2048"); // from www.mpucoder.com: DVD sectors contain 2048 bytes of data, this is also the size of one pack. opt_default("muxrate", "10080000"); // from mplex project: data_rate = 1260000. mux_rate = data_rate * 8 opt_default("ab", "448000"); audio_sample_rate = 48000; So adding -muxrate has no effect and is redundant. > When pal-dvd has been specified, what are its effects and what if any > additional options are required to ensure or improve DVD-Video compliance? > Or can you point me to comprehensive documentation on this? Unfortunately the source is the documentation, but help and patch is very welcome regarding this. What is your problem exactly ? Where does the file created using -target dvd has problem ? _____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1081> _____________________________________________________
