How to encode a nice long Webm with sound easily.
How to encode a good quality webm file from a movie with a small file size.
How to encode a good quality webm file from a movie with a small file size.
How to have a persistent progress bar in MPV.
How to encode a WebM file in the best possible quality.
How to use the yt-dlp script to download the subtitles file from a Youtube video. This would be a very useful Youtube trick.
How to encode a very good quality WebM file using vp9 codec and OPUS audio. This is very useful indeed.
This is a very useful Bash shell script, this will create a Webm clip from a movie. This shows how to get parameters in a Bash script easily. #!/bin/bash while [[ "$#" -gt 0 ]]; do case $1 in -f|–filename) filename="$2"; shift ;; -t|–timestamp) timestamp="$2"; shift ;; -o|–outfile) outfile="$2"; shift ;; *) echo "Unknown … Read more
To rip a good quality Webm from a movie, this one-liner will work, this will encode with sound and very high-quality video in small file size. ffmpeg -i Matrix.mkv -c:v libvpx -b:v 2700k -ss 00:02:30 -t 15 -c:a libvorbis -b:a 384k -sn -copyts -threads 4 swat3.webmffmpeg -i Matrix.mkv -c:v libvpx -b:v 2700k -ss 00:02:30 -t … Read more
Rip a Youtube video to a good quality Webm with FFmpeg This very useful command will get a Youtube video and rip a certain timeframe from the video to a good quality WebM file. Create a Webm with FFmpeg. ┌──[[email protected]]─[~/Videos] └──╼ ╼ $ ffmpeg -ss 00:00:55 -to 00:01:05 -i `yt-dlp -g -f bestvideo GbPK2VCarvU` -threads … Read more
Extracting an excerpt from a video is very useful, this is how to do it. The command below extracts an excerpt from a video at 00:00:05 to 00:00:15. This is scaled to 640×360 pixels and is good quality. ┌──[[email protected]]─[~/Videos] └──╼ ╼ $ ffmpeg -v 1 -i agropromfun.mp4 -ss 00:00:05 -to 00:00:15 -c:v libvpx -crf 4 … Read more
This simple one-liner will capture a high-quality webm file from a movie. 4.4 Thu May 07 jason@Yog-Sothoth 0: $ ffmpeg -i inputmovie.avi -ss 51:43.02 -t 7 -c:v libvpx -b:v 3200k -an -sn -copyts -threads 4 guns1.webm4.4 Thu May 07 jason@Yog-Sothoth 0: $ ffmpeg -i inputmovie.avi -ss 51:43.02 -t 7 -c:v libvpx -b:v 3200k -an -sn … Read more
Converting a short video clip to a small webm file is very easy. Firstly, do this as part 1 of the two pass encoding process. ffmpeg -i BarakaClip.mkv -c:v libvpx -deadline good -cpu-used 5 -b:v 1000K -qmax 50 -an -f null -ffmpeg -i BarakaClip.mkv -c:v libvpx -deadline good -cpu-used 5 -b:v 1000K -qmax 50 -an … Read more
How to create a transparent webm file using ffmpeg ffmpeg -i "transparent.gif" -c:v libvpx -qmin 0 -qmax 18 -crf 9 -b:v 1400K -quality good -cpu-used 0 -auto-alt-ref 0 -pix_fmt yuva420p -an -sn -metadata title="Transparent Webm." "Transparent.webm"ffmpeg -i "transparent.gif" -c:v libvpx -qmin 0 -qmax 18 -crf 9 -b:v 1400K -quality good -cpu-used 0 -auto-alt-ref 0 -pix_fmt … Read more
To encode a section of a movie file to a high-quality webm file, use this simple addon for mpv. Firstly run this command to create a directory to put the lua script. mkdir -p ~/.config/mpv/scriptsmkdir -p ~/.config/mpv/scripts Then download the required script to the directory we created. This is located on this Github. https://github.com/ekisu/mpv-webm. wget … Read more
Record your Linux desktop to a video file and showcase it on Youtube To get a simple desktop recording of your Linux desktop for teaching purposes or any other use, just follow this guide. This command below. will record a high-quality video file of your Linux desktop to an MKV file. It will automatically get … Read more
Record your desktop to a video fileRecord your desktop with sound Record your desktop to a video file To record a good quality video of your Linux desktop, there are many ways to do this. The ffmpeg utility will be a natural choice for what we need. Run the command below to start recording a … Read more
I made this webm using ffmpeg. Firstly, I ripped a section of video. ffmpeg -i starwars.mkv -vcodec copy -acodec copy -ss 00:19:23 -to 00:19:33 out.mkvffmpeg -i starwars.mkv -vcodec copy -acodec copy -ss 00:19:23 -to 00:19:33 out.mkv Then I did the first pass of two pass encoding. ffmpeg -i out.mkv -c:v libvpx-vp9 -pass 1 -qmin 0 … Read more
This is how to create a nice webm using FFmpeg on Linux. Firstly, capture the section of the video you wish to be encoded as a webm. This command will strip out a section of video from 00:09:23 to 00:09:33 and save it in the same format as the existing file. jason@jason-desktop:~/Videos$ ffmpeg -i total.mkv … Read more
The /g/ wiki has a good guide for creating webm video clips from your existing video content using ffmpeg. This is not very difficult and allows you to post the completed videos on your website. Firefox and Iceweasel have native support for the webm format; this is an easy way for you to post video … Read more
This is how to encode a video to webm format without sound to create a GIF replacement. The ffmpeg utility allows encoding a video in different formats. This is the perfect command for encoding a good quality webm video. ffmpeg -i gzdoom_2012_11_04_20_34_10_391.avi -ss 00:01:00.000 -to 00:01:20.000 \ -codec:v libvpx -quality good -cpu-used 0 -b:v 500k … Read more