Opened 11 years ago

Closed 11 years ago

#3487 closed defect (invalid)

hevc: corrupted last frame in the output video

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

Description

C:\>ffmpeg -i h1.ts out.avi
ffmpeg version N-61570-gaa86ccc Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 17 2014 22:01:34 with gcc 4.8.2 (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-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
  libavutil      52. 67.100 / 52. 67.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[hevc @ 02cee880] Unknown HEVC profile: 0
    Last message repeated 3 times
Input #0, mpegts, from 'h1.ts':
  Duration: 00:00:12.60, start: 0.080000, bitrate: 356 kb/s
  Program 1
    Stream #0:0[0x12d]: Video: hevc (HEVC / 0x43564548), yuv420p(tv), 320x240, 2
3.98 tbr, 90k tbn, 90k tbc
[hevc @ 02cee180] Unknown HEVC profile: 0
    Last message repeated 1 times
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.34.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (hevc -> mpeg4)
Press [q] to stop, [?] for help
[hevc @ 02cee880] Unknown HEVC profile: 0
    Last message repeated 1 times
[hevc @ 02cee180] Unknown HEVC profile: 0
    Last message repeated 1 times
frame=  303 fps=0.0 q=6.9 Lsize=     431kB time=00:00:12.63 bitrate= 279.2kbits/
s
video:418kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 3.063
614%

Attachments (1)

h1.ts (548.8 KB ) - added by ami_stuff 11 years ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 11 years ago

Attachment: h1.ts added

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: hevc added
Version: unspecifiedgit-master

The stream contains 303 frames, the first 299 are decoded bit-identical with the reference decoder, the reference decoder aborts after writing 299 frames.

jctvc-hm/build/linux/lib/TLibDecoder/../../../../source/Lib/TLibCommon/TComBitStream.h:191: Void TComInputBitstream::readByte(UInt&): Assertion `m_fifo_idx < m_fifo->size()' failed.
POC  301 TId: 0 ( B-SLICE, QP 34 ) [DT  0.000] [L0 300 ] [L1 300 ] [:,,,(unk)] Aborted

comment:2 by ami_stuff, 11 years ago

I think that I can spot at last one artefact at the end of the video while playing the file with WMP (and installed http://xhevc.com/en/hevc/decoder/download.jsp codec), so maybe close -> invalid (bug in encoder)?

comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.