Opened 13 years ago

Closed 12 years ago

#339 closed defect (fixed)

ffmpeg fails to decode qt rawvideo with odd width

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: mov rawvideo
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

ffmpeg fails to decode qt rawvideo with odd width

the qt codec used to create the video comes from:

http://www.unthinkable.com/products/freeware/yv12qtcodec.html

C:\>ffmpeg -i YV12.mov out.avi
ffmpeg version N-31329-g58257ea, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul  8 2011 22:27:48 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 3 /  2. 24. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'YV12.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-05-12 00:39:04
  Duration: 00:00:01.86, start: 0.000000, bitrate: 4370 kb/s
    Stream #0.0(eng): Video: rawvideo, yuv420p, 191x127, 4366 kb/s, 15 fps, 15 t
br, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 2011-05-12 00:39:04
[buffer @ 01E71640] w:191 h:127 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-05-12 00:39:04
    ISFT            : Lavf53.5.0
    Stream #0.0(eng): Video: mpeg4, yuv420p, 191x127, q=2-31, 200 kb/s, 15 tbn,
15 tbc
    Metadata:
      creation_time   : 2011-05-12 00:39:04
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
Error while decoding stream #0.0
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%

Attachments (3)

YV12.mov (995.8 KB ) - added by ami_stuff 13 years ago.
patchyv12mov.diff (800 bytes ) - added by Carl Eugen Hoyos 13 years ago.
ReadMe.rtf (3.3 KB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (8)

by ami_stuff, 13 years ago

Attachment: YV12.mov added

by Carl Eugen Hoyos, 13 years ago

Attachment: patchyv12mov.diff added

comment:1 by Carl Eugen Hoyos, 13 years ago

Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Only even widths are encoded, afaict.

comment:2 by Carl Eugen Hoyos, 13 years ago

Keywords: mov rawvideo added

comment:3 by Michael Niedermayer, 13 years ago

does some documentation for this "Planar Y'CbCr 8-bit 4:2:0" codec exist ?
it doesnt look completely correct with the patch ..

comment:4 by ami_stuff, 13 years ago

I attache readme file

by ami_stuff, 13 years ago

Attachment: ReadMe.rtf added

comment:5 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.