[MPlayer-users] v210 -> video filters -> v210

András Bohó andras.boho at gmail.com
Mon Oct 4 14:17:14 CEST 2010


Hey,

I would need a solution for the following chain:
Input video is in v210 format and I wanna get the same at the output.
Several video filters would be applied in the middle.

Problems:
Basically I'm using mencoder but I can't get v210 format at the output. This
problem can be circumvented by using ffmpeg but ffmpeg doesn't have any
video filters unlike mencoder (libmpcodecs: e.g boxblur etc, or maybe it is
only my build(?) ) so I suppose I would have to stick by mencoder because of
the filters.

I have tried the following commands with different output format combination
but none of them seems to work (except YV12 but then I lose precision):
ffmpeg -i input.avi -vcodec rawvideo -pix_fmt yuv422p16 -acodec copy
output_temp.avi
mencoder output_temp.avi -o output_temp_filtered.avi -nosound -ovc raw -vf
format=fmt=422p16 (more filters come here)
ffmpeg -i output_temp_filtered.avi -vcodec v210 -acodec copy
output_final.avi

Mencoder output is like the following, printing about 30 times what you find
below the line:

MEncoder Sherpya-MT-SVN-r32198-4.2.5 (C) 2000-2010 MPlayer Team
159 audio & 353 video codecs
success: format: 0  data: 0x0 - 0xe1fbe0
AVI file format detected.
[aviheader] Video stream found, -vid 0
VIDEO:  []  176x-144  32bpp  10.000 fps  8110.1 kbps (990.0 kbyte/s)
[V] filefmt:3  fourcc:0x0  size:176x144  fps:10.000  ftime:=0.1000
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=422p16]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
.
.
.


Does anybody know which output format(s) I should/can choose when
transcoding from v210 so that I can apply video filters with mencoder and
then convert it back to v210 by ffmpeg (or mencoder, but then how exactly)?
Any solution is appreciated.

Thanks a lot for help in advance.


Andras


More information about the MPlayer-users mailing list