[MEncoder-users] need to add audio to movie question

Tom Poe tompoe at fngi.net
Wed Feb 21 10:15:47 CET 2007


DEF wrote:
> --- Tom Poe <tompoe at fngi.net> wrote:
>   
>> I used:
>> .ogg audio file
>> *.png images for video
>> ran:
>> mencoder mf://*.png -delay 20 -mf
>> w=320:h=240:fps=5:type=png -ovc copy 
>> -audiofile Open_Studios_theme.ogg -oac copy -o
>> test.avi
>>     
>
> AFAIR, you generated file here test.avi is already
> broken because there is not standard way to store ogg
> in avi.
>
>   
>> Now, what do I change in command to convert to
>> new.mp4?
>> $ mencoder test.avi -o new.mpg -ofps 25 -vf
>> scale=352:288,harddup -of 
>> lavf -lavfopts 
>> format=mpg:i_certify_that_my_video_stream_does_not_us>e_b_frames
>> -oac 
>> lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc
>> -lavcopts 
>>
>>     
> vcodec=mpeg1video:vrc_buf_size=327:keyint=15:vrc_maxrate=1152:vbitrate=1152:vmax_b_frames=0
>   
>> The above command created a .mpg movie.  I want to
>> make the .avi file 
>> compatible with as many players as possible.  I am
>> computer-challenged, 
>> and my efforts to add mp4creator have thus far been
>> futile.  Can I use 
>> mencoder, or not?  :)
>> Thanks, Tom
>>     
> I do not really understand you here. Do you want you
> final file to be .avi, .mpg or .mp4?. And is
> *compatibility with many players* your *only*
> objective or you do have others?
>
> DEF
>
>
>  
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
>   
DEF:  Thanks.  I've got the song on a CD, so I should be able to extract 
and save it in whatever format.  What do you recommend I use?  wav?  I 
have .png images, but can change that to .jpg if that is better.  I want 
to put video podcasts on my site, so I want the best format to have the 
widest range of players be able to play it.  What do you recommend?
Tom




More information about the MEncoder-users mailing list