[MPlayer-users] [BUG] mencoder crashes on second pass
smaje02 at optonline.net
smaje02 at optonline.net
Mon Aug 25 05:16:08 CEST 2003
This is the error that I get when the second pass starts:
mencoder: ratecontrol.c:591: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
This is with CVS dated 8/23/2003
Linux Distro: Red Hat 9.0
Kernel: 2.4.20-20.9
libc: 2.3.2
X: 4.3.0
gcc: 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
ld: 2.13.90.0.18 20030206
as: 2.13.90.0.18 20030206
cpu: Intel(R) Pentium(R) 4 CPU 2.40GHz
video card: on board ATI, ATI Mach 64 based.
video driver: ati
sound card: none (this is my render box.)
This is the command I used to start the second pass:
==========================================
-v dvd://1 -dvd-device ../vob/DVD/VIDEO_TS/ -sws 2 -ofps 23.967 -alang en -oac mp3lame -lameopts vbr=2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:qpel:vbitrate=2500:vmax_b_frames=2:vpass=2 -vop crop=510:288:2:0,scale=512:288 -o out.avi
The following is the gdb output:
(I redirected stout and sterr here)
=======================================
Can't open '/home/beauwulf/.mplayer/codecs.conf': No such file or directory
Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
File not found: 'frameno.avi'
Failed to open frameno.avi
: No such file or directory
libdvdread: Couldn't find device name.
Using SSE optimized IMDCT transform
Using MMX optimized resampler
The selected video_out device is incompatible with this codec.
LAME version 3.93 (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 19548 Hz - 20129 Hz
misc:
scaling: 0.000000
ch0 (left) scaling: 0.000000
ch1 (right) scaling: 0.000000
filter type: 0
quantization: ISO
huffman search: normal
experimental X=0 Y=0 Z=0
...
stream format:
MPEG-1 Layer 3
2 channel - stereo
padding: off
variable bitrate - VBR rh (default)
...
psychoacoustic:
tonality estimation limit: 8871.700195 Hz
using short blocks: allowed
adjust masking: -1.000000 dB
psymodel: 1
noise shaping: 1
^ amplification: 0
^ stopping: 0
ATH: using
^ type: 4
^ adjust type: 3
^ adapt threshold type: 2
using temporal masking effect: yes
interchannel masking ratio: 0.000000
...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
mencoder: ratecontrol.c:591: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
command_file:3: Error in sourced command file:
Cannot access memory at address 0xffffdfe2
language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: en aid: 129
[open] audio stream: 2 audio format: dts (5.1) language: en aid: 138
[open] audio stream: 3 audio format: ac3 (5.1) language: fr aid: 131
[open] number of audio channels on disk: 4.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] subtitle ( sid ): 2 language: fr
[open] subtitle ( sid ): 3 language: fr
[open] number of subtitles on disk: 4
DVD start cell: 0 pack: 0x0-0x1E970
DVD start=0 end=3844557
success: format: 0 data: 0x0 - 0xD54E6800
Selected DVD audio channel: 128 language: en
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x1E970
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x839c6c8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x839c6c8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x839c6c8
Checking for REAL
DEMUXER: freeing demuxer at 0x839c6c8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x839c6c8
DEMUXER: freeing demuxer at 0x839d068
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x839d068
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DEMUXER: freeing demuxer at 0x839d068
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x1E970
Angle-seek synced by cell/vob IDN search!
Checking for PVA
DEMUXER: freeing demuxer at 0x839d068
Checking for TS...
TRIED UP TO POSITION 71095, FOUND 0, packet_size= 71
DVD Seek! lba=0x22 cell=0 packs: 0x0-0x1E970
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x839d068
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x1E970
Angle-seek synced by cell/vob IDN search!
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.97 fps 7701.6 kbps (962.7 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [crop w=510 h=288 x=2 y=0]
Crop: 510 x 288, 2 ; 0
Opening video filter: [scale w=512 h=288]
SwScale params: 512 x 288 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: scale crop expand lavc
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Writing AVI header...
==> Found audio stream: 129
==> Found audio stream: 138
==> Found audio stream: 131
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: scale crop expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: BICUBIC 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: 720x480 -> 512x288
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x400
REQ: flags=0x401 req=0x0
videocodec: libavcodec (510x288 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 4/90 D/B/S 0/1/0
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [crop] Allocating mp_image_t, 512x288x12bpp YUV planar, 221184 bytes
*** [expand] Exporting mp_image_t, 510x288x12bpp YUV planar, 220320 bytes
*** [lavc] Allocating mp_image_t, 510x288x12bpp YUV planar, 220320 bytes
get_path('subfont.ttf') -> '/home/beauwulf/.mplayer/subfont.ttf'
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.003 [0:0] A/Vms 4/69 D/B/S 0/1/0
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.007 [0:0] A/Vms 3/54 D/B/S 0/1/0
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.010 [0:0] A/Vms 3/46 D/B/S 0/1/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.013 [0:0] A/Vms 3/41 D/B/S 0/1/0
Program received signal SIGABRT, Aborted.
[Switching to Thread 1076670112 (LWP 19042)]
0xffffe002 in ?? ()
#0 0xffffe002 in ?? ()
#1 0x42028b93 in abort () from /lib/tls/libc.so.6
#2 0x42020f95 in __assert_fail () from /lib/tls/libc.so.6
#3 0x081bfca5 in ff_rate_estimate_qscale (s=0x8460860) at ratecontrol.c:669
#4 0x0814c058 in encode_picture (s=0x8460860, picture_number=2)
at mpegvideo.c:3439
#5 0x08147fcb in MPV_encode_picture (avctx=0x83e0c40, buf=0x0, buf_size=0,
data=0x0) at mpegvideo.c:1594
#6 0x08143987 in avcodec_encode_video (avctx=0x83e0c40, buf=0x0, buf_size=0,
pict=0x0) at utils.c:340
#7 0x08071edd in put_image (vf=0x83e0b40, mpi=0x6) at ve_lavc.c:561
#8 0x0807f183 in vf_next_put_image (vf=0x0, mpi=0x0) at vf.c:494
#9 0x0807f183 in vf_next_put_image (vf=0x0, mpi=0x0) at vf.c:494
#10 0x0807f183 in vf_next_put_image (vf=0x0, mpi=0x0) at vf.c:494
#11 0x080779df in decode_video (sh_video=0x839fa60, start=0x0, in_size=0,
drop_frame=0) at dec_video.c:327
#12 0x0804d166 in main (argc=0, argv=0x0) at mencoder.c:1081
#13 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Dump of assembler code from 0xffffdfe2 to 0xffffe022:
0xffffdfe2
More information about the MPlayer-users
mailing list