jhspetersson / fselect

Find files with SQL-like queries
https://fselect.rocks
Apache License 2.0
4.02k stars 85 forks source link

Add 'duration' test cases #144

Closed 4censord closed 11 months ago

4censord commented 11 months ago

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.

jhspetersson commented 11 months ago

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 :))