Opened 11 years ago

Closed 21 months ago

#1838 closed defect (fixed)

Some BOXX bxy2 samples (v210) cannot be decoded

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: v210 boxx bxy2
Cc: ami_stuff@o2.pl Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

One sample from ticket #1352 cannot be decoded because it has a surprising stride value.

$ ffmpeg -i boxx_yuv_10bit.mov -f null -
ffmpeg version N-45832-ge168165 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 21 2012 20:40:38 with gcc 4.7 (SUSE Linux)
  configuration: --disable-demuxer=mpegps
  libavutil      51. 76.101 / 51. 76.101
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.102 /  3. 20.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'boxx_yuv_10bit.mov':
  Metadata:
    creation_time   : 2012-05-25 17:45:23
  Duration: 00:00:00.06, start: 0.000000, bitrate: 6229 kb/s
    Stream #0:0(eng): Video: v210 (bxy2 / 0x32797862), yuv422p10le, 160x120, 6144 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2012-05-25 17:45:23
      handler_name    : Apple Alias Data Handler
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.33.100
    Stream #0:0(eng): Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 160x120, q=2-31, 200 kb/s, 90k tbn, 15 tbc
    Metadata:
      creation_time   : 2012-05-25 17:45:23
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> rawvideo)
Press [q] to stop, [?] for help
pkt->size: 51200, stride: 512, height: 120, stride*height: 61440
[v210 @ 0x2b7bfa0] packet too small
Error while decoding stream #0:0: Operation not permitted
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

Attachments (2)

boxx_yuv_10bit.mov (50.7 KB ) - added by Carl Eugen Hoyos 11 years ago.
patchboxx1838 (1.3 KB ) - added by Carl Eugen Hoyos 11 years ago.

Download all attachments as: .zip

Change History (5)

by Carl Eugen Hoyos, 11 years ago

Attachment: boxx_yuv_10bit.mov added

comment:1 by ami_stuff, 11 years ago

Cc: ami_stuff@o2.pl added

by Carl Eugen Hoyos, 11 years ago

Attachment: patchboxx1838 added

comment:2 by Balling, 22 months ago

Status: newopen

-custom_stride 424 makes it slightly better.

comment:3 by Marton Balint, 21 months ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.