Opened 6 years ago

Last modified 6 years ago

#7218 new defect

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

Reported by: Robert Herzog 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 Robert Herzog 6 years ago.
Logfile generated with -report flag

Download all attachments as: .zip

Change History (4)

by Robert Herzog, 6 years ago

Attachment: ffmpeg-20180519-101237.log added

Logfile generated with -report flag

comment:1 by mkver, 6 years ago

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.

in reply to:  1 comment:2 by Robert Herzog, 6 years ago

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 by Carl Eugen Hoyos, 6 years ago

Component: avcodecavformat
Keywords: streamid removed
Priority: importantminor
Note: See TracTickets for help on using tickets.