[MPlayer-users] mencoder not doing the business
Nico Sabbi
nicola_sabbi at fastwebnet.it
Sun May 13 15:53:13 CEST 2007
Stuart Halliday wrote:
>Hehe.
>Ok here is the visible output.....
>
>Hope it helps.
>---------------------------------------------------------------------------
>set out=video.mpg
>mencoder "r:\dvds\video2.avi" -oac lavc -ovc lavc -of mpeg -mpegopts
>format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000
>-lavcopts
>vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=4/3:acodec=ac3:abitrate=192
>
>
>-ofps 25 -o %out%
>
>
>000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000
>:keyint=15:aspect=4/3:acodec=ac3:abitrate=192 -ofps 25 -o out2_video.mpg
>MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
>CPU: AMD Athlon(tm) XP 2800+ (Family: 6, Model: 10, Stepping: 0)
>CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
>Compiled with runtime CPU detection.
>success: format: 0 data: 0x0 - 0x0
>AVI file format detected.
>VIDEO: [] 352x576 24bpp 25.000 fps 4172.4 kbps (509.3 kbyte/s)
>[V] filefmt:3 fourcc:0x0 size:352x576 fps:25.00 ftime:=0.0400
>==========================================================================
>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
>Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
>==========================================================================
>PACKET SIZE: 2048 bytes, deltascr: 43885
>Opening video filter: [expand osd=1]
>Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
>Opening video filter: [harddup]
>Opening video filter: [scale w=720 h=576]
>==========================================================================
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>The selected video_out device is incompatible with this codec.
>Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
>VDecoder init failed :(
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>The selected video_out device is incompatible with this codec.
>Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
>VDecoder init failed :(
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>The selected video_out device is incompatible with this codec.
>Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
>VDecoder init failed :(
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>The selected video_out device is incompatible with this codec.
>Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
>VDecoder init failed :(
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>The selected video_out device is incompatible with this codec.
>Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
>VDecoder init failed :(
>Opening video decoder: [raw] RAW Uncompressed Video
>VDec: vo config request - 352 x 576 (preferred colorspace: BGR 24-bit)
>VDec: using BGR 24-bit as output csp (no 0)
>Opening video filter: [flip]
>Movie-Aspect is undefined - no prescaling applied.
>SwScaler: reducing / aligning filtersize 5 -> 4
>SwScaler: reducing / aligning filtersize 5 -> 4
>SwScaler: reducing / aligning filtersize 1 -> 1
>SwScaler: reducing / aligning filtersize 9 -> 8
>
>
all these reinits look suspicious to me
>SwScaler: BICUBIC scaler, from bgr24 to yuv420p using MMX2
>SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
>SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
>SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
>SwScaler: 352x576 -> 720x576
>videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
>Selected video codec: [rawbgr24flip] vfm: raw (RAW BGR24)
>==========================================================================
>Limiting audio preload to 0.4s.
>Increasing audio density to 4.
>New_Face failed. Maybe the font path is wrong.
>Please supply the text font file (~/.mplayer/subfont.ttf).
>subtitle font: load_sub_face failed.
>Writing header...
>INITV: 0.200, 0.160, fps: 25.000
>Pos: 138.5s 3462f (99%) 28.25fps Trem: 0min 87mb A-V:0.040 [5001:191]
>Flushing video frames
>Writing index...
>
>Overhead: 2.562% (386159783736190393 / 94433823894929440)
>Writing header...
>
>Video stream: 5001.815 kbit/s (625226 B/s) size: 86581415 bytes 138.480 secs
> 3462 frames
>
>Audio stream: 192.000 kbit/s (23999 B/s) size: 3333888 bytes 138.912 secs
>
>---------------------------------------------------------------------------
>
>The resultant file Memcoder made is only 90,052K long.
>The created mpg is 02:18 minutes long.
>
>The original avi is 45,842,046KB and is 50:51 mins long
>
>
>
>
can the original avi be entirely played or does it quit at 2m18s?
it looks like mencoder can't decode it past that point
More information about the MPlayer-users
mailing list