[MPlayer-users] Problem with mencoder
mslama at email.cz
mslama at email.cz
Wed Aug 13 14:01:25 CEST 2003
Hi,
I use mplayer complied from CVS snapshot MPlayer-20030812 (FFMPEG 0812). I want to
encode some vobs from DVD. First pass seems ok.
cat *.vob | nice -+19 mencoder -aid 128 -ovc frameno -oac mp3lame -lameopts vbr=3 -o frameno.avi -
(some frames are skipped)
When I start second pass to encode video
it stops around 0.4s and always creates short piece. A lot of skipped frames:
(just small part for preview)
mencoder -o test.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vhq:autoaspect:vbitrate=1000 -ss 2:00 -endpos 0:05 DVDVOLUME1-2.vob
mencoder -o test.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vhq:autoaspect:vbitrate=1000 -ss 2:00 -endpos 0:05 DVDVOLUME1-2.vob
(there are 2 vobs, no diff if I try first or second).
[dvd]> mencoder -o test.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vhq:autoaspect:vbitrate=1000 -ss 2:00 -endpos 0:10 DVDVOLUME1-2.vob
MEncoder dev-CVS-030812-06:00-3.2 (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading /home/ms124458/.mplayer/codecs.conf: Can't open '/home/ms124458/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
AVI file format detected.
VIDEO: [FrNo] 720x576 24bpp 25.00 fps 0.8 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /home/ms124458/.mplayer/mencoder: No such file or directory
success: format: 0 data: 0x0 - 0x62485800
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
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: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
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))
==========================================================================
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=14295 sample=0)
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0.0s 1f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 3f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 5f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 7f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 9f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 11f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 15f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 17f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 19f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 21f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 25f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 27f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 29f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 31f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 35f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 37f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 39f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 41f ( 4%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 45f ( 4%) 0fps Trem: 0min 1mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 47f ( 4%) 0fps Trem: 0min 1mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 49f ( 4%) 0fps Trem: 0min 1mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 51f ( 4%) 0fps Trem: 0min 1mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 55f ( 4%) 0fps Trem: 0min 2mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 57f ( 4%) 0fps Trem: 0min 2mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 59f ( 4%) 58fps Trem: 0min 2mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 61f ( 4%) 58fps Trem: 0min 2mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 65f ( 4%) 55fps Trem: 0min 3mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 67f ( 4%) 56fps Trem: 0min 3mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 69f ( 4%) 57fps Trem: 0min 3mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 71f ( 4%) 57fps Trem: 0min 3mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 75f ( 4%) 55fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 77f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 79f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 81f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 85f ( 4%) 55fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 87f ( 4%) 55fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 89f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.3s 91f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 95f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 97f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 99f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 101f ( 4%) 57fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 103f ( 4%) 57fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 107f ( 4%) 56fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 109f ( 4%) 57fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 111f ( 4%) 57fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 113f ( 4%) 57fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 115f ( 4%) 58fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 117f ( 4%) 58fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 119f ( 4%) 58fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 121f ( 4%) 58fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 123f ( 4%) 59fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 125f ( 4%) 59fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 127f ( 4%) 59fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 129f ( 4%) 59fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 131f ( 4%) 60fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 133f ( 4%) 60fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 135f ( 4%) 60fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 137f ( 4%) 60fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 139f ( 4%) 60fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 141f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 143f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 145f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 147f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 149f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 151f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 153f ( 4%) 61fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 155f ( 4%) 62fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 157f ( 4%) 62fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 159f ( 4%) 62fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 161f ( 4%) 62fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 163f ( 4%) 62fps Trem: 0min 4mb A-V:0.000 [0:0]
Skipping frame!
...
skip
...
Skipping frame!
Pos: 0.4s 497f ( 5%) 70fps Trem: 2min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 499f ( 5%) 70fps Trem: 2min 4mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.4s 500f ( 5%) 70fps Trem: 2min 4mb A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...
Video stream: 4309.380 kbit/s (538672 bps) size: 215469 bytes 0.400 secs 500 frames
Audio stream: 113.263 kbit/s (14157 bps) size: 12912 bytes 0.912 secs
mplayer works fine with the same vob output of mplayer -v:
[dvd]> mplayer -v DVDVOLUME1-1.vob
MPlayer dev-CVS-030812-06:00-3.2 (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/ms124458/.mplayer/config
[cfg] read config file: /home/ms124458/.mplayer/gui.conf
Reading config file /home/ms124458/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/ms124458/.mplayer/codecs.conf: Can't open '/home/ms124458/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' 'DVDVOLUME1-1.vob'
get_path('font/font.desc') -> '/home/ms124458/.mplayer/font/font.desc'
Font /home/ms124458/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/ms124458/.mplayer/input.conf'
Can't open input config file /home/ms124458/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
get_path('Skin') -> '/home/ms124458/.mplayer/Skin'
SKIN dir 1: '/home/ms124458/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
get_path('DVDVOLUME1-1.vob.conf') -> '/home/ms124458/.mplayer/DVDVOLUME1-1.vob.conf'
Playing /mnt/local/mslama/dvd/DVDVOLUME1-1.vob
Not an URL!
[file] File size is 2147473408 bytes
STREAM: [file] /mnt/local/mslama/dvd/DVDVOLUME1-1.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8598a40
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8598a40
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8598a40
Checking for REAL
DEMUXER: freeing demuxer at 0x8598a40
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8598a40
DEMUXER: freeing demuxer at 0x85992a8
Searching demuxer type for filename /mnt/local/mslama/dvd/DVDVOLUME1-1.vob ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 131
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/ms124458/.mplayer/sub/'
get_path('default.sub') -> '/home/ms124458/.mplayer/default.sub'
==========================================================================
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
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
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))
==========================================================================
Checking 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
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 4/4 (16384 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
==> Found audio stream: 130
==> Found audio stream: 128
==> Found audio stream: 129
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 55 for hw scaling
[xv] dx: 0 dy: 0 dw: 768 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 768 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
[x11] NET style stay on top ( layer 0 ). Using state _NET_WM_STATE_STAYS_ON_TOP.
MPlayer interrupted by signal 2 in module: key_events
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x85992a8
DEMUXER: freeing sh_video at 0x8599c88
DEMUXER: freeing sh_audio at 0x85b44d0
DEMUXER: freeing sh_audio at 0x85b4578
DEMUXER: freeing sh_audio at 0x85b4428
DEMUXER: freeing sh_audio at 0x85b4358
[gui] done.
get_path('gui.conf') -> '/home/ms124458/.mplayer/gui.conf'
get_path('gui.pl') -> '/home/ms124458/.mplayer/gui.pl'
get_path('gui.url') -> '/home/ms124458/.mplayer/gui.url'
get_path('gui.history') -> '/home/ms124458/.mplayer/gui.history'
I interrupted playing by Ctrl-C.
Is anything I could do to fix this?
Thanks
Marek.
----------> Created by Email.cz http://www.email.cz <---------- Get Your Free Email
More information about the MPlayer-users
mailing list