From: Michael S. <li...@mi...> - 2007-09-09 17:44:07
|
Suppose I have one title on a DVD that is audio only and I want the player to display a static image on the screen while it is being played (such as a picture of the fellow who is speaking). Now, normally when I do something like this with menus, I create a mpeg video stream from a jpeg using something like: jpeg2yuv -n 500 -I p -f 29.97 -j infile.jpeg | mpeg2enc -f 8 -F 4 -a 2 -n n -o outfile.m2v which works well enough for short sequences. However, for longer sequences, say 1 hour, this takes a long time to process as well as generates a large output file. For example, for a jpeg of about 100KB, 1hr of NTSC (107892 frames) requires about 300MB - this is the video overhead that seems to be required for my lowly 80MB audio ac3. I suppose lowering the video bit rate helps, but beyond a certain point it noticeably reduces the quality of the mpeg even though it is "static". (Increasing the GOP size drastically, to say 300, helps a lot, but I think the DVD spec only allows a GOP size up to 18 for NTSC). It is a shame I just can't mplex a short video mpeg with a full length ac3 audio, but this drives many DVD players (ogle, mplayer) nuts. :( Is there a better way of approaching this case (static image with long audio) such as "looping" video only, or is the jpeg2yuv approach and a 300MB mpeg overhead the only game in town? Thanks in advance, Mike Shell |