Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
OGG files with implausibly long durations #281
Logitech Media Server Version: 7.9.1 - 1522157629 @ Fri Mar 30 12:25:29 CEST 2018
The scanner seems to be detecting some OGG files as having implausibly long durations. I'm guessing this might actually be an Audio::Scan bug but
FFmpeg has no problem parsing out the right length from this file:
$ ffprobe /mnt/media/home/media/player/Other/B/Berestez/Kahvi\ Collective\ Archive\ Vol\ 1/Plokcity.ogg
It might be worth noting that all the files that exhibit this behaviour show the 'n bytes of comment header remain' in ffmpeg:
though this may, of course, be a red herring—it seems to be quite common in my random selection of ogg files.
I've dug a bit until I hit Audio::Scan, so I'm guessing this might well be an Audio::Scan bug, but this is the point where my expertise runs out (I know nothing about the internals of audio files), so I thought it'd be worth bringing someone's attention to. As far as I know, the oggs that exhibit this behaviour are freely distributable, so I can send copies of them if useful.
Yes, this sounds like an
Worst case I'd recommend to head over to https://github.com/andygrundman/Audio-Scan and report the issue there.
Yeah, I've just grabbed the latest Audio::Scan out of CPAN and knocked up a minimal test case and it still does it, so I don't think updating will help yet. I should have done that to start with, really. Looks like not your bug—I'll go and report it on Audio::Scan. Will link the issue here when I do. Sorry for wasting your time :-).