ffmpeg: added vp9 conversion (#1765)

coverage
Starbeamrainbowlabs 2017-12-30 16:03:37 +00:00 committed by GitHub
commit ea598f2737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -25,3 +25,7 @@
- Remux MKV video to MP4 without re-encoding audio or video streams: - Remux MKV video to MP4 without re-encoding audio or video streams:
`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4` `ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4`
- Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:video MUST be 0:
`ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm`