Hey Romain,
So I've decided to implement the following workaround. Before adding to the
Airtime library we'll just check whether Liquidsoap can actually play the
file using
liquidsoap -c 'output.dummy(single("/path/to/media.ogg"))'
and simply check the return value :)
Martin
2012/3/18 Romain Beauxis <[email protected]>
> Hi all,
>
> It turns out that the ogg file is corrupted:
>
> Note: Stream 1 has serial number 0, which is legal but may cause
> problems with some tools.
> New logical stream (#1, serial: 00000000): type vorbis
> WARNING: Hole in data (676 bytes) found at approximate offset 4500
> bytes. Corrupted Ogg.
> Vorbis headers parsed for stream 1, information follows...
>
> There are ways to force liquidsoap to continue decoding after those
> holes but for now it is not implemented, I'll think about it.
>
> 2012/3/17 Brandon Casci <[email protected]>:
> > I generally agree. I'm just suggesting to try it out on one file, just to
> > see if it works. Though in my case I'm dealing with 1TB and counting of
> user
> > contributed audio, so I need to come up with an audio-scrubbing process.
>
> I'd be interested to put my hands one of those mp3 files that fail to
> play w/ liq..
>
> Romain
>
--
Open source radio in the cloud. Get yours now! ---> http://airtime.pro
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users