mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
Disable video feed in ffmpeg's flac conversion
Video feeds may be found in flac files, and the current ffmpeg conversion command does not ignore them, causing beets to fail to convert the file. Add `-vn` to the command line to fix the problem. Fix issue #712.
This commit is contained in:
parent
d96d12440e
commit
db2a2d1e25
2 changed files with 3 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ class ConvertPlugin(BeetsPlugin):
|
|||
u'extension': u'm4a',
|
||||
},
|
||||
u'flac': {
|
||||
u'command': u'ffmpeg -i $source -y -acodec flac $dest',
|
||||
u'command': u'ffmpeg -i $source -y -acodec flac -vn $dest',
|
||||
u'extension': u'flac',
|
||||
},
|
||||
u'mp3': {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ Fixes:
|
|||
non-ASCII characters.
|
||||
* The ``%if{}`` template function now appropriately interprets the condition
|
||||
as false when it contains the string "false". Thanks to Ayberk Yilmaz.
|
||||
* :doc:`/plugins/convert`: Disable a potential video stream in flac files
|
||||
conversion with ffmpeg
|
||||
|
||||
|
||||
1.3.5 (April 15, 2014)
|
||||
|
|
|
|||
Loading…
Reference in a new issue