Monday, October 27, 2025

How to download and take screenshots from youtube and save it offline using VLC Media Player

So, today, we will learn, how to take ss from online videos and save it offline using VLC Media Player

and terminal in Ubuntu. 


 This article is only for educational purposes. 

1. First. install VLC media player in Ubuntu OS.

2. Then, run these commands to download first, using the terminal.

"sudo apt remove yt-dlp -y

sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp

sudo chmod a+rx /usr/local/bin/yt-dlp"


3. Now, type this command 

"hash -r"

4. Now, this command, "yt-dlp --version"

5. Now, output should be maybe seen as " /usr/local/bin/yt-dlp"

6. Now, check the version  "yt-dlp --version".

7. It should show, the version as the output.

8. Now run this command, 

"yt-dlp -o temp.mp4 "https://www.youtube.com/watch?v=id" \

&& cvlc --video-filter=scene \

--scene-path=/home/username/ss \

--scene-prefix=ytshot \

--scene-format=png \

--scene-ratio=50 \

temp.mp4 vlc://quit

"
9. It should save the screenshot in the mentioned path.

10. It will automatically close after the process is complete.

No comments:

Post a Comment

Understanding the Agentic Capabilities of Gemini 3 Pro

If you thought the jump from Gemini 1.5 to 2.5 was significant, Google’s latest release might just redefine your expectations entirely. Offi...