[FFmpeg-user] HEVC 4k stream dump in mkv container

gf fortyman at gmx.de
Tue Dec 16 12:58:36 CET 2014


2014-12-16 10:35 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
>
> Please do not use
> external resources, always post all information
> including console output here on the mailing
> list.
>

Sorry, my bad. I thought the ouput was maybe a bit too long for one mail ;)

Why do you want to remux the transport stream?


Because I can't dump the transport stream "as is":

ffmpeg -i "http://192.168.178.20/?src=1&freq=10995&sr=22

000&pol=h&msys=dvbs2&pids=110,120" -c:v copy -c:a copy  -t 1600 test.ts

ffmpeg version N-68399-g10ef8f0 Copyright (c) 2000-2014 the FFmpeg
> developers

  built on Dec 12 2014 22:12:56 with gcc 4.9.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-libbs2b
> --enable-libcaca --

enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
> --enable-lib

modplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrw

b --enable-libopenjpeg --enable-libopus --enable-librtmp
> --enable-libschroedinge

r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
> --en

able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-libvorbis

 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
> --enable-

libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib

  libavutil      54. 15.100 / 54. 15.100

  libavcodec     56. 14.100 / 56. 14.100

  libavformat    56. 15.104 / 56. 15.104

  libavdevice    56.  3.100 / 56.  3.100

  libavfilter     5.  3.101 /  5.  3.101

  libswscale      3.  1.101 /  3.  1.101

  libswresample   1.  1.100 /  1.  1.100

  libpostproc    53.  3.100 / 53.  3.100

[NULL @ 0000000002ba6740] PPS id out of range: 0

[hevc @ 0000000002ba6740] PPS id out of range: 0

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] PPS id out of range: 0

    Last message repeated 1 times

[hevc @ 0000000002ba6740] Error parsing NAL unit #1.

[hevc @ 0000000002ba6740] Could not find ref with POC -72

[hevc @ 0000000002ba6740] Could not find ref with POC -76

[hevc @ 0000000002ba6740] Could not find ref with POC -80

Input #0, mpegts, from '
> http://192.168.178.20/?src=1&freq=10995&sr=22000&pol=h&m

sys=dvbs2&pids=110,120':

  Duration: N/A, start: 70097.826089, bitrate: 68 kb/s

    Stream #0:0[0x6e]: Video: hevc (Main 10), yuv420p10le(tv), 3840x2160,
> 50 fps

, 50 tbr, 90k tbn, 50 tbc

    Stream #0:1[0x78]: Audio: aac (HE-AACv2), 48000 Hz, stereo, fltp, 68
> kb/s

Output #0, mpegts, to 'test.ts':

  Metadata:

    encoder         : Lavf56.15.104

    Stream #0:0: Video: hevc, yuv420p10le, 3840x2160, q=2-31, 50 fps, 90k
> tbn, 5

0 tbc

    Stream #0:1: Audio: aac, 48000 Hz, stereo, 68 kb/s

Stream mapping:

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

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

Press [q] to stop, [?] for help

[mpegts @ 0000000005bb1020] HEVC bitstream malformed, no startcode found

av_interleaved_write_frame(): Not yet implemented in FFmpeg, patches welcome

frame=    1 fps=0.0 q=-1.0 Lsize=       8kB time=00:00:00.85 bitrate=
>  74.0kbits

/s

video:617kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB
> muxing o

verhead: unknown

Conversion failed!


.yuv works, too, but then I have no audio of course.

2014-12-16 10:35 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
>
> gf <fortyman <at> gmx.de> writes:
>
> > I'm trying to dump a "UHD/4k" Astra 19.2° TV
> > demo channel transport stream from my Sat>IP
> > tuner into an mkv container.
>
> I can reproduce this but out of curiosity:
> Why do you want to remux the transport stream?
>
> Your recordings will unavoidable have
> reception errors and remuxing such streams
> will lead to invalid files afaict.
>
> For future questions: Please do not use
> external resources, always post all information
> including console output here on the mailing
> list.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list