aboutsummaryrefslogtreecommitdiffstats
path: root/lvc/basicconverters.py
diff options
context:
space:
mode:
Diffstat (limited to 'lvc/basicconverters.py')
-rw-r--r--lvc/basicconverters.py20
1 files changed, 19 insertions, 1 deletions
diff --git a/lvc/basicconverters.py b/lvc/basicconverters.py
index 2390282..807021f 100644
--- a/lvc/basicconverters.py
+++ b/lvc/basicconverters.py
@@ -41,6 +41,14 @@ class WebM_VP9(converter.FFmpegConverterInfo):
'-b:v 0 -acodec libopus -map_metadata -1')
+class WebM_VP8(converter.FFmpegConverterInfo):
+ media_type = 'format'
+ extension = 'webm'
+ parameters = ('-f webm -vcodec libvpx -g 240 -threads 8 '
+ '-quality good -crf 32 '
+ '-b:v 0 -acodec libvorbis -map_metadata -1')
+
+
class MP4(converter.FFmpegConverterInfo):
media_type = 'format'
extension = 'mp4'
@@ -150,10 +158,20 @@ webm_uhd = WebM_UHD('WebM UHD')
webm_hd = WebM_HD('WebM HD')
webm_sd = WebM_SD('WebM SD')
webm_vp9 = WebM_VP9('WebM VP9')
+webm_vp8 = WebM_VP8('WebM VP8')
mp4 = MP4('MP4')
theora = OggTheora('Ogg Theora')
-video_formats = ('Video', [webm_uhd, webm_hd, webm_sd, webm_vp9, mp4, theora])
+video_formats = ('Video',
+ [
+ webm_uhd,
+ webm_hd,
+ webm_sd,
+ webm_vp9,
+ webm_vp8,
+ mp4,
+ theora
+ ])
dnxhd_1080 = DNxHD_1080('DNxHD 1080p')
dnxhd_720 = DNxHD_720('DNxHD 720p')