[MPlayer-users] Encoding from DVB-T mpeg-ts recordings

Giacomo Comes comes at naic.edu
Mon Oct 4 17:23:31 CEST 2004


On Sun, Oct 03, 2004 at 10:02:46PM +1000, Samson Lee wrote:
> Nico Sabbi wrote:
> 
> >Samson Lee wrote:
> >
> >>I want to convert my DVB-T mpeg-ts recordings to mpeg4/divx video with 
> >>direct copy audio (mp3). The command I tried is this:
> >>
> >>mencoder -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi 
> >>input.ts
> >>
> >DVB contains almost always mp2, sometimes ac3
> 
> This is the mencoder output showing it selected [mp3] audio codec:
> 
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> MP3lib: init layer2&3 finished, tables done
> AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 32000->192000 (256.0 kbit)
> Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> 
> Does that mean mp3 or mp2?

If you use mp3lib for audio decoding (as in your example) then adding -v
to mencoder will produce a more verbose output.
It will tell you if the audio is Layer II or Layer III.

Giacomo




More information about the MPlayer-users mailing list