[MEncoder-users] Possible ERROR/Bug using "-vfm" option

Tobias Brockamp tobiasbrockamp.lists at googlemail.com
Wed Oct 20 13:34:15 CEST 2010


Hi at all,

i'm encoding a RAW avi File using following command:
(System is Windows XP Pro and MEncoder Sherpya-SVN-r32492-4.2.5)

C:\Documents and Settings\Administrator>"C:\Documents and Settings\Administrator
\Desktop\MPlayer-rtm-svn-32492\mencoder.exe" -cache 51200 -demuxer lavf -vfm ffm
peg,dshow,vfw -oac mp3lame -ovc x264 -of avi -ofps 25000/1000 -aspect 4:3 -srate
 44100 -vf scale,format=rgb24,scale,format=yv12,pp=lb,scale=768:576,harddup -x26
4encopts "keyint=250:min-keyint=25:scenecut=40:bframes=0:b-bias=0:ref=5:deblock=
-2,-2:crf=22:ratetol=1.0:vbv-bufsize=0:vbv-init=0.0:ipratio=1.4:pbratio=1.3:chro
ma-qp-offset=0:qcomp=0.6:cplxblur=20.0:qblur=0.5:subq=4:partitions=all:direct=au
to:me=hex:8x8dct:trellis=1:nodct_decimate:nr=0:sar=1/1:fps=25:threads=auto:nopsn
r:nossim:rc_lookahead=0" -lameopts "preset=128:mode=0:cbr" -o "C:\Documents and
Settings\Administrator\Desktop\_color_raw_master.avi" "C:\Documents and Settings
\Administrator\Desktop\_color_raw.avi"
MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team
159 audio & 355 video codecs
success: format: 0  data: 0x0 - 0x144b68
Cache fill:  0.00% (0 bytes)

libavformat file format detected.
[lavf] stream 0: video (rawvideo), -vid 0
VIDEO:  []  768x576  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x0  size:768x576  fps:25.000  ftime:=0.0400
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=768 h=576]
Opening video filter: [pp=lb]
Opening video filter: [format fmt=yv12]
Opening video filter: [scale]
Opening video filter: [format fmt=rgb24]
Opening video filter: [scale]
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrawyuy2] vfm: ffmpeg (RAW YUY2)
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.

Exiting...

C:\Documents and Settings\Administrator>

Shouldn't the VFM Driver fallback to dshow,vfw and then to default?

When i leave the "ffmpeg vfm" the encoding is successfull:


C:\Documents and Settings\Administrator>"C:\Documents and Settings\Administrator
\Desktop\MPlayer-rtm-svn-32492\mencoder.exe" -cache 51200 -demuxer lavf -vfm dsh
ow,vfw -oac mp3lame -ovc x264 -of avi -ofps 25000/1000 -aspect 4:3 -srate 44100
-vf scale,format=rgb24,scale,format=yv12,pp=lb,scale=768:576,harddup -x264encopt
s "keyint=250:min-keyint=25:scenecut=40:bframes=0:b-bias=0:ref=5:deblock=-2,-2:c
rf=22:ratetol=1.0:vbv-bufsize=0:vbv-init=0.0:ipratio=1.4:pbratio=1.3:chroma-qp-o
ffset=0:qcomp=0.6:cplxblur=20.0:qblur=0.5:subq=4:partitions=all:direct=auto:me=h
ex:8x8dct:trellis=1:nodct_decimate:nr=0:sar=1/1:fps=25:threads=auto:nopsnr:nossi
m:rc_lookahead=0" -lameopts "preset=128:mode=0:cbr" -o "C:\Documents and Setting
s\Administrator\Desktop\_color_raw_master.avi" "C:\Documents and Settings\Admini
strator\Desktop\_color_raw.avi"
MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team
159 audio & 355 video codecs
success: format: 0  data: 0x0 - 0x144b68
Cache fill:  0.00% (0 bytes)

libavformat file format detected.
[lavf] stream 0: video (rawvideo), -vid 0
VIDEO:  []  768x576  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x0  size:768x576  fps:25.000  ftime:=0.0400
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=768 h=576]
Opening video filter: [pp=lb]
Opening video filter: [format fmt=yv12]
Opening video filter: [scale]
Opening video filter: [format fmt=rgb24]
Opening video filter: [scale]
==========================================================================
Trying to force video codec driver family dshow...
Trying to force video codec driver family vfw...
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
Opening video filter: [flip]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 002a2010] using unscaled bgr24 -> rgb24 special converter
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
x264 [warning]: lookaheadless mb-tree requires intra refresh or infinite keyint
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 Cache64
x264 [info]: profile High, level 3.1
Selected video codec: [rawbgr24flip] vfm: raw (RAW BGR24)
==========================================================================
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
Pos:   0.0s      1f (99%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream:  324.400 kbit/s  (40549 B/s)  size: 1622 bytes  0.040 secs  1 fram
es
x264 [info]: frame I:1     Avg QP:22.82  size:  1622
x264 [info]: mb I  I16..4: 97.7%  0.9%  1.4%
x264 [info]: 8x8 transform intra:0.9%
x264 [info]: coded y,uvDC,uvAC intra: 1.2% 1.4% 1.1%
x264 [info]: i16 v,h,dc,p: 91%  7%  2%  0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 53% 18%  0%  0%  0%  0%  0%  0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 41% 18%  0%  1%  0%  1%  1%  1%
x264 [info]: i8c dc,h,v,p: 79%  6% 15%  0%
x264 [info]: kb/s:324.40

C:\Documents and Settings\Administrator>

Is this a bug?

Here is what MediaInfo says about the input file:

GeneralCount                            : 267
Count of stream of this kind     : 1
Kind of stream                   : General
Kind of stream                   : General
Stream identifier                : 0
Count of video streams           : 1
Video_Format_List                : RGB
Video_Format_WithHint_List       : RGB
Codecs Video                     : 0x00000000
Complete name                    : /_color_raw.avi
File name                        : _color_raw
File extension                   : avi
Format                           : AVI
Format                           : AVI
Format/Info                      : Audio Video Interleave
Format/Extensions usually used   : avi
Format_Commercial                : AVI
InternetMediaType                : video/vnd.avi
Codec                            : AVI
Codec                            : AVI
Codec/Info                       : Audio Video Interleave
Codec/Extensions usually used    : avi
File size                        : 1330024
File size                        : 1.27 MiB
File size                        : 1 MiB
File size                        : 1.3 MiB
File size                        : 1.27 MiB
File size                        : 1.268 MiB
Duration                         : 3000
Duration                         : 3s 0ms
Duration                         : 3s 0ms
Duration                         : 3s 0ms
Duration                         : 00:00:03.000
Overall bit rate                 : 3546730
Overall bit rate                 : 3 547 Kbps
Stream size                      : 2920
Stream size                      : 2.85 KiB (0%)
Stream size                      : 3 KiB
Stream size                      : 2.9 KiB
Stream size                      : 2.85 KiB
Stream size                      : 2.852 KiB
Stream size                      : 2.85 KiB (0%)
Proportion of this stream        : 0.00220
File last modification date      : UTC 2008-07-01 10:03:04
File last modification date (loc : 2008-07-01 12:03:04

Video
Count                            : 182
Count of stream of this kind     : 1
Kind of stream                   : Video
Kind of stream                   : Video
Stream identifier                : 0
ID                               : 0
ID                               : 0
Format                           : RGB
Format_Commercial                : RGB
Codec ID                         : 0x00000000
Codec ID/Info                    : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Codec ID/Url                     : http://www.fourcc.org/indexrgb.htm
Codec                            : 0x00000000
Codec                            : 0x00000000
Codec/CC                         : 0x00000000
Duration                         : 3000
Duration                         : 3s 0ms
Duration                         : 3s 0ms
Duration                         : 3s 0ms
Duration                         : 00:00:03.000
Bit rate                         : 3538944
Bit rate                         : 3 539 Kbps
Width                            : 768
Width                            : 768 pixels
Height                           : 576
Height                           : 576 pixels
Pixel aspect ratio               : 1.000
Display aspect ratio             : 1.333
Display aspect ratio             : 4:3
Frame rate                       : 25.000
Frame rate                       : 25.000 fps
Frame count                      : 75
Resolution                       : 8
Resolution                       : 8 bits
Bit depth                        : 8
Bit depth                        : 8 bits
Bits/(Pixel*Frame)               : 0.320
Stream size                      : 1327104
Stream size                      : 1.27 MiB (100%)
Stream size                      : 1 MiB
Stream size                      : 1.3 MiB
Stream size                      : 1.27 MiB
Stream size                      : 1.266 MiB
Stream size                      : 1.27 MiB (100%)
Proportion of this stream        : 0.99780



 


More information about the MEncoder-users mailing list