Opened 4 months ago

Closed 4 months 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 Changed 4 months 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:2 Changed 4 months ago by richardpl

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

What plays this?

Nothing - as its invalid file.

comment:3 Changed 4 months ago by ami_stuff

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

comment:4 follow-up: Changed 4 months ago by cehoyos

Please also provide the correct output.

comment:5 in reply to: ↑ 4 ; follow-up: Changed 4 months ago by 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).

comment:6 in reply to: ↑ 5 Changed 4 months ago by ami_stuff

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 Changed 4 months ago by cehoyos

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:8 Changed 4 months ago by richardpl

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.