Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5631 closed defect (fixed)

sheervideo: 8bw 4:2:2 sample 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

3rd frame is corrupted

https://www.datafilehost.com/d/d53572a6 (file from ticket #5628)

correct output from ae:

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

C:\>d:\ffmpeg -i d:\8bw_4_2_2_p.mov -vcodec rawvideo -pix_fmt bgr24 c:\1\out_ff.
avi
ffmpeg version N-80270-gd4cd8e7 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. 46.100 / 57. 46.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 'd:\8bw_4_2_2_p.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2016-06-09 22:58:38
  Duration: 00:00:00.30, start: 0.000000, bitrate: 161786 kb/s
    Stream #0:0(eng): Video: sheervideo (Shr4 / 0x34726853), yuv422p, 1920x1080,
 160458 kb/s, SAR 18:25 DAR 32:25, 10 fps, 10 tbr, 10 tbn, 10 tbc (default)
    Metadata:
      creation_time   : 2016-06-09 22:58:38
      handler_name    : Apple Alias Data Handler
      encoder         : Sheer Y'CbCr 8bw 4:2:2p
File 'c:\1\out_ff.avi' already exists. Overwrite ? [y/N] y
[avi @ 0x42a0060] Using AVStream.codec to pass codec parameters to muxers is dep
recated, use AVStream.codecpar instead.
Output #0, avi, to 'c:\1\out_ff.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf57.37.101
    Stream #0:0(eng): Video: rawvideo, bgr24, 1920x1080 [SAR 18:25 DAR 32:25], q
=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
    Metadata:
      creation_time   : 2016-06-09 22:58:38
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.46.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (sheervideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=    3 fps=0.0 q=-0.0 Lsize=   18231kB time=00:00:00.30 bitrate=497819.6kbi
ts/s speed=   2x
video:18225kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
 overhead: 0.031261%

Attachments (1)

8bw422.7z (145.0 KB ) - added by ami_stuff 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by ami_stuff, 8 years ago

Summary: sheervideo: 8bw 4:2:2 sample decode incorrectlysheervideo: 8bw 4:2:2 sample decodes incorrectly

comment:2 by ami_stuff, 8 years ago

by ami_stuff, 8 years ago

Attachment: 8bw422.7z added

comment:3 by ami_stuff, 8 years ago

attached one more sample

comment:4 by Elon Musk, 8 years ago

Resolution: fixed
Status: newclosed

Check if this sample with other formats is broken.

Fixed in dccea0ed0d993792b58dab8f232509c62f0522fd.

comment:5 by Carl Eugen Hoyos, 8 years ago

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