[MEncoder-users] mencoder dies with "Assertion `pict_type == rce->new_pict_type' failed"

Sebastian sebastian_ml at gmx.net
Wed May 11 03:17:34 CEST 2005


Rich Felker schrieb:
> On Tue, May 10, 2005 at 09:51:31AM +0200, Sebastian wrote:
> 
>>Hi there!
>>
>>I'm trying to encode a video with lavc. The first pass already went
>>fine, but the second keeps crashing. I'm using mplayer CVS.
> 
> 
> You left out the most important information: mencoder output.
> Especially, what version?
> 
> Rich
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
> 
> 

Hi Rich!


mencoder dvd:// -dvd-device SO -nosound -vf
crop=702:318:10:126,scale=640:272 -ovc lavc -lavcopts
vmax_b_frames=2:vb_strategy=1:vcodec=mpeg4:vbitrate=956:mbd=2:vlelim=-4:vcelim=9:vpass=2:qpel
-o so3.avi -sws 9 -v
MEncoder dev-CVS-050510-13:47-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
get_path('font/font.desc') -> '/home/sk/.mplayer/font/font.desc'
font: can't open file: /home/sk/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
libdvdread: Couldn't find device name.
Reading disc structure, please wait...
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
There are 3 titles on this DVD.
There are 17 chapters in this DVD title.
There are 1 angles in this DVD title.
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
get_path('DVDKeys') -> '/home/sk/.mplayer/DVDKeys'
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: de aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: it aid: 130
[open] audio stream: 3 audio format: ac3 (stereo) language: es aid: 131
[open] audio stream: 4 audio format: ac3 (mono) language: pl aid: 132
[open] audio stream: 5 audio format: ac3 (stereo) language: cs aid: 133
[open] number of audio channels on disk: 6.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: pt
[open] subtitle ( sid ): 2 language: da
[open] subtitle ( sid ): 3 language: nl
[open] subtitle ( sid ): 4 language: no
[open] subtitle ( sid ): 5 language: de
[open] number of subtitles on disk: 6
DVD start cell: 0  pack: 0x0-0x126B9
DVD start=0 end=2272564
success: format: 0  data: 0x0 - 0x1569a000
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x126B9
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd:// ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x126B9
Angle-seek synced by cell/vob IDN search!
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 101978, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x31  cell=0  packs: 0x0-0x126B9
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x126B9
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
dvd_next_cell: next1=0x4
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
DVD Seek! lba=0x11561F  cell=8  packs: 0x113A38-0x123EED
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 128
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
dvd_next_cell: next1=0x4
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
dvd_next_cell: next1=0x9
dvd_next_cell: next2=0x9
dvd_next_cell: next3=0xA
dvd_next_cell: next1=0xA
dvd_next_cell: next2=0xA
dvd_next_cell: next3=0xB
dvd_next_cell: next1=0xB
dvd_next_cell: next2=0xB
dvd_next_cell: next3=0xC
dvd_next_cell: next1=0xC
dvd_next_cell: next2=0xC
dvd_next_cell: next3=0xD
dvd_next_cell: next1=0xD
dvd_next_cell: next2=0xD
dvd_next_cell: next3=0xE
dvd_next_cell: next1=0xE
dvd_next_cell: next2=0xE
dvd_next_cell: next3=0xF
DVD Seek! lba=0x22AC3F  cell=15  packs: 0x215EB8-0x22AD34
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
dvd_next_cell: next1=0xF
dvd_next_cell: next2=0xF
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x126B9
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=640 h=272]
SwScale params: 640 x 272 (-1=no scaling)
Opening video filter: [crop w=702 h=318 x=10 y=126]
Crop: 702 x 318, 10 ; 126
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: crop scale expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale crop scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Trying filter chain: crop scale expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x441  req=0x400
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 9 -> 7
SwScaler: reducing / aligning filtersize 9 -> 7

SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 702x318 -> 640x272
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x0
videocodec: libavcodec (640x272 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
*** [crop] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/163*** [crop] Allocating mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
Pos:   0.0s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/109*** [scale] Exporting mp_image_t, 702x318x12bpp YUV planar,
334854 bytes
*** [lavc] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
*** [expand] Direct Rendering mp_image_t, 640x272x12bpp YUV planar,
261120 bytes
1 duplicate frame(s)!
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos:   0.0s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/818*** [crop] Allocating mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
Pos:   0.0s      4f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/656ODML: Aspect information not (yet?) available or unspecified,
not writing vprp header.
Pos:   0.1s      5f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/546Pos:   0.1s      6f ( 0%)   0fps Trem:   0min   0mb
A-V:0.000 [0:0] A/Vms 0/469Pos:   0.2s      7f ( 0%)   0fps Trem:   0min
  0mb  A-V:0.000 [0:0] A/Vms 0/411Pos:   0.2s      8f ( 0%)   0fps Trem:
  0min   0mb  A-V:0.000 [0:0] A/Vms 0/366Pos:   0.2s      9f ( 0%)
0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 0/330Pos:   0.3s     10f
( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 0/301Pos:   0.3s
    11f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 0/276Pos:
  0.4s     12f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms
0/255Pos:   0.4s     13f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000
[0:0] A/Vms 0/238Pos:   0.4s     14f ( 0%)   0fps Trem:   0min   0mb
A-V:0.000 [0:0] A/Vms 0/222Pos:   0.5s     15f ( 0%)   0fps Trem:   0min
  0mb  A-V:0.000 [0:0] A/Vms 0/209Pos:   0.5s     16f ( 0%)   0fps Trem:
  0min   0mb  A-V:0.000 [0:0] A/Vms 0/197
*/snip*/
Pos: 526.1s  13155f ( 5%)  24fps Trem: 140min 1237mb  A-V:0.000 [1181:0]
A/Vms 0
mencoder: ratecontrol.c:661: ff_rate_estimate_qscale: Assertion
`pict_type == rce->new_pict_type' failed.
Abgebrochen

Cheers

Sebastian




More information about the MEncoder-users mailing list