Opened 8 years ago

Closed 8 years ago

Last modified 8 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 8 years ago.
frame_divide_count_10.avi (97.2 KB ) - added by ami_stuff 8 years ago.
frame_divide_count_20.avi (97.3 KB ) - added by ami_stuff 8 years ago.
frame_divide_count_1.avi (97.1 KB ) - added by ami_stuff 8 years ago.

Download all attachments as: .zip

Change History (11)

by ami_stuff, 8 years ago

Attachment: frame_divide_count_2.avi added

by ami_stuff, 8 years ago

Attachment: frame_divide_count_10.avi added

by ami_stuff, 8 years ago

Attachment: frame_divide_count_20.avi added

by ami_stuff, 8 years ago

Attachment: frame_divide_count_1.avi added

comment:1 by Elon Musk, 8 years ago

And rgb 10 bit?

comment:2 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavcodec
Keywords: utvideo added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

in reply to:  1 comment:3 by ami_stuff, 8 years ago

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 by Elon Musk, 8 years ago

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

comment:5 by Elon Musk, 8 years ago

Resolution: fixed
Status: openclosed

comment:6 by Elon Musk, 8 years ago

Resolution: fixed
Status: openclosed

in reply to:  4 comment:7 by ami_stuff, 8 years ago

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.