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
No comments:
Post a Comment