[MPlayer-users] problem extracting audio from divx

Nico Sabbi nsabbi at tiscali.it
Sun Jun 13 14:28:38 CEST 2004


Jaap Struyk wrote:

>Hello,
>
>Trying to create a (mini) dvd from a divx I ran into the following
>problem:
>creating a m2v stream from the source with -of rawvideo and
>vcodec=mpeg2video works splended, but when I try to extract the ac3
>stream with -ovc frameno -oac copy I end up with mplex telling me:
>**ERROR: [mplex] File frameno.avi unrecogniseable!
>mplayer -identify frameno.avi3 gives me:
>ID_VIDEO_FORMAT=FrNo and info about the video stream, so it seems that
>it isn't a audio only stream.
>  
>

fortunately  it's not :) it's an AVI

>So I renamed it to frameno.avi and extracted audio with:
>mplayer frameno.avi -dumpaudio -dumpfile kdvd.ac3 with mplex giving me:
>  
>

yes, because mplayer still dumps 4 bytes indicating the stream length
before the actual data packet.
<rant>This feature should be optional !!!!!!</rant>
Search the archive of mplayer-dev-eng, there are  at least 3 patches to 
remove that crap.

>**ERROR: [mplex] File kdvd.ac3 unrecogniseable!
>Hummmm, mplayer -identify kdvd.ac3 gives me:
>ID_VIDEO_FORMAT=DVSD and somewhere along the output Audio: no sound
>
>How do I end up with a true audio-only stream?
>
>p.s. If I try to convert the avi with -ovc frameno -oac lavc \
>-lavcopts acodec=mp2:abitrate=112 I get the same results.
>  
>




More information about the MPlayer-users mailing list