Opened 12 years ago

Closed 12 years ago

#743 closed defect (fixed)

support 4:2:2 YCbCr 10-bit (v210 FourCC) rawvideo in avi

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: v210
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

http://www.datafilehost.com/download-5acf0a64.html

C:\>ffmpeg -i "4_2_2 YCbCr 10-bit (v210).avi" out.avi
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 0 codec frame rate differs from container frame rate: 15.00 (100000
0000/66667391) -> 15.00 (15/1)
Input #0, avi, from '4_2_2 YCbCr 10-bit (v210).avi':
  Duration: 00:00:03.53, start: 0.000000, bitrate: 27208 kb/s
    Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 356x236, 15 fps,
15 tbr, 15 tbn, 15 tbc
Incompatible pixel format 'yuv422p10le' for codec 'mpeg4', auto-selecting format
 'yuv420p'
[buffer @ 020D13C0] w:356 h:236 pixfmt:yuv422p10le tb:1/1000000 sar:0/1 sws_para
m:
[buffersink @ 020D2320] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020D2720] w:356 h:236 fmt:yuv422p10le -> w:356 h:236 fmt:yuv420p flags:
0x4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.24.0
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 356x236, q=2-31, 200
 kb/s, 15 tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> mpeg4)
Press [q] to stop, [?] for help
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
[v210 @ 020C9320] packet too small
Error while decoding stream #0:0
frame=    0 fps=  0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB global headers:0kB muxing overhead 1.#INF00%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)

Attachments (1)

patchv210align24.diff (484 bytes ) - added by Carl Eugen Hoyos 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

How was this sample made?
Which software plays it?
How is is it supposed to look like?

comment:3 by Carl Eugen Hoyos, 12 years ago

Analyzed by developer: set
Component: undeterminedavcodec
Keywords: v210 added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

The sample needs "-custom_stride 960" to decode correctly.

by Carl Eugen Hoyos, 12 years ago

Attachment: patchv210align24.diff added

comment:4 by Carl Eugen Hoyos, 12 years ago

Could you test if VirtualDub plays out.avi?
ffmpeg -i input -s 356x236 -vcodec v210 -an out.avi

comment:5 by ami_stuff, 12 years ago

It plays it, but the output is broken (like with linesize problem in ffmpeg), but when I use -s 320x240 then the file plays just fine.

comment:7 by reimar, 12 years ago

What happened to that? Discussion on the patch seems to have died out.

comment:8 by Carl Eugen Hoyos, 12 years ago

Resolution: fixed
Status: openclosed

Should be fixed, thank you for the reminder.

Note: See TracTickets for help on using tickets.