Save any video stream from kodi by using ffmpeg as an external video player and dumping the stream in the background.
Press c on the keyboard select the play using menu,
and then select ffmpeg-save as external player to record the video in the background.
You can then return to kodi and watch another video while you record a video stream in the background using ffmpeg.
You have to manually quit the ffmpeg process by finding the ffmpeg process id and then quiting it.
# Find the process id
ps aux | grep ffmpeg
# kill the process
sudo kill process-id-from-ps-aux
# or use killalll
sudo killall ffmpeg
Kodi lets you override the built in video player and use an external video player,
by creating a text file called playercorefactory.xml
We will define ffmpeg, rtmpdump, vlc and mpv as external players in the playercorefactory.xml,
which will allow us to record video streams opened from kodi
# Git repo for playercorefactory.xml file and bash scripts
https://github.com/NapoleonWils0n/kodi-playercorefactory
# youtube playlist
https://www.youtube.com/playlist?list=PL7hhhG5qUoXlpmIjqv2eEBukAeJSVNsdX
...
https://www.youtube.com/watch?v=awZYG7NgTok
Freebsd install the latest version of yt-dlp even if you are running quarterly packages.
Quarterly packages are released every 3 months which means the version of yt-dlp will be quite old
freebsd yt-dlp latest release install
https://github.com/NapoleonWils0n/cerberus/blob/master/freebsd/yt-dlp-python-symlink.org
we will manually download the latest release of yt-dlp
however the the yt-dlp shebang points to python3 so we need to fix issue using a symlink and alter our shell path so binaries in our home bin directory override those installed in /usr/local/bin
this will allow applications that use yt-dlp in the backend to use the lastest version instead of the old version installed with pkg
...
https://www.youtube.com/watch?v=CuNL0xuJe2M
Recording tv, movies, sports and music from dexterTV
# Git repo for playercorefactory.xml file and bash scripts
https://github.com/NapoleonWils0n/kodi-playercorefactory
# youtube playlist
https://www.youtube.com/playlist?list=PL7hhhG5qUoXlpmIjqv2eEBukAeJSVNsdX
...
https://www.youtube.com/watch?v=VcZaW4hsc6s
How to use the new bash scripts from the kodi-playercorefactory git repo to record videos
Save the url of the video from kodi by press y on the keyboard while a video is playing in kodi to bring up the play using contextual menu, then selecting the save url option which will echo the url into a text file on your desktop
You can then use one of the bash scripts and pass in the location of the text file with the url of video, as an argument to script and it will download the video in a terminal window in the foreground
# Git repo for playercorefactory.xml file and bash scripts
https://github.com/NapoleonWils0n/kodi-playercorefactory
# youtube playlist
https://www.youtube.com/playlist?list=PL7hhhG5qUoXlpmIjqv2eEBukAeJSVNsdX
...
https://www.youtube.com/watch?v=vDst0NTaPDM
Windows save url command in playercorefactory.xml updated for non english lnguages using new rip-url script
I have changed the windows save url command in the playercorefactory.xml file to use a new script called rip-url which uses the bash date command to add the time and date to the text files with the url from kodi we are saving
Previously i was using the Windows TIME command to add the time and date but this causes problems for people using non english language settings
* Do a git pull to update
* Then copy the new windows playercorefactory.xml file to your kodi userdata folder
* you may need to reboot for windows to pick up the changes
# kodi-playercorefactory git repo
https://github.com/NapoleonWils0n/kodi-playercorefactory
# kodi forum
http://forum.kodi.tv/showthread.php?tid=216111
# Youtube channel
https://www.youtube.com/channel/UCriRR_CzOny-akXyk1R-oDQ
...
https://www.youtube.com/watch?v=ENxrRNj6itU
Create video playlists with Emacs dired using mpv.el with a single keyboard shortcut.
In this video we create some functions that check the mime type of a file and if its an video or audio file open it with mpv.el but if its not we open it with emacs
We then bind the new function to the l key so we can easily add videos or audio to a mpv playlist and control mpv from within emacs using a hydra
the advantage over using the openwith package which use file extension and then opens them with a specific application is that if you create a text file called test.mp4 with an mp4 extension openwith would try and open it with mpv
whereas this code checks the mime type of the file and would see the test.mp4 file its a text file and not a video, and open it with emacs and not mpv
emacs init.el
https://github.com/NapoleonWils0n/fedora-dotfiles/blob/master/.config/emacs/init.el
...
https://www.youtube.com/watch?v=LOvS90sTotI
Hide the firefox.tmp snap directory in ~/Downloads or any other file or folder in linux in GUI applications like Nautilus, command line applications and exclude files from zsh completions
https://github.com/NapoleonWils0n/cerberus/blob/master/firefox/hide-firefox.tmp.org
...
https://www.youtube.com/watch?v=qoryccR6JZU
obs studio jack input source with jackd and jackctl set up
i also cover setting up the mac_priority realtime kernel module on freebsd
obs studio jack set up
https://github.com/NapoleonWils0n/cerberus/blob/master/obs-studio/obs-jack.org
...
https://www.youtube.com/watch?v=trOzzeMyVG4
Rewritten the following scripts using bash functions and arguments to reduce the amount of code by almost half
rip-record, rip-stream, rip-stats, rip-record-reconnect
# kodi-playercorefactory git repo
https://github.com/NapoleonWils0n/kodi-playercorefactory
# Youtube channel
https://www.youtube.com/channel/UCriRR_CzOny-akXyk1R-oDQ
...
https://www.youtube.com/watch?v=Pyw3rT_5440