Example #1
0
def test_mp3_2_leftright():
    eq_(' '.join(mp3_join((('a', 1000, 0), ('b', 0, 1600)), 'foo.mp3')),
        'ffmpeg -i concat:a|b -codec:a copy -ss 1000 -to 5600 foo.mp3')
Example #2
0
def test_mp3_1_leftright():
    eq_(' '.join(mp3_join((('a', 160, 1600),), 'foo.mp3')),
        'ffmpeg -i concat:a -codec:a copy -ss 160 -to 2000 foo.mp3')
Example #3
0
def test_mp3_2():
    eq_(' '.join(mp3_join((('a', 0, 0), ('b', 0, 0)), 'foo.mp3')),
        'ffmpeg -i concat:a|b -codec:a copy foo.mp3')
Example #4
0
def test_mp3_1():
    eq_(' '.join(mp3_join((('a', 0, 0),), 'foo.mp3')),
        'ffmpeg -i concat:a -codec:a copy foo.mp3')