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

gf fortyman at gmx.de
Mon Dec 15 23:42:55 CET 2014

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.
Complete ffprobe output for the stream: http://pastebin.com/DU2q9bfZ
short version:

*Input #0, mpegts, from
N/A, start: 17414.528133, bitrate: N/AStream #0:0[0x78]: Audio: aac
(HE-AACv2), 48000 Hz, stereo, fltp, 74 kb/sStream #0:1[0x6e]: Video: hevc
(Main 10), yuv420p10le(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc*

Putting it into an mkv-file with this command *ffmpeg -i
*000&pol=h&msys=dvbs2&pids=110,120" -c:v copy -c:a copy -bsf:a
aac_adtstoasc -t 1600 test.mkv*

returns this output: http://pastebin.com/PL4mCtza

Error message at the end:

*Could not write header for output file #0 (incorrect codec parameters ?):
Invalid data found when processing input*

However, if I change the container format to mp4, everything works as
So I'm not sure what's going on here?

Thanks for reading!

More information about the ffmpeg-user mailing list