fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[audio.git]
/
apps
/
archive
/
tasks.py
diff --git
a/apps/archive/tasks.py
b/apps/archive/tasks.py
index
941bbc6
..
bbabe6c
100755
(executable)
--- a/
apps/archive/tasks.py
+++ b/
apps/archive/tasks.py
@@
-157,13
+157,13
@@
class Mp3Task(AudioFormatTask):
def encode(in_path, out_path):
# 44.1kHz 64kbps mono MP3
subprocess.check_call(['ffmpeg',
def encode(in_path, out_path):
# 44.1kHz 64kbps mono MP3
subprocess.check_call(['ffmpeg',
- '-i', in_path,
+ '-i', in_path
.encode('utf-8')
,
'-ar', '44100',
'-ab', '64k',
'-ac', '1',
'-y',
'-acodec', 'libmp3lame',
'-ar', '44100',
'-ab', '64k',
'-ac', '1',
'-y',
'-acodec', 'libmp3lame',
- out_path
+ out_path
.encode('utf-8')
])
@classmethod
])
@classmethod
@@
-190,11
+190,11
@@
class OggTask(AudioFormatTask):
def encode(in_path, out_path):
# 44.1kHz 64kbps mono Ogg Vorbis
subprocess.check_call(['ffmpeg',
def encode(in_path, out_path):
# 44.1kHz 64kbps mono Ogg Vorbis
subprocess.check_call(['ffmpeg',
- '-i', in_path,
+ '-i', in_path
.encode('utf-8')
,
'-ar', '44100',
'-ab', '64k',
'-ac', '1',
'-y',
'-acodec', 'libvorbis',
'-ar', '44100',
'-ab', '64k',
'-ac', '1',
'-y',
'-acodec', 'libvorbis',
- out_path
+ out_path
.encode('utf-8')
])
])