[MEncoder-users] conversion pb

Grozdan microchip at telenet.be
Fri Jan 2 13:44:34 CET 2009


On Friday 02 January 2009 05:33:53 Philippe Monroux wrote:
> Hello
>
> I have some videos :
> - container .mkv
> - video h264
> - sound : vorbis
>
> I only need to convert ogg-->mp3. It seems really simple isn't it ?
>
> I tried :
> mencoder film.mkv -noskip -mc 0 -ovc copy -oac mp3lame -lameopts vbr=3 -o
> film.avi
>
> but, with mplayer, the film.avi stop after e few moment.
>
> What happens and what can I do to convert my .mkv (vorbis + h264) so they
> become .mkv (mp3 + h264).

Easiest way

- dump audio to WAV: 
mplayer file.mkv -vc null -vo null -ao pcm:fast:file=audio.wav

- encode WAV to mp3 with lame

- mux video & audio into mkv
mkvmerge --noaudio file.mkv file.mp3 -o output.mkv


>
> Thanks



-- 
Regards

http://h264enc.sourceforge.net



More information about the MEncoder-users mailing list