this post was submitted on 08 Nov 2023
32 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54424 readers
375 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Today I found a video series that I was datahoarding... I know...

Anyway, I found this old reddit post from 3 years ago on how to download from Brightcove. So I thought I would repost this here for posterity.

Here's the post below with some small revisions from 3 years ago by u/publiusvaleri_us

I had a short video that I wanted to try to download, but the brightcove style seems to be hard to parse. I was wondering if there's a way to find out the actual URL to do the download, and I started on a hunch.

Of course I visited the webpage with the video and let it play. In Firefox, I use Web Developer Tools, then I selected the Network tab. It listed a lot of the streams of the video (mp2t) that appeared to be a form of streaming. The secret is to look for a file type of "x-mpegurl" which is the key to feeding youtube-dl the correct video URL.

I found this step was made easier by uBlock Origin (I only had to look for the red blocked packets)

Here is my command: (You must use ffmpeg, because of the multiple streams)

youtube-dl --prefer-ffmpeg --ffmpeg-location ..\ffmpeg\bin --restrict-filenames [URL FROM Web Developer Tools->Network.]

The only problem I found out is that some of the x-mpegurl files produce an end result without sound. They were combined in ffmpeg as render-render.mp4. But I found another one that downloaded to a slightly larger file, and it was called "master-master.mp4" when it was done. That video has sound. So if you examine your URL possibilities, look for the word "master" somewhere in it.

...BLAH-BLAH/master.m3u8?fastly_token=BLAH,BLAH

Let me know if anyone has questions or needs a few pointers. I'm surprised I figured it out without a lot of problems. When youtube-dl gave me the error for the main URL, I figured one of you guys knew all about how to do this... turns out that I do.... shocked emoji.

top 1 comments
sorted by: hot top controversial new old
[–] cyberic@discuss.tchncs.de 3 points 1 year ago

My command for 2023 using yt-dlp looks like:

yt-dlp --ffmpeg-location YOUR_PATH --downloader ffmpeg --restrict-filenames YOUR_URL