Opened 9 years ago

Last modified 9 years ago

#1945 new enhancement

support nv12 raw fourcc

Reported by: compn Owned by: reimar
Priority: if idle Component: vd
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


sample: 4_2_0 YCbCr (NV12).avi
sample url:

plays diagonally shifted with rawnv12 codec and this entry to codecs.conf:

videocodec ffrawnv12

info "RAW NV12"
status working
format 0x0
format 0x20776172
fourcc nv12,NV12
driver ffmpeg
dll rawvideo
out NV12

Attachments (1)

patchrawnv12.diff (698 bytes) - added by cehoyos 9 years ago.
odd nv12 rawvideo patch for FFmpeg

Download all attachments as: .zip

Change History (3)

comment:1 Changed 9 years ago by reimar

The video is 350x230 but is stored as 352x230 (multiple of 4 width).
Without knowing why that is so (is that always the case for NV12, is it only because it is in AVI or was the program that generated the AVI file broken?) it's not really possible to fix.

Changed 9 years ago by cehoyos

odd nv12 rawvideo patch for FFmpeg

comment:2 Changed 9 years ago by cehoyos

Attached fixes "diagonally shifted", but chroma is still moved ~half width.

Note: See TracTickets for help on using tickets.