Opened 7 years ago

Closed 6 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 7 years ago.
patchyv12mov.diff (800 bytes) - added by cehoyos 7 years ago.
ReadMe.rtf (3.3 KB) - added by ami_stuff 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by ami_stuff

Changed 7 years ago by cehoyos

comment:1 Changed 7 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Only even widths are encoded, afaict.

comment:2 Changed 7 years ago by cehoyos

  • Keywords mov rawvideo added

comment:3 Changed 6 years ago by michael

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 Changed 6 years ago by ami_stuff

I attache readme file

Changed 6 years ago by ami_stuff

comment:5 Changed 6 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.