mpv and ffmpeg screenshots with the timecode in the filename and emacs tips
NapoleonWils0n
mpv can take screenshots of the current playhead position in the video with the s keyboard shortcut, by default the file name of the screenshot will be mpv-shot0001.jpg
the screenshot-template option for mpv lets you customize the screen shot file name so that it contains the video file name and the timecode with hours , minutes, seconds and milliseconds Big-Buck-Bunny-[00:05:30.977]v1.jpg
this lets you see which file the screenshot is from and the exact position in the video
i also cover extracting a frame from a video with ffmpeg using my extract-frame script which i have updated to show the timecode in the output filename
on the emacs side of things i look at a fix for the ob-async package error in senitel process, running org src blocks to execute ffmpeg
extracting a frame from a video and insert the link to the image into a org file and then toggling image display on and off to view the image in emacs
as well as other emacs and mpv settings
mpv config https://github.com/NapoleonWils0n/fedora-dotfiles/tree/master/.config/mpv
emacs init.el https://github.com/NapoleonWils0n/fedora-dotfiles/blob/master/.config/emacs/init.el
emacs mpv.el https://github.com/kljohann/mpv.el
emacs ob-aync.el https://github.com/astahlman/ob-async
arch wiki mpv https://wiki.archlinux.org/title/mpv
ffmpeg scripts https://github.com/NapoleonWils0n/ffmpeg-scripts
extract frame https://raw.githubusercontent.com/NapoleonWils0n/ffmpeg-scripts/master/extract-frame
ffmpeg Skripte https://github.com/NapoleonWils0n/ffmpeg-Skripte
rahmen-extrahieren https://raw.githubusercontent.com/NapoleonWils0n/ffmpeg-Skripte/master/rahmen-extrahieren ... https://www.youtube.com/watch?v=T2As4p3LzlI
156036669 Bytes