[MPlayer-users] mencoder output is to test.avi despite another name being passed

J. Grant jg at jguk.org
Wed Jul 21 01:26:34 CEST 2004


Hello,

I wonder if someone can help me understand something..  My command line
should write to "have_i2.avi" and should cut off the first 15 seconds by
my understanding.  Unfortunately mencoder writes to "test.avi", and does
not skip the first seconds.

I have mencoder working converting another dvd which I did as a two pass
encode xvid/mp3lame etc, that also wrote to test.avi.

Help appreciated.
Regards
JG


$ mencoder -v dvd://2 -ovc xvid -xvidencopts bitrate=1600 -vf
scale=704:400,dsize=1.76 -oac mp3lame -lameopts cbr br=128 -ss 15 -o
have_i2.avi
MEncoder dev-CVS-040531-00:39-3.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1198 MHz (Family: 6,
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/now3d/.mplayer/codecs.conf: Can't open
'/home/now3d/.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.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/now3d/.mplayer/mencoder: No such file or directory
init_freetype
get_path('font/font.desc') -> '/home/now3d/.mplayer/font/font.desc'
font: can't open file: /home/now3d/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('DVDKeys') -> '/home/now3d/.mplayer/DVDKeys'
Reading disc structure, please wait...
*** Zero check failed in ifo_read.c:311
     for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
There are 2 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: unknown aid: 128
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0  pack: 0x0-0x24B9
DVD start=0 end=511918
success: format: 0  data: 0x0 - 0x3E7D7000
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x24B9
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8634980
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8634980
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x8634980
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8634980
Checking for REAL
DEMUXER: freeing demuxer at 0x8634980
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8634980
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
Searching demuxer type for filename dvd://2 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x8635320
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing demuxer at 0x8635320
Checking for PVA
DEMUXER: freeing demuxer at 0x8635320
Checking for MPEG-TS...
TRIED UP TO POSITION 68998, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x21  cell=0  packs: 0x0-0x24B9
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x8635320
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x24B9
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
DEMUXER: freeing demuxer at 0x8635320
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  704x576  (aspect 2)  25.000 fps  9578.8 kbps (1197.3 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:704x576  fps:25.00  ftime:=0.0400
==========================================================================
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 3DNowEx optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  256.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: 32000->192000 (256.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
xvid: using library version 1.0.-123 (build xvid-1.0.0)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [dsize=1.76]
Opening video filter: [scale w=704 h=400]
SwScale params: 704 x 400 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 704 x 576 (preferred csp: Mpeg PES)
Trying filter chain: scale dsize expand xvid
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))
==========================================================================
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...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
LAME version 3.96  (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 17226 Hz - 17806 Hz

misc:

         scaling: 0.95
         ch0 (left) scaling: 0
         ch1 (right) scaling: 0
         filter type: 0
         quantization: xr^3/4
         huffman search: normal
         experimental Y=0
         ...

stream format:

         MPEG-1 Layer 3
         2 channel - joint stereo
         padding: off
         constant bitrate - CBR
         ...

psychoacoustic:

         using psychoacoustic model: 1
         psychoacoustic model: NSPsytune
         tonality estimation limit: 8871.700195 Hz (not relevant)
         using short blocks: channel coupled
         subblock gain: 1
         adjust masking: 0 dB
         adjust masking short: 0 dB
         quantization comparison: 9
          ^ comparison short blocks: 9
         noise shaping: 2
          ^ amplification: 0
          ^ stopping: 0
         ATH: using
          ^ type: 4
          ^ shape: 5 (only for type 4)
          ^ level adjustement: 0
          ^ adjust type: 0
          ^ adjust sensitivity power: 0
          ^ adapt threshold type: 2
         experimental psy tunings by Naoki Shibata
            adjust masking bass=-6 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
         using temporal masking effect: yes
         interchannel masking ratio: 0.0002
         ...

VDec: vo config request - 704 x 576 (preferred csp: Planar YV12)
Trying filter chain: scale dsize expand xvid
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (704x576->768x576,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 704x576 -> 704x400
REQ: flags=0x403  req=0x0
REQ: flags=0x403  req=0x0
REQ: flags=0x3  req=0x0
videocodec: XviD (704x400 fourcc=44495658 [XVID])
xvid: CBR Rate Control -- bitrate=1600kbit/s
*** [scale] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [scale] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256
bytess 5/65 D/B/S 0/1/0
*** [xvid] Allocating mp_image_t, 704x400x12bpp YUV planar, 422400 bytes
*** [expand] Direct Rendering mp_image_t, 704x400x12bpp YUV planar,
422400 bytes
get_path('subfont.ttf') -> '/home/now3d/.mplayer/subfont.ttf'
Unicode font: 189 glyphs.
*** [scale] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256
bytess 6/83 D/B/S 0/1/0
Pos:   2.6s     68f ( 0%)   4fps Trem: 142min 162mb  A-V:0.057 [762:127]
A/Vms 7/206 D/B/S 0/1/0

CBR audio: 16000 bytes/sec, 384 bytes/block

Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 16384:9309.

Video stream:  762.354 kbit/s  (95294 bps)  size: 247765 bytes  2.600
secs  68 frames

Audio stream:  128.000 kbit/s  (15999 bps)  size: 49152 bytes  3.072 secs
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x8635320
DEMUXER: freeing sh_video at 0x8635cc0
DEMUXER: freeing sh_audio at 0x86407d8





More information about the MPlayer-users mailing list