aboutsummaryrefslogtreecommitdiffstats
path: root/lvc/resources/converters/others.py
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2017-09-11 17:47:17 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2017-09-11 17:47:17 -0500
commit14738704ede6dfa6ac79f362a9c1f7f40f470cdc (patch)
tree31c83bdd188ae7b64d7169974d6f066ccfe95367 /lvc/resources/converters/others.py
parenteb1896583afbbb622cadcde1a24e17173f61904f (diff)
downloadlibrevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.lz
librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.xz
librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.zip
rename mvc at lvc
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]