[MPlayer-users] Can't specify some raw video formats.
Andy Furniss
andyqos at ukfsn.org
Mon Feb 4 23:05:50 CET 2013
I am trying to play a certain raw video file, but I can't get many of
the advertised format strings to be recognised.
mplayer -rawvideo format=help
Available formats: 444p16le 444p16be 444p14le 444p14be 444p12le 444p12be
444p10le 444p10be 444p9le 444p9be 422p16le 422p16be 422p14le 422p14be
422p12le 422p12be 422p10le 422p10be 422p9le 422p9be 420p16le 420p16be
420p10le 420p10be 420p9le 420p9be 444p16 422p16 422p10 420p16 420p10
420p9 444a 422a 420a 444p 422p 411p 440p yuy2 yvyu uyvy yvu9 if09 yv12
i420 iyuv clpl hm12 y800 y8 y8a y16be y16le nv12 nv21 bgr24 bgr32 bgr16
bgr15 bgr12 bgr8 bgr4 bg4b bgr1 rgb64be rgb64le rgb48be rgb48le rgb48ne
rgb24 rgb32 rgb16 rgb15 rgb12 rgb8 rgb4 rg4b rgb1 rgba argb bgra abgr
gbr14pbe gbr14ple gbr12pbe gbr12ple gbr24p mjpeg mjpg
MPlayer SVN-r35907-4.7.2 (C) 2000-2013 MPlayer Team
Yet if I try to use some of these they don't get accepted -
working -
mplayer -vo gl -demuxer rawvideo -rawvideo
fps=25:w=704:h=576:format=i420 cact-422.yuv
but the yuv is not i420 - it's some variant of 422p - if I try
bash-3.2$ mplayer -vo gl -demuxer rawvideo -rawvideo
fps=25:w=704:h=576:format=422p cact-422.yuv
MPlayer SVN-r35907-4.7.2 (C) 2000-2013 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing cact-422.yuv.
rawvideo file format detected.
rawvideo: img size not specified and unknown format!
I have also tried the fourcc from ffmpeg output when making the file
with ffmpeg -i infile outfile.yuy
Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 704x576 [SAR
1:1 DAR 11:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
but with the same results.
Am I doing something wrong?
Playing the mpeg2 source file works OK and looks like this -
MPlayer SVN-r35907-4.7.2 (C) 2000-2013 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing /mnt/sda8/hdc5/Test-streams/SD/cact_400.m2v.
libavformat version 54.61.104 (internal)
MPEG-ES file format detected.
VIDEO: MPEG2 704x576 (aspect 1) 25.000 fps 40000.0 kbps (5000.0
kbyte/s)
Load subtitles in /mnt/sda8/hdc5/Test-streams/SD/
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.91.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [gl] 704x576 => 704x576 Planar 422P
V: 1.4 35/ 35 28% 6% 0.0% 0 0
Exiting... (Quit)
More information about the MPlayer-users
mailing list