Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5628 closed defect (fixed)

sheervideo: fix decoding of 8bw 4:2:2

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

probably the same issue like with #5626

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

C:\>ffmpeg -i 8bw_4_2_2_p.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 '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
[avi @ 0x28d4f40] 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 [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.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=4.0 Lsize=    1406kB time=00:00:00.30 bitrate=38391.7kbits
/s speed=3.84x
video:1400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.406945%

Change History (5)

comment:1 follow-up: Changed 3 years ago by richardpl

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

Do you have 8bw interlaced sample?

Fixed in c156420bce9e716cb3759c6e03909de07b1308f5.

comment:2 in reply to: ↑ 1 Changed 3 years ago by ami_stuff

Replying to richardpl:

Do you have 8bw interlaced sample?

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

comment:3 follow-up: Changed 3 years ago by richardpl

Interlaced sample is Ybyr. Not YbYr?.

comment:4 in reply to: ↑ 3 Changed 3 years ago by ami_stuff

Replying to richardpl:

Interlaced sample is Ybyr. Not YbYr?.

maybe a bug in encoder then - I only changed "progressive" option to "interlaced"

comment:5 Changed 3 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords sheer added
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.