Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
getting HLS stream with -f best option instead of single file URL #7888
Comments
|
|
|
Yes, what @fstirlitz suggested should be enough to filter HLS. |
|
No. this doesn't work. Here's an example: youtube-dl -F "http://mediathek.daserste.de/Sportschau-live/Ski-Alpin-Abfahrt-der-Damen/Das-Erste/Video?documentId=25486050&topRessort&bcastId=723230" youtube-dl -f best[protocol!=m3u8][protocol!=m3u8_native] -g "http://mediathek.daserste.de/Sportschau-live/Ski-Alpin-Abfahrt-der-Damen/Das-Erste/Video?documentId=25486050&topRessort&bcastId=723230" |
|
Correction -f best[protocol!=**?m3u8][protocol!=?**m3u8_native]. |
I'm using youtube-dl in my omxplayerGUI application on the Raspberry Pi to extract the video URL (-g option) and to play it afterwards with omxplayer(GUI). HLS is not supported and so I have been using the "-f best" option to get the URL of a single stream (Audio+Video).
I updated today from github and now I'm getting HLS/m3u8 URLs from ard/mediathek instead of single stream URLs.
Is this a bug or are there better general options now to avoid HLS? I need a global format option that gets the best quality but always avoids HLS.