Opened 4 weeks ago

Last modified 4 weeks ago

#7218 new defect

cur_dts invalid when generating ts file output with streamid 0:0x11

Reported by: Rawboard Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mpegts
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: When generating a mpeg transport stream file with streamid 0:0x11 cur_dts gets invalid which results in invalid macro blocks for every P and I Frame.

How to reproduce:

% ffmpeg -i input -codec libx264 -streamid 0:0x11 output.ts
ffmpeg version 20180518-8e7b13b
nightly build downloaded from https://ffmpeg.zeranoe.com/builds/

Any other streamid works fine. The -r Flag doesn't resolve the issue.
Attached is the output log generated via report flag.
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

ffmpeg-20180519-101237.log (55.4 KB) - added by Rawboard 4 weeks ago.
Logfile generated with -report flag

Download all attachments as: .zip

Change History (4)

Changed 4 weeks ago by Rawboard

Logfile generated with -report flag

comment:1 follow-up: Changed 4 weeks ago by mkver

PID 0x11 is one of the PIDs reserved for DVB metadata; it's generally a bad idea to use this PID for any real stream, because it can be confused with said metadata.

comment:2 in reply to: ↑ 1 Changed 4 weeks ago by Rawboard

I know. I came recently to the team working on said problem... there is no way to change it.

I would be really grateful for a hint where i should look in the code.

comment:3 Changed 4 weeks ago by cehoyos

  • Component changed from avcodec to avformat
  • Keywords streamid removed
  • Priority changed from important to minor
Note: See TracTickets for help on using tickets.