Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dts in f4m #11251

Open
TPolzer opened this issue Nov 20, 2016 · 0 comments
Open

Fix dts in f4m #11251

TPolzer opened this issue Nov 20, 2016 · 0 comments

Comments

@TPolzer
Copy link

@TPolzer TPolzer commented Nov 20, 2016

If I record BBC1 live with

youtube-dl 'http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hds/uk/pc/llnw/bbc_one_hd.f4m'

and play the result with mpv, I get quite a few dropped frames (with vaapi playback) (it seems the display driver was to blame here). The reason seems to be problems with the dts. I get a lot of those in the log:

[ffmpeg/demuxer] mpegts: Invalid timestamps stream=1, pts=325395000, dts=325396800, size=4790
[ffmpeg/demuxer] mpegts: Invalid timestamps stream=1, pts=325398600, dts=325400400, size=5048

I understand that fixing those on the fly is not easy, but probably better than to rely on the decoder to cope with "interesting" input (vaapi decoding is not the only one, streamcopy to mkv with ffmpeg doesn't work at all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.