Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#646 closed defect (fixed)

fix decoding of rawvideo (NV12) with odd width

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

Description

the file decodes correctly in virtualdub

http://www.datafilehost.com/download-c78bd276.html

C:\>ffmpeg -i "4_2_0 YCbCr (NV12).avi"
ffmpeg version N-34704-g985e768, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 11 2011 01:49:15 with gcc 4.6.2
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzli
b --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-l
ibrtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-li
bvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-l
ibx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 24. 1 / 51. 24. 1
  libavcodec   53. 31. 0 / 53. 31. 0
  libavformat  53. 20. 0 / 53. 20. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 2 /  2. 47. 2
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 003E9B20] parser not found for codec rawvideo, packets or times may be in
valid.

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_0 YCbCr (NV12).avi':
  Duration: 00:00:03.53, start: 0.000000, bitrate: 14594 kb/s
    Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 350x230, 15 fps, 15
tbr, 15 tbn, 15 tbc
At least one output file must be specified

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: NV12 added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Elon Musk, 12 years ago

What encoder/codec you used with VirtualDub to create such file?

comment:3 by ami_stuff, 12 years ago

I did not encode this file (found it on vlc's trac), but probably:

Video -> Compression -> (Uncompressed RGB/YCbCr)

+

Video -> Color Depth... -> Output format to compressor/display: 4:2:0 YCbCr (NV12)

Last edited 12 years ago by ami_stuff (previous) (diff)

comment:4 by Elon Musk, 12 years ago

What you use to decode this file in VirtualDub?

comment:5 by ami_stuff, 12 years ago

the original file from datafilehost plays here ok, but new generated (with the same resolution) not (error decompressing video frame 0)

comment:6 by Elon Musk, 12 years ago

I need name of decompressor/compressor in both cases.

comment:7 by ami_stuff, 12 years ago

This codec is supported interlanny by VirtualDub - "Internal DIB decoder (NV12)"

comment:8 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: openclosed

comment:9 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavcodec
Keywords: videolan added
Note: See TracTickets for help on using tickets.