Opened 11 years ago

Closed 11 years ago

#2864 closed defect (fixed)

targa_y216: Insufficient input data

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

Description

the sample from ticket #1354 decodes correctly with version of the codec which created attached file

http://www.datafilehost.com/d/4e49a129

C:\>ffmpeg -i targa_y216.mov -f null -
ffmpeg version N-55393-g3b2e99f Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug  8 2013 21:32:57 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 41.100 / 52. 41.100
  libavcodec     55. 24.100 / 55. 24.100
  libavformat    55. 13.102 / 55. 13.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'targa_y216.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-08-14 13:37:20
  Duration: 00:00:02.00, start: 0.000000, bitrate: 109145 kb/s
    Stream #0:0(eng): Video: targa_y216 (Y216 / 0x36313259), yuv422p16le (14 bpc
), 720x486, 107379 kb/s, SAR 10:11 DAR 400:297, 29 fps, 29 tbr, 1000k tbn, 1000k
 tbc
    Metadata:
      creation_time   : 2013-08-14 13:37:20
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf55.13.102
    Stream #0:0(eng): Video: rawvideo (Y3[10][16] / 0x100A3359), yuv422p16le (14
 bpc), 720x486 [SAR 10:11 DAR 400:297], q=2-31, 200 kb/s, 90k tbn, 29 tbc
    Metadata:
      creation_time   : 2013-08-14 13:37:20
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (targa_y216 -> rawvideo)
Press [q] to stop, [?] for help
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
[targa_y216 @ 029d7f60] Insufficient input data.
Error while decoding stream #0:0: Error number -22 occurred
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)

Attachments (1)

360x320.mov (2.2 MB ) - added by Carl Eugen Hoyos 11 years ago.

Change History (6)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: y216 added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Actual frame size is 360x320 (decoding works fine if these values are forced).

Does your decoder still work if you remux the file with FFmpeg?
$ ffmpeg -i targa_y216.mov -vcodec copy out.mov

in reply to:  1 ; comment:2 by ami_stuff, 11 years ago

Replying to cehoyos:

Actual frame size is 360x320 (decoding works fine if these values are forced).

so maybe it's a bug of encoder?

Does your decoder still work if you remux the file with FFmpeg?
$ ffmpeg -i targa_y216.mov -vcodec copy out.mov

remuxed file crashes qt/decoder

by Carl Eugen Hoyos, 11 years ago

Attachment: 360x320.mov added

in reply to:  2 ; comment:3 by Carl Eugen Hoyos, 11 years ago

Replying to ami_stuff:

Replying to cehoyos:

Does your decoder still work if you remux the file with FFmpeg?
$ ffmpeg -i targa_y216.mov -vcodec copy out.mov

remuxed file crashes qt/decoder

What about attached remuxed file?

in reply to:  3 comment:4 by ami_stuff, 11 years ago

Replying to cehoyos:

Replying to ami_stuff:

Replying to cehoyos:

Does your decoder still work if you remux the file with FFmpeg?
$ ffmpeg -i targa_y216.mov -vcodec copy out.mov

remuxed file crashes qt/decoder

What about attached remuxed file?

It decodes correctly.

comment:5 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Resolution: fixed
Status: openclosed

Should be fixed, thank you for the sample and the testing!

Note: See TracTickets for help on using tickets.