add vp9 samples

This commit is contained in:
Guillaume Castagnino 2017-06-20 15:46:07 +02:00
parent 43040c1075
commit 28392f077a
1 changed files with 6 additions and 0 deletions

View File

@ -7,3 +7,9 @@ ffmpeg -i L1000001.MOV -i L1000002.MOV -filter_complex "[0:v:0] [0:a:0] [1:v:0]
ffmpeg -i L1000001.MOV -i L1000002.MOV -filter_complex "[0:v:0] scale=-1:720 [v1] ; [1:v:0] scale=-1:720 [v2] ; [v1] [0:a:0] [v2] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -c:v libx264 -preset fast -r 30 -c:a libfdk_aac -b:a 128k -map_metadata 0:g -f mp4 output.mp4
# vp9 (très lent)
ffmpeg -i L1000001.MOV -i L1000002.MOV -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -c:v libvpx-vp9 -speed 6 -cpu-used 8 -threads 16 -r 30 -c:a libvorbis -crf 23 -b:v 0 -b:a 128k -map_metadata 0:g output.webm
ffmpeg -i L1000001.MOV -i L1000002.MOV -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -c:v libvpx-vp9 -crf 30 -b:v 0 -threads 8 -speed 4 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -r 30 -c:a libvorbis -b:a 128k -map_metadata 0:g -f webm output.webm