[MPlayer-users] mencoder -chapter suggestion
Steven M. Schultz
sms at 2BSD.COM
Mon Apr 29 02:20:02 CEST 2002
On Sun, 28 Apr 2002, Arpi wrote:
> nope
> mencoder accepts -chapter x-y too
>
Ah, ok. mencoder accepted the "-chapter 2-7" syntax but it stops
encoding at the end of the first chapter.
> will? heh? it's teh same from the beginning.
> the stream,demuxer,decoders,vfilters layers are common
> libao/libvo are mplayer only, encoders are mencoder only
What could cause mencoder to stop at the end of the chapter
'x' when "-chapter x-y" is used?
mplayer -dvd 1 -chapter 2-7
works fine. mencoder stops after 24347 frames (13 minutes or so)
which is just chapter 2. Mencoder/MPlayer say there are 13
chapters so I am puzzled why the encoding does not continue with
chapter 3 thru 7. A navigation problem perhaps?
Not a high priority problem, just a puzzling one.
Cheers,
Steven Schultz
sms at 2bsd.com
-------------- next part --------------
+++++++++++++++++ START PASS 1 +++++++++++++++++++++++++++++++++
MEncoder CVS-020428-15:07-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 1)
Reading /users/sms/.mplayer/codecs.conf: can't open '/users/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
font: can't open file: /users/sms/.mplayer/font/font.desc
File not found: 'frameno.avi'
get_path('') -> '/users/sms/.mplayer/'
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Not an URL!
get_path('DVDKeys') -> '/users/sms/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: lpcm language: unknown aid: 160
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0 pack: 0x392D-0x3BA33
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
DVD start=14637 end=-1
success: format: 0 data: 0x1C96800 - 0xFFFFF800
Angle-seek synced! skip=0 new_lba=0x392D
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8371000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8371000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8371000
Checking for MOV
DEMUXER: freeing demuxer at 0x8371000
Checking for VIVO
DEMUXER: freeing demuxer at 0x8371000
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x8371000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8371000
DEMUXER: freeing demuxer at 0x8371000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8371000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8371000
DEMUXER: freeing demuxer at 0x8371000
system stream synced at 0x1C9680D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 160
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Detected audio codec: [dvdpcm] drv:8 (Uncompressed DVD PCM)
Initializing audio codec...
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
Selecting Audio Decoder: [dvdpcm] Uncompressed DVD PCM audio decoder
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 192000->192000
LAME version 3.91 (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: auto
variable bitrate - ABR
...
psychoacoustic:
tonality estimation limit: 8871.700195 Hz
using short blocks: allowed
adjust masking: 0.000000 dB
psymodel: 1
noise shaping: 1
^ amplification: 0
^ stopping: 0
ATH: using
^ type: 2
^ adjust type: 0
^ adapt threshold type: 2
using temporal masking effect: yes
...
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 8/0 D/S 0/0
MP3 audio selected
Writing AVI header...
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:-0.003 [0:0] A/Vms 8/0 D/S 0/0
... ~24000 lines deleted ...
Pos: 811.8s 24328f ( 0%) 60fps Trem: 0min 0mb A-V:-0.029 [0:218] A/Vms 10/0 D/S 1/0
Pos: 811.8s 24329f ( 0%) 60fps Trem: 0min 0mb A-V:-0.029 [0:218] A/Vms 10/0 D/S 1/0
--- END OF CELL !!! ---
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 811.8s 24330f ( 0%) 60fps Trem: 0min 0mb A-V:-0.032 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 811.9s 24331f ( 0%) 60fps Trem: 0min 0mb A-V:-0.035 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 811.9s 24332f ( 0%) 60fps Trem: 0min 0mb A-V:-0.038 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 811.9s 24333f ( 0%) 60fps Trem: 0min 0mb A-V:-0.042 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.0s 24334f ( 0%) 60fps Trem: 0min 0mb A-V:-0.045 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.0s 24335f ( 0%) 60fps Trem: 0min 0mb A-V:-0.048 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.0s 24336f ( 0%) 60fps Trem: 0min 0mb A-V:-0.052 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.1s 24337f ( 0%) 60fps Trem: 0min 0mb A-V:-0.055 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.1s 24338f ( 0%) 60fps Trem: 0min 0mb A-V:-0.058 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.1s 24339f ( 0%) 60fps Trem: 0min 0mb A-V:-0.062 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.2s 24340f ( 0%) 60fps Trem: 0min 0mb A-V:-0.065 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.2s 24341f ( 0%) 60fps Trem: 0min 0mb A-V:-0.068 [0:218] A/Vms 10/0 D/S 1/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.3s 24342f ( 0%) 60fps Trem: 0min 0mb A-V:-0.038 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.3s 24343f ( 0%) 60fps Trem: 0min 0mb A-V:-0.042 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.3s 24344f ( 0%) 60fps Trem: 0min 0mb A-V:-0.045 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.4s 24345f ( 0%) 60fps Trem: 0min 0mb A-V:-0.048 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.4s 24346f ( 0%) 60fps Trem: 0min 0mb A-V:-0.052 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Pos: 812.4s 24347f ( 0%) 60fps Trem: 0min 0mb A-V:-0.055 [0:218] A/Vms 10/0 D/S 2/0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
Writing AVI index...
Fixup AVI header...
Recommended video bitrate for 650MB CD: 6477
Recommended video bitrate for 700MB CD: 6993
Recommended video bitrate for 800MB CD: 8026
Video stream: 0.959 kbit/s (119 bps) size: 97388 bytes 812.448 secs 24347 frames
Audio stream: 218.748 kbit/s (27343 bps) size: 22228992 bytes 812.952 secs
*** free_stream() called ***
################# END PASS 1 ######################
+++++++++++++++++ START PASS 2 +++++++++++++++++++++++++++++++++
MEncoder CVS-020428-15:07-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 1)
Reading /users/sms/.mplayer/codecs.conf: can't open '/users/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
font: can't open file: /users/sms/.mplayer/font/font.desc
Detected AVI file format!
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Not an URL!
VIDEO: [FrNo] 0x0 24bpp 29.97 fps 219.5 kbps (26.8 kbyte/s)
list_end=0x146
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
list_end=0xD4
list_end=0x146
list_end=0x15BCFE8
get_path('') -> '/users/sms/.mplayer/'
Using pass3 control file: frameno.avi
get_path('DVDKeys') -> '/users/sms/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: lpcm language: unknown aid: 160
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0 pack: 0x392D-0x3BA33
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
DVD start=14637 end=0
success: format: 0 data: 0x1C96800 - 0x0
Angle-seek synced! skip=0 new_lba=0x392D
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8541000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8541000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8541000
Checking for MOV
DEMUXER: freeing demuxer at 0x8541000
Checking for VIVO
DEMUXER: freeing demuxer at 0x8541000
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DEMUXER: freeing demuxer at 0x8541000
system stream synced at 0x1C9680D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Opening video filter 'scale' with args '640:480'...
libavcodec: CPU flags: mmx mmxext sse
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter 'crop' with args '704:472'...
SwScale: 640 x 480
==========================================================================
Crop: 704 x 472, -1 ; -1
VDec: vo config request - 720 x 480, Mpeg PES
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
SwScale: -1 x -1
Sorry, selected video_out device is incompatible with this codec.
VDec: vo config request - 720 x 480, Planar YV12
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
[PP] Sorry, postprocessing is not available
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar YV12) returned 0x441 (i=0)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar I420) returned 0x441 (i=1)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar IYUV) returned 0x441 (i=2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(720x480->720x540,flags=0,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
crop->config() called
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
scale: query(BGR 32-bit) -> 0
REQ: flags=0x441 req=0x400
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
SwScale scaling 704x472 Planar YV12 to 640x480 Planar YV12
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 4 -> 4
SwScaler: reducing / aligning filtersize 4 -> 4
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: 704x472 -> 640x480
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
crop->config() return 1
==========================================================================
XXX initial v_pts=0.000 a_pos=13344 (0.504)
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=27344 sample=0)
Writing AVI header...
*** [crop] 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 0/8 D/S 0/0
==> Found audio stream: 160
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [scale] Exporting mp_image_t, 704x472x12bpp YUV planar, 498432 bytes
*** [lavc] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
*** [expand] Direct Rendering mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/56 D/S 0/0
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/62 D/S 0/0
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 1/63 D/S 0/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 1/62 D/S 0/0
... ~24000 lines deleted ...
Pos: 812.3s 24344f ( 0%) 12fps Trem: 0min 0mb A-V:0.000 [998:218] A/Vms 0/72 D/S 2/0
Pos: 812.4s 24345f ( 0%) 12fps Trem: 0min 0mb A-V:0.000 [998:218] A/Vms 0/72 D/S 2/0
Pos: 812.4s 24346f ( 0%) 12fps Trem: 0min 0mb A-V:0.000 [998:218] A/Vms 0/72 D/S 2/0
ds_fill_buffer: EOF reached (stream: video)
Pos: 812.4s 24347f ( 0%) 12fps Trem: 0min 0mb A-V:0.000 [998:218] A/Vms 0/72 D/S 2/0
Writing AVI index...
Fixup AVI header...
Video stream: 998.159 kbit/s (124769 bps) size: 101369082 bytes 812.448 secs 24347 frames
Audio stream: 218.748 kbit/s (27343 bps) size: 22228320 bytes 812.928 secs
*** free_stream() called ***
################# END PASS 2 ######################
+++++++++++++++++ START PASS 3 +++++++++++++++++++++++++++++++++
MEncoder CVS-020428-15:07-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 1)
Reading /users/sms/.mplayer/codecs.conf: can't open '/users/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
font: can't open file: /users/sms/.mplayer/font/font.desc
Detected AVI file format!
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Not an URL!
VIDEO: [FrNo] 0x0 24bpp 29.97 fps 219.5 kbps (26.8 kbyte/s)
list_end=0x146
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
list_end=0xD4
list_end=0x146
list_end=0x15BCFE8
get_path('') -> '/users/sms/.mplayer/'
Using pass3 control file: frameno.avi
get_path('DVDKeys') -> '/users/sms/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: lpcm language: unknown aid: 160
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0 pack: 0x392D-0x3BA33
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
DVD start=14637 end=0
success: format: 0 data: 0x1C96800 - 0x0
Angle-seek synced! skip=0 new_lba=0x392D
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8541000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8541000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8541000
Checking for MOV
DEMUXER: freeing demuxer at 0x8541000
Checking for VIVO
DEMUXER: freeing demuxer at 0x8541000
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DVD Seek! lba=0x392D cell=0 packs: 0x392D-0x3BA33
Angle-seek synced! skip=0 new_lba=0x392D
DEMUXER: freeing demuxer at 0x8541000
DEMUXER: freeing demuxer at 0x8541000
system stream synced at 0x1C9680D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Opening video filter 'scale' with args '640:480'...
libavcodec: CPU flags: mmx mmxext sse
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter 'crop' with args '704:472'...
SwScale: 640 x 480
==========================================================================
Crop: 704 x 472, -1 ; -1
VDec: vo config request - 720 x 480, Mpeg PES
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
SwScale: -1 x -1
Sorry, selected video_out device is incompatible with this codec.
VDec: vo config request - 720 x 480, Planar YV12
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
[PP] Sorry, postprocessing is not available
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar YV12) returned 0x441 (i=0)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar I420) returned 0x441 (i=1)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
vo_debug: query(Planar IYUV) returned 0x441 (i=2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(720x480->720x540,flags=0,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
crop->config() called
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
scale: query(BGR 32-bit) -> 0
REQ: flags=0x441 req=0x400
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(Planar YV12) -> 1
scale: query(Planar I420) -> 1
scale: query(Planar IYUV) -> 1
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
SwScale scaling 704x472 Planar YV12 to 640x480 Planar YV12
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 4 -> 4
SwScaler: reducing / aligning filtersize 4 -> 4
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: 704x472 -> 640x480
REQ: flags=0x401 req=0x0
REQ: flags=0x401 req=0x0
videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
crop->config() return 1
==========================================================================
XXX initial v_pts=0.000 a_pos=13344 (0.504)
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=27344 sample=0)
Writing AVI header...
*** [crop] 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 0/8 D/S 0/0
==> Found audio stream: 160
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [scale] Exporting mp_image_t, 704x472x12bpp YUV planar, 498432 bytes
*** [lavc] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
*** [expand] Direct Rendering mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/24 D/S 0/0
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/35 D/S 0/0
*** [crop] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/41 D/S 0/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/44 D/S 0/0
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms 0/47 D/S 0/0
... ~24000 lines deleted ...
Pos: 812.3s 24344f ( 0%) 13fps Trem: 0min 0mb A-V:0.000 [1000:218] A/Vms 0/70 D/S 2/0
Pos: 812.4s 24345f ( 0%) 13fps Trem: 0min 0mb A-V:0.000 [999:218] A/Vms 0/70 D/S 2/0
Pos: 812.4s 24346f ( 0%) 13fps Trem: 0min 0mb A-V:0.000 [1000:218] A/Vms 0/70 D/S 2/0
ds_fill_buffer: EOF reached (stream: video)
Pos: 812.4s 24347f ( 0%) 13fps Trem: 0min 0mb A-V:0.000 [1000:218] A/Vms 0/70 D/S 2/0
Writing AVI index...
Fixup AVI header...
Video stream: 1000.001 kbit/s (125000 bps) size: 101556167 bytes 812.448 secs 24347 frames
Audio stream: 218.748 kbit/s (27343 bps) size: 22228320 bytes 812.928 secs
*** free_stream() called ***
################# END PASS 3 ######################
-------------- next part --------------
#!/bin/sh
rm -f frameno.avi
mencoder -v -dvd 1 -chapter 2-7 -vop scale=640:480,crop=704:472 -sws 2 \
-oac mp3lame -lameopts vbr=3:br=224:q=4 \
-ovc frameno -o frameno.avi
mencoder -v -dvd 1 -chapter 2-7 -vop scale=640:480,crop=704:472 -sws 2 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:keyint=150:vpass=1 \
-oac copy -lameopts vbr=3:br=224:q=4 -o title1.avi
mencoder -v -dvd 1 -chapter 2-7 -vop scale=640:480,crop=704:472 -sws 2 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:keyint=150:vpass=2 \
-oac copy -lameopts vbr=3:br=224:q=4 -o title1.avi
More information about the MPlayer-users
mailing list