[MPlayer-users] Creating and playing MPEG stll images

John Brown johnbrown105 at hotmail.com
Mon Feb 6 13:19:02 CET 2006



>From: Reimar at mplayerhq.hu,Dffinger > I cannot play MPEG still images in 
>with MPlayer. I tried -idle, -loop 0
>
>I think it works with -vfm ffmpeg - at least it did last time I tried.

-vfm ffmpeg did not work for me. I should add that I have 3 different
MPEG still images:

1) 704x480 SVCD mpeg created by me using MEncoder -mf:// etc
2) 704x480 SVCD mpeg created by me using mjpegtools using the following
   command lines in a Windows batch file:
   jpeg2yuv -v 0 -f 29.97 -j %1 -I p -n 1 | mpeg2enc -v 0 -a 2 -T 200
            -n   n -f 7 -o %1.m2v
    mplex -v 0 -f 7 -o %2 %1.m2v
3) Main menu from the demo VCD (352x240 mpeg)

The results of "mplayer -vfm ffmpeg -idle -fixed-vo <filename> are:
1) The MPlayer window does not appear:

Playing menu.mpg.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  2500.0 kbps (312.5 kbyte/s)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0   0/  0 ??% ??% ??,?% 0 0

2) An MPlayer window with blue, green and red horizontal bars appears.

Playing menu1.mpg.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  2500.0 kbps (312.5 kbyte/s)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 704 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: [directx] 704x480 => 704x528 Planar YV12

3) Horizontal bars similar to (2) aligned on the right edge of the window.
   They take up about 1/4 of the width of the window. The rest of the
   window is green.

Playing item0001.mpg.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG1  352x240  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 352 x 240 (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: [directx] 352x240 => 352x264 Planar YV12
V:   0.0   1/  1 ??% ??% ??,?% 0 0


While all 3 can be displayed in MS Media Player (with the demo mpeg being
the best - the progress slider does not move), the one that was used
on the SVCD was (2), the one created with mjpegtools, because I took
those commands from a web page specifically explaining how to create
MPEG still images for (S)VCD menus. I incorrectly stated that I used the 
MEncoder
mpeg.





More information about the MPlayer-users mailing list