From bced7c78f1d0f9a2f21af8d61d893862bac80151 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 1 Dec 2022 10:31:14 +0100 Subject: [PATCH] ffmpeg aliases --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 34d7738..fa3d09f 100644 --- a/zshrc +++ b/zshrc @@ -306,6 +306,10 @@ alias param='fc -l 0 | grep --' alias avi2wav='mplayer -vc dummy -vo null -ao pcm:file=video.wav' ##Modifie la bar de progression du gestionnaire de téléchargement Axel alias axel='axel -a --num-connection=20' +## List video file's subtitles +alias ff.list.subs='ffprobe -loglevel error -select_streams s -show_entries stream=index:stream_tags=language -of csv=p=0' +## List video file's audio stream +alias ff.list.audio='ffprobe -loglevel error -select_streams a -show_entries stream=index:stream_tags=language -of csv=p=0' # Calculatrice en ligne de commande alias caltos='bc'