The transmitted packets are captured with tcpdump into a .pcap file. When analyzing the PCAP and its implied TS, I observed the following problems:
1. The stream type in the PMT table of the TS is 16, which means MPEG4-video. I would have expected 39 here. Also a short ffprobe request on the TS returns the MPEG4 container here. Thus I am wondering why the raw HEVC bitstream is encapsuled in an MP4 container.
2. DTS = PTS in each PES header, while they should be different for P and B frames. Command line used: ffprobe file.ts -show_frames -show_entries frame=pkt_dts_time,pkt_pts_time
Further more I tried to use the option "-bsf:v hevc_mp4toannexb", but I could not figure out a difference yet and updated the git, I am currently working on version N-75480-ge859a3c.
Alexander Dethof <alexander.m.dethof <at> campus.tu-berlin.de> writes:
> [mpegts <at> 0x35cc680] first pts value must be set
FFmpeg always had issues with h264 timestamps, your
report indicates that the same might be true for hevc.
ffmpeg -r 25 -i input.hevc should work but does not.
Remuxing to mov first helps, you need the bitstream