Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3267 :: Ripping Media 2021

I go over ripping webpage media

<< First, < Previous, Latest >>

Hosted by operat0r on 2021-02-09 is flagged as Explicit and is released under a CC-BY-SA license.
Tags: ffmpeg,hacking,youtube-dl,media.
Listen in ogg, spx, or mp3 format. | Comments (0)

ffmpeg notes:

powershell   -Exec Bypass "IEX (New-Object System.Net.WebClient).DownloadFile('https://github.com/jb-alvarado/media-autobuild_suite/archive/master.zip',"%userprofile%desktopmaster.zip");   Expand-Archive -LiteralPath  "%userprofile%desktopmaster.zip"  -DestinationPath  "%userprofile%desktop"     ;Start-Process "%userprofile%desktopmedia-autobuild_suite-mastermedia-autobuild_suite.bat" "
  • this took over 8hrs to compile on a i7 I disabled items that had warnings and comments about issues and useless of codes that have issues etc

  • missing libopenh264.dll when I launched ffmpeg_g.exe

  • the dll was not built but I'm not sure it's something I messed up I'm sure

  • only post I saw online about it was that it's useless and -full should never be used flaming etc

  • start media-autobuild_suite-mastermsys64mingw64.exe and run the following

  • Reference : https://bluexmas.tistory.com/category/OS not sure what the flags were for but copied the DLL into the folder and it appears to run

git clone https://github.com/cisco/openh264.git
cd openh264
export "CFLAGS=-fno-stack-protector"
export "LDFLAGS=-lssp"
make
  • also had to apply this fix for AR etc in platform-mingw_nt.mk folder
find / -iname "platform-mingw_nt.mk" -exec sed 's/x86_64-w64-mingw32-//g' -i.bak '{}' ;
youtube-dl -f bestvideo+bestaudio "link to youtube video"

If that gives you an error, try the following instead:

youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 "link to youtube video"

Here you download the best video and audio separately and then merge into a, in this case mp4 file. You can change the output format on the merged video as well.


Comments

Subscribe to the comments RSS feed.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?