[MPlayer-users] mencoder crashes

D Richard Felker III dalias at aerifal.cx
Thu May 22 00:39:19 CEST 2003


On Wed, May 21, 2003 at 10:52:03PM +0400, Vladimir I. Umnov wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> CH> 1. Change -ovc lavc to -ovc copy (and get rid of -lavcopts). This'll
> CH> tell you if the fault is with mencoder or within lavc.
> This work fine.
> CH> 2. If -ovc copy works, then try removing some lavcopts. To be more
> CH> efficient, remove the options that slow down the encoding the most.
> CH> You might save yourself several hours this way. Offhand, I think
> CH> vhq,v4mv, and vmax_b_frames are the most CPU intensive, so try removing
> CH> them all at once.
> I remove all lavcopts and select to rip T3 trailer.
> 
> CMD:
> mencoder VTS_01_0.VOB -o t3.avi -oac copy -ovc lavc -noaspect -lavcopts vcodec=mpeg4:vpass=1
> 
> GDB output:
> Pos: 239,9s   7200f (99%)  49fps Trem:   0min  29mb  A-V:0,026 [783:256] A/Vms 4Pos: 240,0s   7201f (99%)  49fps Trem:   0min  29mb  A-V:0,027 [783:256] A/Vms 4Pos: 240,0s   7202f (99%)  49fps Trem:   0min  29mb  A-V:0,027 [783:256] A/Vms 4MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,0s   7203f (99%)  49fps Trem:   0min  29mb  A-V:0,027 [783:256] A/Vms 4Pos: 240,1s   7204f (99%)  49fps Trem:   0min  29mb  A-V:0,027 [783:256] A/Vms 4Pos: 240,1s   7205f (99%)  49fps Trem:   0min  29mb  A-V:0,028 [783:256] A/Vms 4Pos: 240,1s   7206f (99%)  49fps Trem:   0min  29mb  A-V:0,028 [783:256] A/Vms 4Pos: 240,2s   7207f (99%)  49fps Trem:   0min  29mb  A-V:0,028 [783:256] A/Vms 4MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,2s   7208f (100%)  49fps Trem:   0min  29mb  A-V:0,028 [783:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,2s   7209f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [783:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,3s   7210f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,3s   7211f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,3s   7212f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,4s   7213f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,4s   7214f (100%)  49fps Trem:   0min  29mb  A-V:0,029 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,4s   7215f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,5s   7216f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [784:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,5s   7217f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [785:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,5s   7218f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [785:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,6s   7219f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [785:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> Pos: 240,6s   7220f (100%)  49fps Trem:   0min  29mb  A-V:0,030 [785:256] A/Vms MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: audio)
> VDec: vo config çàïðîñèë - 720 x 480 (ïðåäïî÷èòàåìûé csp: Planar YV12)
> Trying filter chain: expand lavc
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect íå îïðåäåë¸í - ïðåìàñøòàáèðîâàíèå íå ïðèìåíÿåòñÿ.

Here's the problem: the lavc encoder is getting reinitialized in the
middle of the encode due to changing header properties in the source
file. Try using lavc for decoding (-vc ffmpeg12) and see if the
problem goes away. This is a bug that needs to be fixed, but I don't
know enough to deal with it.

Rich



More information about the MPlayer-users mailing list