Opened 3 years ago

Last modified 6 months ago

#4813 open defect

Remuxing hevc fails

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

Description

Summary of the bug:

error : first pts value must be set
av_interleaved_write_frame(): Invalid data found when processing input

You can test with the following two files in the link.

https://www.dropbox.com/sh/q8oq7tr1tc5f13z/AADrhnoWcmL9kcbn2yNSw35Ka?dl=0

The following is the log file.

ffmpeg started on 2015-08-30 at 14:34:32
Report written to "ffmpeg-20150830-143432.log"
Command line:
ffmpeg -v 9 -loglevel 99 -report -i test01.hevc -i test01.ac3 -c copy test01.ts
ffmpeg version N-74700-g628a73f Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'test01.hevc'.
Reading option '-i' ... matched as input file with argument 'test01.ac3'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option 'test01.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file test01.hevc.
Successfully parsed a group of options.
Opening an input file: test01.hevc.
[hevc @ 00000000048ba3e0] Format hevc probed with size=2048 and score=51
[hevc @ 00000000048ba3e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[hevc @ 00000000048cb4c0] Decoding VPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding SPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding VUI
[hevc @ 00000000048cb4c0] Decoding PPS
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5
[hevc @ 00000000048cb4c0] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000048cb4c0] Decoding VPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding SPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding VUI
[hevc @ 00000000048cb4c0] Decoding PPS
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5
[hevc @ 00000000048cb4c0] Decoded frame with POC 16.
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding VPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding SPS
[hevc @ 00000000048cb4c0] Main 10 profile bitstream
[hevc @ 00000000048cb4c0] Decoding VUI
[hevc @ 00000000048cb4c0] Decoding PPS
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048cb4c0] Decoding SEI
[hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0
[hevc @ 00000000048ba3e0] Probe buffer size limit of 5000000 bytes reached
[hevc @ 00000000048ba3e0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[hevc @ 00000000048ba3e0] After avformat_find_stream_info() pos: 5030912 bytes read:5046272 seeks:0 frames:73
Input #0, hevc, from 'test01.hevc':

Duration: N/A, bitrate: N/A

Stream #0:0, 73, 1/1200000: Video: hevc (Main 10), 1 reference frame, yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9], 1/60, 60 fps, 60 tbr, 1200k tbn, 60 tbc

Successfully opened the file.
Parsing a group of options: input file test01.ac3.
Successfully parsed a group of options.
Opening an input file: test01.ac3.
[ac3 @ 00000000048c1f80] Format ac3 probed with size=524288 and score=50
[ac3 @ 00000000048c1f80] Before avformat_find_stream_info() pos: 0 bytes read:524288 seeks:0
[ac3 @ 00000000048c1f80] All info found
[ac3 @ 00000000048c1f80] Estimating duration from bitrate, this may be inaccurate
[ac3 @ 00000000048c1f80] After avformat_find_stream_info() pos: 75776 bytes read:524288 seeks:0 frames:50
Input #1, ac3, from 'test01.ac3':

Duration: 00:00:40.06, start: 0.000000, bitrate: 384 kb/s

Stream #1:0, 50, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s

Successfully opened the file.
Parsing a group of options: output file test01.ts.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: test01.ts.
Successfully opened the file.
[mpegts @ 00000000048d2920] muxrate VBR, pcr every 120000 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test01.ts':

Metadata:

encoder : Lavf56.40.101
Stream #0:0, 0, 1/90000: Video: hevc, 1 reference frame, yuv420p10le, 3840x2160 (0x0) [SAR 1:1 DAR 16:9], 1/1200000, q=2-31, 60 fps, 60 tbr, 90k tbn, 1200k tbc
Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, 384 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)

Press [q] to stop, ? for help
[mpegts @ 00000000048d2920] first pts value must be set
av_interleaved_write_frame(): Invalid data found when processing input
No more output streams to write to, finishing.

[mpegts @ 00000000048d2920] first pts value must be set
frame= 3 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.03 bitrate= 0.0kbits/s
video:776kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (test01.hevc):

Input stream #0:0 (video): 3 packets read (794492 bytes);
Total: 3 packets (794492 bytes) demuxed

Input file #1 (test01.ac3):

Input stream #1:0 (audio): 1 packets read (88 bytes);
Total: 1 packets (88 bytes) demuxed

Output file #0 (test01.ts):

Output stream #0:0 (video): 3 packets muxed (794492 bytes);
Output stream #0:1 (audio): 1 packets muxed (88 bytes);
Total: 4 packets (794580 bytes) muxed

0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000050dc860] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 00000000048c2b60] Statistics: 5046272 bytes read, 0 seeks
[AVIOContext @ 000000000499eee0] Statistics: 524288 bytes read, 0 seeks
Conversion failed!

Attachments (1)

test01_cut.hevc (2.4 MB) - added by cehoyos 3 years ago.

Change History (4)

comment:1 Changed 3 years ago by cehoyos

  • Keywords hevc av_interleaved_write_frame added
  • Reproduced by developer set
  • Status changed from new to open
  • Summary changed from muxing hevc & ac3 failed to Remuxing hevc fails
  • Version changed from unspecified to git-master
ffmpeg -i test01_cut.hevc -vcodec copy out.ts
ffmpeg version N-74745-gd5911e6 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 59.100 / 56. 59.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.100 /  5. 40.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hevc, from 'test01_cut.hevc':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 1200k tbn, 60 tbc
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: hevc, yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 90k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x3601360] first pts value must be set
av_interleaved_write_frame(): Invalid data found when processing input
frame=    1 fps=0.0 q=-1.0 Lsize=       0kB time=-00:00:00.05 bitrate=  -0.0kbits/s
video:639kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

Changed 3 years ago by cehoyos

comment:2 Changed 3 years ago by freebits

no one is picking up this ticket?

comment:3 Changed 6 months ago by tospi

After two years now, is there any solution for this problem?

Note: See TracTickets for help on using tickets.