Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5626 closed defect (fixed)

sheervideo: progressive 8bv 4:2:2:4 decodes incorrectly

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

Description

interlaced sample seems to decode ok

https://www.datafilehost.com/d/aa35887a

sheervideo: progressive 8bv 4:2:2:4 decodes incorrectly

interlaced sample seems to decode ok

{{{
C:\>ffmpeg -i C:\8bv_4_2_2_4p.mov out.avi
ffmpeg version N-80244-g172af20 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 45.100 / 57. 45.100
  libavformat    57. 37.101 / 57. 37.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.101 /  6. 46.101
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\8bv_4_2_2_4p.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2016-06-09 17:21:36
  Duration: 00:00:00.30, start: 0.000000, bitrate: 189283 kb/s
    Stream #0:0(eng): Video: sheervideo (Shr3 / 0x33726853), yuva422p(smpte240m)
, 1920x1080, 189259 kb/s, 10 fps, 10 tbr, 600 tbn, 600 tbc (default)
    Metadata:
      creation_time   : 2016-06-09 17:21:36
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
      encoder         : Sheer Y'CbCrA 8bv 4:2:2:4p
File 'out.avi' already exists. Overwrite ? [y/N] y
[avi @ 0x28d4f80] Using AVStream.codec to pass codec parameters to muxers is dep
recated, use AVStream.codecpar instead.
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf57.37.101
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080, q=2-
31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
    Metadata:
      creation_time   : 2016-06-09 17:21:36
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
      encoder         : Lavc57.45.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (sheervideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=    3 fps=0.0 q=1.6 Lsize=    1937kB time=00:00:00.30 bitrate=52890.2kbits
/s speed= 3.2x
video:1931kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.291208%
}}}

Change History (4)

comment:1 by ami_stuff, 8 years ago

this problem is related to encoder's option "RGB Input Range"

"Video Range [64...940]" file decodes incorrectly, "Full range [0..1023]" file decodes ok:

https://www.datafilehost.com/d/7fb38f42

comment:2 by Elon Musk, 8 years ago

Last edited 8 years ago by Elon Musk (previous) (diff)

comment:3 by Elon Musk, 8 years ago

Resolution: fixed
Status: newclosed

comment:4 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavcodec
Keywords: sheer added
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.