convert mkv to h264 mp4 (could detect if codec need changes to go faster)
This commit is contained in:
parent
59daa6c50e
commit
6a25da7a36
|
@ -61,7 +61,7 @@ for yurl in $(cat ~/.zen/tmp/tiddlers.json | jq -r '.[].text' | grep 'http'); do
|
|||
ZFILE="$TITLE.mp4"
|
||||
echo "$ZFILE"
|
||||
|
||||
[[ ! -f "$HOME/.zen/tmp/tube/$ZFILE" ]] && ffmpeg -i "$HOME/.zen/tmp/tube/$TITLE.mkv" –c:v h264 "$HOME/.zen/tmp/tube/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4
|
||||
[[ ! -f "$HOME/.zen/tmp/tube/$ZFILE" ]] && ffmpeg -i "$HOME/.zen/tmp/tube/$TITLE.mkv" -c:v libx264 -c:a aac "$HOME/.zen/tmp/tube/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4
|
||||
[[ ! -f "$HOME/.zen/tmp/tube/$ZFILE" ]] && echo "No FILE -- EXIT --" && exit 1
|
||||
echo
|
||||
|
||||
|
|
Loading…
Reference in New Issue