aboutsummaryrefslogtreecommitdiffstats
path: root/lvc/resources/converters/others.py
diff options
context:
space:
mode:
Diffstat (limited to 'lvc/resources/converters/others.py')
-rw-r--r--lvc/resources/converters/others.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/lvc/resources/converters/others.py b/lvc/resources/converters/others.py
new file mode 100644
index 0000000..13ad3b0
--- /dev/null
+++ b/lvc/resources/converters/others.py
@@ -0,0 +1,20 @@
+from lvc.converter import FFmpegConverterInfo
+
+class PlaystationPortable(FFmpegConverterInfo):
+ media_type = 'other'
+ extension = 'mp4'
+ parameters = ('-b 512000 -ar 24000 -ab 64000 '
+ '-f psp -r 29.97').split()
+
+
+class KindleFire(FFmpegConverterInfo):
+ media_type = 'other'
+ extension = 'mp4'
+ parameters = ('-acodec aac -ab 96k -vcodec libx264 '
+ '-preset slow -f mp4 -crf 22').split()
+
+
+psp = PlaystationPortable('Playstation Portable', 320, 240)
+kindle_fire = KindleFire('Kindle Fire', 1224, 600)
+
+converters = [psp, kindle_fire]