👷🏻♀️ determine length of mp3s via mutagen, not by file size
This commit is contained in:
parent
1d173aa45a
commit
a18c1706c0
4 changed files with 12 additions and 10 deletions
|
@ -10,7 +10,7 @@ def generate_test_file(fn, delta):
|
|||
'ffmpeg',
|
||||
'-f', 'lavfi',
|
||||
'-i', 'sine=frequency=1000:duration=%d' % delta.total_seconds(),
|
||||
'-b:a', '%dk' % Config.kbits,
|
||||
'-b:a', '%dk' % 128,
|
||||
fn
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue