diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-07-02 16:37:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-07-02 16:37:48 +0200 |
commit | 8544def27df3ff4d0ac07b2dfd221f34406227e2 (patch) | |
tree | bf2e66396cfc795d7a84661fac4797b1288fcf37 /backend | |
parent | Allow folks to see their own statistics. (diff) | |
download | zmusic-ng-8544def27df3ff4d0ac07b2dfd221f34406227e2.tar.xz zmusic-ng-8544def27df3ff4d0ac07b2dfd221f34406227e2.zip |
libav no longer ships ffmpeg, so use avconv
Diffstat (limited to 'backend')
-rw-r--r-- | backend/zmusic/endpoints/song.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/zmusic/endpoints/song.py b/backend/zmusic/endpoints/song.py index 25558b9..01c8002 100644 --- a/backend/zmusic/endpoints/song.py +++ b/backend/zmusic/endpoints/song.py @@ -36,7 +36,7 @@ def song(id, ext): if ext not in [ "ogg", "mp3", "flac", "wav", "webm" ]: return abort(404) - transcode_options = [ 'ffmpeg', '-loglevel', 'quiet', '-i', song.filename, '-f', ext, '-y' ]; + transcode_options = [ 'avconv', '-loglevel', 'quiet', '-i', song.filename, '-f', ext, '-y' ]; if ext == "ogg" or ext == "webm": transcode_options.extend([ '-acodec', 'libvorbis', '-aq', '5' ]) elif ext == "mp3": |