[MPlayer-users] mplayer won't play what I mencoder ed

Krzysztof Duchnowski amidk75 at gmail.com
Sun Nov 4 20:34:44 CET 2007


John Brown pisze:


>> Ok, so does mencoder have a similar restriction?

> I don't think so. Windows Media Player can play my 1-frame MPEG produced by MEncoder.

I've done one JPEG encodings to AVI and to MPEG and it played with 
mplayer just fine:

#####################################################################

mencoder mf://DSCN2023.JPG -mf type=jpeg:fps=5 -vf-add scale=640:480 
-nosound -ovc lavc -lavcopts 
vcodec=mpeg2video:cmp=2:mbd=2:trell:vqscale=31 -vf-add harddup -of mpeg 
-o test.mpg
MEncoder dev-SVN-r24962-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Option lavfopts: Unknown suboption 
i_certify_that_my_video_stream_does_not_use_b_frames
Warning unknown option lavfopts at line 36
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: DSCN2023.JPG*
[mf] number of files: 1 (4)
VIDEO:  [IJPG]  0x0  24bpp  5.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:0x0  fps: 5.00  ftime:=0.2000
PACKET SIZE: 2048 bytes, deltascr: 245760
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=640 h=480]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 2272 x 1704 (preferred colorspace: Planar 422P)
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 16 -> 16
SwScaler: reducing / aligning filtersize 16 -> 16
SwScaler: reducing / aligning filtersize 16 -> 14
SwScaler: reducing / aligning filtersize 30 -> 28
[swscaler @ 0x88ca7f0]SwScaler: BICUBIC scaler, from yuv422p to yuv420p 
using MMX2
[swscaler @ 0x88ca7f0]SwScaler: using n-tap MMX scaler for horizontal 
luminance scaling
[swscaler @ 0x88ca7f0]SwScaler: using n-tap MMX scaler for horizontal 
chrominance scaling
[swscaler @ 0x88ca7f0]SwScaler: using n-tap MMX scaler for vertical 
scaling (YV12 like)
[swscaler @ 0x88ca7f0]SwScaler: 2272x1704 -> 640x480
videocodec: libavcodec (640x480 fourcc=3267706d [mpg2])
[VE_LAVC] High quality encoding selected (non-realtime)!
[VE_LAVC] Using constant qscale = 31.000000 (VBR).
Writing header...
INITV: 0.200, 0.000, fps: 5.000
Pos:   0.2s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Flushing video frames.
Writing index...

Overhead: 63.552% (3979 / 6261)
Writing header...

Video stream:  250.440 kbit/s  (31305 B/s)  size: 6261 bytes  0.200 secs 
  1 frames

#####################################################################

mplayer test.mpg
MPlayer dev-SVN-r24962-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing test.mpg.
libavformat file format detected.
[lavf] Video stream found, -vid 0
VIDEO:  [mpg2]  640x480  0bpp  5.000 fps  104857.2 kbps (12800.0 kbyte/s)
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12  [fs]
V:   0.4   1/  1 ??% ??% ??,?% 0 0

Exiting... (End of file)


#####################################################################


-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list