[MEncoder-users] V210 10-bit 422 Output

Larry Reznick lreznick at idistream.com
Wed Aug 13 23:50:38 CEST 2008


I have v210-encoded video. I'm trying to get 10-bit YUV422P out of it. I 
can get 8-bit 422p if I use the "-vf yuy2" option. If I don't use a -vf 
option at all, I get 32-bit RGBA output, but v210, used by the AJA 
board, delivers 10-bit, as the codec's identifier points out. Here's a 
sample output:

---8<---
$ mencoder -nosound -ovc raw -of rawvideo -frames 100 inputvideofile -o 
outputvideofile
MEncoder dev-SVN-r27448-4.3.0 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (Family: 6, Model: 
23, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

128 audio & 258 video codecs
success: format: 0  data: 0x0 - 0x5e6b6ae0
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9c9b740]edit list not starting at 0, a/v 
desync might occur, patch welcome
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Audio stream found, -aid 2
[lavf] Audio stream found, -aid 3
[lavf] Audio stream found, -aid 4
[lavf] Audio stream found, -aid 5
[lavf] Audio stream found, -aid 6
[lavf] Audio stream found, -aid 7
[lavf] Audio stream found, -aid 8
[lavf] Audio stream found, -aid 9
[lavf] Audio stream found, -aid 10
[lavf] Audio stream found, -aid 11
[lavf] Audio stream found, -aid 12
[lavf] Audio stream found, -aid 13
[lavf] Audio stream found, -aid 14
[lavf] Audio stream found, -aid 15
[lavf] Audio stream found, -aid 16
VIDEO:  [v210]  1920x1080  24bpp  125.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x30313276  size:1920x1080  fps:125.000  
ftime:=0.0080
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [vfw] Win32/VfW video codecs
Loading codec DLL: 'BMDCodecLib.dll'
Loaded DLL driver BMDCodecLib.dll at 10000000
VDec: vo config request - 1920 x 1080 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9.
VDec: using BGRA as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
Selected video codec: [qtv210] vfm: vfw (Win32/Quicktime Blackmagic 10-bit)
==========================================================================
Pos:   0.8s    100f ( 0%)  4.14fps Trem: 103min 204073mb  A-V:0.000 [0:0]
Flushing video frames.

Video stream: 8294400.000 kbit/s  (1036800000 B/s)  size: 829440000 
bytes  0.800 secs  100 frames
---8<---

The size of the frames (1/100th of the byte size reported in the last 
line) corresponds with 32-bit RGB size. MPlayer can play that output 
file, but it's not the 10-bit 422p I was hoping for. I can't see any way 
to deliver 10-bit frames in the documentation. Can you suggest what I'm 
overlooking or is 10-bit YUV422P not supported as MEncoder output? 
Thanks for any help you can give me.

--Larry



More information about the MEncoder-users mailing list