From fd1e3af5c097cdf1c2c9f886e5220399fc46729e Mon Sep 17 00:00:00 2001 From: heck Date: Wed, 4 Sep 2024 11:38:01 +0200 Subject: [PATCH] start heckfpv video handling --- bash_profile.d/convenience.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bash_profile.d/convenience.sh b/bash_profile.d/convenience.sh index eaa85d8..1566737 100644 --- a/bash_profile.d/convenience.sh +++ b/bash_profile.d/convenience.sh @@ -19,3 +19,10 @@ function fmatch() { alias yt2mp3='yt-dlp -x --audio-quality 0 --audio-format mp3' + +function heck_ts_to_mp4_replace() { + for i in $(find . | grep .ts$); do { + ffmpeg -i $i -c copy $i.mp4 + mv $i /tmp + }; done +}