From 8568e355a75c272670697784c705630b1164af7c Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 2 May 2019 19:04:07 -0400 Subject: [PATCH] Added some more ffmpeg tricks --- how_to | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/how_to b/how_to index a545947..a00f872 100644 --- a/how_to +++ b/how_to @@ -191,8 +191,13 @@ Suckless sent: Font: Hack -Cut video/audio: - ffmpeg -ss "start" -t "duration" -i input.mp3 -acodec copy output.mp3 +Video and audio editing: + Cut video/audio: + ffmpeg -ss "start" [-t "duration"|-to "end"] -i input.mp3 -acodec copy output.mp3 + Remove audio from video file + ffmpeg -i in.mp4 -an out.mp4 + Nvidia hardware encoding + optirun ffmpeg -i in.mp4 -c:v h264_nvenc -crf 23 out.mp4 RE .net apps: ilspymono (can be empty)