Opened 5 years ago

Closed 4 years ago

Last modified 4 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 Changed 5 years ago by cehoyos

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

comment:2 Changed 5 years ago by richardpl

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

comment:3 Changed 5 years ago by ami_stuff

I did not encoded 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)

Version 0, edited 5 years ago by ami_stuff (next)

comment:4 Changed 5 years ago by richardpl

What you use to decode this file in VirtualDub??

comment:5 Changed 5 years ago by ami_stuff

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

comment:6 Changed 5 years ago by richardpl

I need name of decompressor/compressor in both cases.

comment:7 Changed 5 years ago by ami_stuff

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

comment:8 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

comment:9 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords videolan added
Note: See TracTickets for help on using tickets.