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

An m3u8 problem #527

Open
kdadmin opened this issue Dec 24, 2022 · 5 comments
Open

An m3u8 problem #527

kdadmin opened this issue Dec 24, 2022 · 5 comments

Comments

@kdadmin
Copy link

kdadmin commented Dec 24, 2022

This NASA stream fails to play with LAV 0.77.1 in an app on Win 10:

https://ntv1.akamaized.net/hls/live/2014075/NASA-NTV1-HLS/master_2000.m3u8

The error occurs at IFileSourceFilter::Load().
Note I call ILavFSettings SetRuntimeConfig(TRUE).

The stream plays fine using LAV 0.74.1 and 0.70.2.

Not sure what to make of it.

@clsid2
Copy link
Contributor

clsid2 commented Dec 24, 2022

Confirmed.
It fails with LAV Splitter Source but works with File Source URL + LAV Splitter.
So likely related to HTTPS protocol changes in FFmpeg.

@kdadmin
Copy link
Author

kdadmin commented Jan 12, 2023

BTW, 0.67.0 is the last to play this stream, 0.67.1 fails.
Oops, bad brain!
BTW, 0.76.0 is the last to play this stream, 0.76.1 fails.

@kasper93
Copy link
Contributor

kasper93 commented Jan 12, 2023

It's my fault 5da67b5

This stream works only without referer or with https://www.nasa.gov/.

I would argue tho it is more common to see streams to not work without referer if any filtering is done. Hence the change to improve "compatibility", but obviously it is not always universal. I have network.http.referer.spoofSource (which does the same thing as LAV basically) in Firefox set and it is very rare for things to not work.

@clsid2
Copy link
Contributor

clsid2 commented Jan 12, 2023

Possible workaround in FFmpeg code could be to retry with empty referrer in case of a http 403 with self referrer set.

@zhouxinghong
Copy link

Hello! How to use referrer to avoid 403 in mpc-hc

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

No branches or pull requests

4 participants