Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5634 closed defect (fixed)

utvideo uqy2: fix decoding of videos with multiple slices

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

Description

C:\>ffmpeg -i C:\frame_divide_count_20.avi -vcodec rawvideo -pix_fmt bgr24 d:\out.avi
ffmpeg version 3.0.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --disable-ffprobe --enable-gpl
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 44.100 / 57. 44.100
  libavformat    57. 37.101 / 57. 37.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[utvideo @ 021cd300] Warning: not compiled with thread support, using thread emu
lation
Input #0, avi, from 'C:\frame_divide_count_20.avi':
  Metadata:
    encoder         : Lavf57.36.100
  Duration: 00:00:00.10, start: 0.000000, bitrate: 7973 kb/s
    Stream #0:0: Video: utvideo (UQY2 / 0x32595155), yuv422p10le, 720x480, 10 fp
s, 10 tbr, 10 tbn
[utvideo @ 0256ecc0] Warning: not compiled with thread support, using thread emu
lation
[rawvideo @ 025705e0] Warning: not compiled with thread support, using thread em
ulation
[avi @ 0256f120] Using AVStream.codec to pass codec parameters to muxers is depr
ecated, use AVStream.codecpar instead.
Output #0, avi, to 'd:\out.avi':
  Metadata:
    ISFT            : Lavf57.37.101
    Stream #0:0: Video: rawvideo, bgr24, 720x480, q=2-31, 200 kb/s, 10 fps, 10 t
bn
    Metadata:
      encoder         : Lavc57.44.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (utvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[utvideo @ 0256ecc0] Cannot build Huffman codes
Error while decoding stream #0:0: Operation not permitted
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=N/A speed=
 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ove
rhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
Conversion failed!

Attachments (4)

frame_divide_count_2.avi (97.1 KB) - added by ami_stuff 3 years ago.
frame_divide_count_10.avi (97.2 KB) - added by ami_stuff 3 years ago.
frame_divide_count_20.avi (97.3 KB) - added by ami_stuff 3 years ago.
frame_divide_count_1.avi (97.1 KB) - added by ami_stuff 3 years ago.

Download all attachments as: .zip

Change History (11)

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

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

And rgb 10 bit?

comment:2 Changed 3 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords utvideo added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

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

Replying to richardpl:

And rgb 10 bit?

VirtualDub? has no 10-bit RGB output and AE doesn't like UtVideo? 10-bit, so for now no samples.

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

VirtualDub? with UtVideo? can use 64 bit rgba, i get crashes under wine though.

comment:5 Changed 3 years ago by richardpl

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

comment:6 Changed 3 years ago by richardpl

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

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

Replying to richardpl:

VirtualDub? with UtVideo? can use 64 bit rgba, i get crashes under wine though.

I tied to encode something with this fork ("64-bit RGB" output):

https://sourceforge.net/projects/vdfiltermod/

but yes it crashes here with rgb formats.

Note: See TracTickets for help on using tickets.