[MEncoder-users] Generating a 1-second MPEG file from ONE png picture

Nico Sabbi nsabbi at email.it
Mon Jun 11 11:54:17 CEST 2007


scostas wrote:

>Hi all:
>
>(the question is nearly at the end. Please, be patient).
>
>To create the menus for a DVD I need an MPEG file made from a PNG 
>picture. After trying a lot of things (with big problems with sound 
>durations smaller than 17/25 of second) I found this method to create it 
>from just one png picture instead of repeating the same picture X times 
>with correlative names:
>
>mencoder -srate 48000 ... (options for coding DVD-compliant MPEG2 
>files)... -audiofile one_second_of_silence.wav -mf type=png:fps=1 -ofps 
>25 mf://my_png_picture.png
>
>I'm setting the FPS for the png to 1 FPS, and the output fps to 25 (or 
>30000/1001 for NTSC). Of course I use harddup... This seems to work 
>really fine.
>
>The question is: is this 100% legal with Mencoder?
>
mencoder is so twisted.....

> This is: it currently 
>works, but can it stop working in a near future?
>  
>
it must not stop working; if it does it's a bug.

>I ask this because when I tried to generate MPEG files using audio files 
>of less than 17/25 of second (this is, a PAL file with less than 17 
>frames) it failed. And when playing the file with Xine or VLC it ends 
>just a little before the end of the file itself (is like it lacks one 
>frame). Finally, even using harddup there aren't the classic messages of 
>"Duplicate frame", common when the input fps are different than the 
>output fps.
>  
>
with past versions, I guess, or now?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Pioneer112d 29,90€ - Dvd TDK da 0,299€ - Cdr Verbatim printable da 0,29€ - Stampa Foto da 0,06€ – Cdr Verbatim super azo da 0,216€ Questo e molto altro ancora lo trovi su atomicshop.it
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6577&d=11-6



More information about the MEncoder-users mailing list