This adds duration testcases for mp3 and mp4 files.
For mp3, it also adds a new test resource.
This empty (silent) mp3 was created using ffmpeg with the following command:
ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t 35 -q:a 9 -acodec libmp3lame resources/test/audio/silent-35s.mp3
With current master the mp4 test fails. Once #141 is merged, it will pass again.
Thank you very much @4censord for this awesome work! Great addition to the project, and yes, now I realized that my own *.mkv collection simply avoided sorting-by-filesize scripted routines :))
This adds duration testcases for mp3 and mp4 files.
For mp3, it also adds a new test resource. This empty (silent) mp3 was created using ffmpeg with the following command:
ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t 35 -q:a 9 -acodec libmp3lame resources/test/audio/silent-35s.mp3
With current master the mp4 test fails. Once #141 is merged, it will pass again.