[MEncoder-users] -vf bmovl and raw video output
Ivaylo Mitov
cmptuomp3 at gmail.com
Thu Apr 29 13:56:00 CEST 2010
Hello guy,
when I do the following:
mencoder -vf format=i420,bmovl=0:0:/home/enctest/mylogo.fifo -nosound
-ovc raw -of rawvideo -o mp4-video.raw "$INPUT_VIDEO"
I get:
MEncoder SVN-r29417-4.1.2 (C) 2000-2009 MPlayer Team
success: format: 0 data: 0x0 - 0x5798004
MPEG-PS file format detected.
VIDEO: MPEG1 720x480 (aspect 12) 29.970 fps 4000.0 kbps (500.0
kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:720x480 fps:29.970
ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [bmovl=0:0:/home/enctest/mylogo.fifo]
vf_bmovl: Opened fifo /home/enctest/mylogo.fifo as FD 5
Opening video filter: [eq2=0.5:1.4:0.5:1.9]
Opening video filter: [format fmt=i420]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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...
If I try without format=i420 - like this:
mencoder -vf bmovl=0:0:/home/enctest/mylogo.fifo -nosound -ovc raw -of
rawvideo -o mp4-video.raw "$INPUT_VIDEO"
the raw output is created but the colors are wrong and the video is all
blue.
With format=i420 and without bmovl the video encodes fine and the colors
are fine.
I also tried with format=yv12 - again blue video.
So my question is - is there a way do dump uncompressed video with
mencoder while applying a watermark with bmovl and keep the colors
correct?
Thanks in advance,
Ivo
More information about the MEncoder-users
mailing list