Opened 7 years ago

Closed 7 years ago

#6316 closed defect (fixed)

utvideo: fix decoding interlaced video with frame divide count > 2

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

https://files.fm/u/wcpbxeak

C:\>ffmpeg -i C:\utv_int_pre_left_count_8.avi out.avi
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --disable-ffprobe --enable-gpl
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 92.100 / 57. 92.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[utvideo @ 0238cd58] Warning: not compiled with thread support, using thread emu
lation
Input #0, avi, from 'C:\utv_int_pre_left_count_8.avi':
  Duration: 00:00:03.20, start: 0.000000, bitrate: 11009 kb/s
    Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 500x500, 11341 kb/s,
 10 fps, 10 tbr, 10 tbn, 10 tbc
[utvideo @ 0273bd30] Warning: not compiled with thread support, using thread emu
lation
Stream mapping:
  Stream #0:0 -> #0:0 (utvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 0273bd30] Slice decoding ran out of bits
Error while decoding stream #0:0: Invalid data found when processing input
Finishing stream 0:0 without any data written to it.
[mpeg4 @ 0273d3b0] Warning: not compiled with thread support, using thread emula
tion
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf57.72.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 500x500, q=2-31, 200
 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata:
      encoder         : Lavc57.92.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
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!

Change History (8)

comment:1 by Carl Eugen Hoyos, 7 years ago

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

comment:2 by Elon Musk, 7 years ago

Resolution: invalid
Status: openclosed

What plays this?

Nothing - as its invalid file.

comment:3 by ami_stuff, 7 years ago

The file decodes here bit-exact with utvideo 18.0.0 vfw.

comment:4 by Carl Eugen Hoyos, 7 years ago

Please also provide the correct output.

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

Replying to cehoyos:

Please also provide the correct output.

It should be identicial to output from sample from #6317 (and "input.avi" file from #6209 IIRC).

in reply to:  5 comment:6 by ami_stuff, 7 years ago

Replying to ami_stuff:

Replying to cehoyos:

Please also provide the correct output.

It should be identicial to output from sample from #6317 (and "input.avi" file from #6209 IIRC).

Once again I just confirmed that the output from "utv_int_pre_left_count_8.avi" file is bit-exact (it's the same like output from "utv.avi" and "input.avi"). The file ("utv_int_pre_left_count_8.avi") decodes without any problems in VirtuaDub from utvideo to rawvideo.

comment:7 by Carl Eugen Hoyos, 7 years ago

Resolution: invalid
Status: closedreopened

comment:8 by Elon Musk, 7 years ago

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