On 14/10/2025 14:54, Rob Hallam via ffmpeg-user wrote:
On Tue, 14 Oct 2025 at 13:36, Gilles via ffmpeg-user<[email protected]>
wrote:

On 14/10/2025 12:42, MacFH - C E Macfarlane - News via ffmpeg-user wrote:
My bad: I should have specified that it's _/non-Youtube videos/_ that
sometimes require specifying the URL to the manifest/m3u8 file.

Like I said, the goal is to use a script to 1) find that URL and 2)
pass it on to youtube-dlp.
wget, curl, or similar should be able to do that.
Won't do: The goal is to /first find the URL/ without having to play it
in the browser with Developer mode displayed.

curl $BROWSERURL | grep m3u8 | head -n1 ? Without knowing more about the
page in question it's kinda hard to say.

Why do you think ffmpeg / ffprobe would find the URL if yt-dlp and others
will not?

Frame challenge: would it not be more advantageous to submit a request to
yt-dlp to add the site you're trying to get to work? The folks who work on
it will surely be adept at figuring out which bits are required.

Cheers,
Rob

I agree with Rob; ping the folks at yt-dlp. One can still script simple ffmpeg 
downloads for the likes of https://flixhouse.com (example below) but modern 
sophisticated websites will require some js magic.

Example:

manifest=$(wget -O- -q "https://flixhouse.com/video/2190/agent-elite"; | grep -o -E 
"https://[^\";']*\.m3u8")

ffmpeg -user_agent "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 
(KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25" -i $manifest -c copy 
-y output.mp4

Peter
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to