From cf8a3f15ee1c80b874be10cbdd34496b84560f59 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 14 Jan 2025 22:48:35 +0100 Subject: Sort guides up a bit --- guides/ffmpeg.org | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 guides/ffmpeg.org (limited to 'guides/ffmpeg.org') diff --git a/guides/ffmpeg.org b/guides/ffmpeg.org deleted file mode 100644 index eded0e9..0000000 --- a/guides/ffmpeg.org +++ /dev/null @@ -1,22 +0,0 @@ -ffmpeg recipes I should stuff into config files or scripts, but -haven't yet. -* Extracting parts of videos -~-c copy -map 0~ ensures all streams (audio & subtitles) are kept. -The timestamp syntax is described in the "Time duration" section of -=ffmpeg-utils(1)=; =MM:SS= works fine. - -#+begin_src sh -ffmpeg -i $input -c copy -map 0 \ - -ss $tstart -to $tend \ - $output -#+end_src - -* Reduce file size -** with =-vf=: ~-vf "scale=iw/2:ih/2"~ -** with H.265 -openSUSE Tumbleweed's ffmpeg is not built with H.265 support AFAICT. - -1. Install =libx265-devel= -2. Clone =https://git.ffmpeg.org/ffmpeg.git= -3. ~./configure --enable-libx265 --enable-gpl~ -4. ~ffmpeg -i $input -vcodec libx265 -crf 28~ -- cgit v1.2.3