ffmpeg curd_dts ist immer ungültig, wenn StreamId 0x11 ist

614
RobH83

Ich möchte einen mpeg Transport Stream mit stream_id 0: 0x11 generieren:

ffmpeg.exe -i foo.avi -codec libx264 -streamid 0:0x11 baa.ts 

Die resultierende ts-Datei enthält ungültige Makroblöcke in jedem P- und I-Frame.

Im Ausgabeprotokoll sehe ich

cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) 

viele Male.

Es funktioniert für jede andere Streamid außer 0x11. Aber das ist die stream_id, die ich benutzen muss.

Ich habe es versucht, ffmpeg.exe -r 25 -i foo.avi -codec libx264 -streamid 0:0x11 baa.ts aber das hat die gleichen Ergebnisse.

Ist das ein Fehler oder fehlt mir etwas? Und wenn es ein Fehler ist, ist es möglich, die stream_id einer ts-Datei mit einem anderen Tool als ffmpeg zu ändern, nachdem es erzeugt wurde?

0

0 Antworten auf die Frage