Als ik ffmpeg
gebruik om m3u8
naar mp4
te converteren, krijg ik een waarschuwing,
ffmpeg -i xx.m3u8 -c copy demo.mp4
waarschuwing is
Non-monotonous DTS in output stream 0:1; previous: 3277744, current: 3276712; changing to 3277745. This may result in incorrect timestamps in the output file.
Non-monotonous DTS in output stream 0:1; previous: 3277745, current: 3277736; changing to 3277746. This may result in incorrect timestamps in the output file.
wat moet ik doen om het op te lossen?
Antwoord 1, autoriteit 100%
ffmpeg -i xx.m3u8 -c copy -bsf:a aac_adtstoasc demo.mp4
Het lijkt erop dat de decoderingstijdstempels zijn verbroken. Je kunt “-flags” proberen
+igndts” om DTS opnieuw te genereren op basis van PTS:
point ts-bestand direct ::
ffmpeg -fflags +igndts -i xx.ts -map 0:0 -map 0:2 -c:v copy -c:a copy demo.mp4