Don't ask for confirmation on ffmpeg commands
This commit is contained in:
parent
a6e89ee5ad
commit
1947eeb785
4
merge.sh
4
merge.sh
@ -2,7 +2,7 @@ processed_intro_path=$PWD/out/intro-processed.mp4
|
||||
processed_outro_path=$PWD/out/outro-processed.mp4
|
||||
|
||||
echo łączenie video z dźwiękiem:
|
||||
ffmpeg -vaapi_device /dev/dri/renderD128 \
|
||||
ffmpeg -y -vaapi_device /dev/dri/renderD128 \
|
||||
-i out/video.mp4 -i $input_mono \
|
||||
-video_track_timescale $timescale \
|
||||
-tune stillimage \
|
||||
@ -41,4 +41,4 @@ echo "file $processed_outro_path" >>out/demuxer-branding.txt
|
||||
|
||||
cat out/demuxer-branding.txt
|
||||
|
||||
ffmpeg -f concat -safe 0 -i out/demuxer-branding.txt -c:v copy -b:a 320k "$final_output"
|
||||
ffmpeg -y -f concat -safe 0 -i out/demuxer-branding.txt -c:v copy -b:a 320k "$final_output"
|
||||
|
6
split.sh
6
split.sh
@ -1,9 +1,9 @@
|
||||
echo dzielimy mp3 na dwa osobne wav
|
||||
ffmpeg -i $input -map_channel 0.0.0 /tmp/left.wav -map_channel 0.0.1 /tmp/right.wav
|
||||
ffmpeg -y -i $input -map_channel 0.0.0 /tmp/left.wav -map_channel 0.0.1 /tmp/right.wav
|
||||
|
||||
echo na dwóch wątkach generujemy surowe pliki
|
||||
ffmpeg -i /tmp/left.wav -ac 1 -filter:a aresample=$aresample -map 0:a -c:a pcm_u8 -f data - >/tmp/leftraw &
|
||||
ffmpeg -i /tmp/right.wav -ac 1 -filter:a aresample=$aresample -map 0:a -c:a pcm_u8 -f data - >/tmp/rightraw &
|
||||
ffmpeg -y -i /tmp/left.wav -ac 1 -filter:a aresample=$aresample -map 0:a -c:a pcm_u8 -f data - >/tmp/leftraw &
|
||||
ffmpeg -y -i /tmp/right.wav -ac 1 -filter:a aresample=$aresample -map 0:a -c:a pcm_u8 -f data - >/tmp/rightraw &
|
||||
|
||||
# czekamy aż obydwa wątki się zakończą
|
||||
wait
|
||||
|
Loading…
Reference in New Issue
Block a user