Record
A browser-based screen recorder with picture-in-picture support
Basic syntax for re-encoding a video file did take me some time to memorize, but... | Hacker News
Basic syntax for re-encoding a video file did take me some time to memorize, but isn't in fact too hard:
ffmpeg <Input file(s)> <Codec(s)> <MAPping of streams> <Video Filters> output_file
- input file: -i, can be repeated for multiple input files, like so:
ffmpeg -i file1.mp4 -i file2.mkv
If there is more than one input file then some mapping is needed to decide what goes out in the output file.
- codec: -c:x where x is the type of codec (v: video, a: audio or s:subtitles), followed by its name, like so:
-c:v libx265
I usually never set the audio codec as the guesses made by ffmpeg, based on output file type, are always right (in my experience), but deciding the video codec is useful, and so is the subtitles codec, as not all containers (file formats) support all codecs; mkv is the most flexible for subtitles codecs.
- mapping of streams: -map
: : , like so:
-map 0:v:0 -map 1:a:1 -map 1:a:0 -map 1:s:4
Map tells ffmpeg what stream from the input files to put in the output file. The first number is the position of the input file in the command, so if we're following the same example as above, '0' would be 'file1.mp4' and '1' would be 'file2.mkv'. The parameter in the middle is the stream type (v for video, a for audio, s for subtitles). The last number is the position of the stream IN THE INPUT FILE (NOT in the output file).
The position of the stream in the output file is determined by the position of the map command in the command line, so for example in the command above we are inverting the position of the audio streams (taken from 'file2.mkv'), as audio stream 1 will be in first position in the output file, and audio stream 0 (the first in the second input file) will be in second position in the output file.
This map thing is for me the most counter-intuitive because it's unusual for a CLI to be order-dependent. But, well, it is.
- video filters: -vf
Video filters can be extremely complex and I don't pretend to know how to use them by heart. But one simple video filter that I use often is 'scale', for resizing a video:
-vf scale=:
width and height can be exact values in pixels, or one of them can be '-1' and then ffmpeg computes it based on the current aspect ratio and the other provided value, like this for example:
-vf scale=320:-1
This doesn't always work because the computed value should be an even integer; if it's not, ffmpeg will raise an error and tell you why; then you can replace the -1 with the nearest even integer (I wonder why it can't do that by itself, but apparently, it can't).
And that's about it! ffmpeg options are immense, but this gets me through 90% of my video encoding needs, without looking at a manual or ask an LLM. (The only other options I use often are -ss and -t for start time and duration, to time-crop a video.)
FFmpeg By Example
Explore the depth of FFmpeg with Examples
Fix Your Webcam Setup for Webinars and Video Recordings - Wistia Blog
Learn how to fix your webcam setup with the best equipment (lights, camera, microphone) and the techniques to keep your viewers and attendees engaged with your recordings and webinars.
While buying a full video lighting kit (or rigging up a DIY video lighting kit) is an option, a simple lamp or LED light can work as a fill light in a pinch. Point it away from your face and toward a brightly colored wall to bounce light around the room. This is exactly how the pros do it!
https://support.apple.com/guide/mac-help/use-iphone-as-a-webcam-mchl77879b8a/mac
https://wistia.com/learn/production/best-iphone-camera-settings-for-video
GitHub - enlightened-perl-organisation/Conference_Video: Tracking the Conference Video Initiative
Tracking the Conference Video Initiative. Contribute to enlightened-perl-organisation/Conference_Video development by creating an account on GitHub.
GitHub - paulirish/lite-youtube-embed: A faster youtube embed.
A faster youtube embed. Contribute to paulirish/lite-youtube-embed development by creating an account on GitHub.
The Best iPhone 15 Pro Max Camera Settings for Video in 2023 - Wistia Blog
We'll walk you through everything you should turn on or off in the iPhone's camera settings app.
- Switch to 4k resolution
- Shoot at 24 frames per second
- Turn off “HDR Video”
- Turn on “Grid”
- Turn off “View Outside Frame”
- Turn on “Macro Control”
Accessible HTML Video “Facades”. One of the biggest problems in building… | by Jason Knight | Apr, 2023 | Medium
One of the biggest problems in building fast loading websites is that a lot of times you’re stuck using third party assets that are — to be brutally frank — utter and total shite. Topping the list of…
In praise of ffmpeg
ffmpeg has been described as the Swiss army knife of multimedia. It incorporates hundreds of video, audio, and image decoders and encoders, muxers and demuxers, filters and devices. It provides a CLI and a set of libraries for working with its tools, and is the core component of many video and audio players as a result (including my preferred multimedia player, mpv). If you want to do almost anything with multimedia files — re-encode them, re-mux them, live stream it, whatever — ffmpeg can handle it with ease.
mpv.io
a free, open source, and cross-platform media player
9 Side Hustle Tools That Will Blow Your Mind | by Nitin Sharma | The Startup | Aug, 2022 | Medium
Previously, individuals were focused on making money through factories (such as the textile industry), and then businesses; subsequently, they were focused on startups, and now on building side…
-
Medusa
allows developers to create scalable and sophisticated commerce setups with less work and a high level of developer experience, and it is free forever.
You can use Gumroad if you have no programming skills. I use it to effortlessly sell my digital items, and it just takes a commission on each sale. -
Mixkit
The majority of my friends who upload videos to YouTube pay an annual subscription cost since they aren’t even aware of Mixkit.
You may also utilize Pexels, which I’ve tried before and think is worth mentioning. -
Canva
5.Quillbot
Runner Workout | Emma Coburn’s Prerun Warmup
- Standing Banded Half Moon Drill
- Standing Banded Diagonal Leg Extension
- Banded Lateral Walk
- Knee Drive Drill
- Bird Dog
- Single-Leg Glute Bridge
Build a Classic Layout FAST in CSS Grid - YouTube
For years, we've struggled to build resilient layouts on the web, but CSS Grid promises to change all that — and you can start using it now, with only a few properties and basic concepts. Learn how to build some previously-complex layouts in under 10 minutes, with only a few lines of code. Miriam Suzanne walks you through a practical demo.
Super SloMo fun. Or how you can make awesome YouTube videos with AI
Super SloMo fun. Or how you can make awesome YouTube videos with AI
CSS Grid in 45 Minutes!
Wes Bos
Published on Aug 23, 2018
SUBSCRIBE 65K
This is a talk I did at Laracon on CSS Grid. If you want to learn more about CSS Grid, take my free course at https://CSSGrid.io. Slides for this talk available at https://wesbos.github.io/css-grid-talk - Enjoy!
James Hill Plays Michael Jackson's "Billie Jean" on the Ukulele: Watch One Musician Become a Complete Band | Open Culture
James Hill, an award-winning ukulele player and songwriter from Canada, has been called a "ukulele wunderkind," and an artist who "gives the ukulele its dignity back without ever taking himself too seriously." The video above puts Hill's lighter side and wunderkind talents on full display.
Performing live for a crowd in California, Hill and his "imaginary band" perform an enchanting version of Michael Jackson's "Billie Jean." With just a uke, Hill plays the bass line, percussion, and piano parts. Put it all together, and you have a fascinating one-man ukulele performance. But wait until you see what he can do with a uke, chopsticks and comb...
A Free Yale Course on Medieval History: 700 Years in 22 Lectures | Open Culture
In 22 lectures, Yale historian Paul Freedman takes you on a 700 year tour of medieval history. Moving from 284–1000 AD, this free online course covers "the conversion of Europe to Christianity, the fall of the Roman Empire, the rise of Islam and the Arabs, the 'Dark Ages,' Charlemagne and the Carolingian renaissance, and the Viking and Hungarian invasions." And let's not forget St. Augustine and the "Splendor of Byzantium."
You can stream all of the lectures above. Or also find them on YouTube, iTunes and this Yale website.
FOSS Alternatives to Popular Proprietary Software
YouTube - PeerTube, https://joinpeertube.org/en/home/
Twitter - Mastodon, https://mastodon.social/about
Adobe InDesign - Scribus, https://www.scribus.net/
David Golden - "Taking Perl to Eleven with Higher-Order Functions"
The Perl Conference 2018
Transformation helper function
Data::Fake
John Anderson - "Introduction to Git for non-developers"
The Perl Conference 2018
-
Revision Control System: track changes
-
~4:30: "This stuff should be taught in schools. If you are not teaching students version control you are doing them a vast disservice. I am super tired of having to spend the first month of onboarding every new junior developer on how to use git."
-
~5:20 Git is not only for code! He talks about text changes, but I think it is also good for tracking binary file changes (but you can't tell the differences).
-
~9:30 git config
-
~15:20 - staging area allows you to build up commits - confusing for newbies
-
Talk lasts 30 minutes, and then questions: (git rebase)