I was thinking about this is well, but writing code that re-encodes every
single file before I play it seems not the right way to go about it :)

Martin

2012/3/17 Brandon Casci <[email protected]>

>
> I experience this with some mp3's.
>
>
> Two things to try.
>
> First run vbrfix on the file in question and see if liquidsoap will play
> it. If not then just for fun, take that ogg file, convert it to a wav, then
> convert the wav to ogg. See if liquidsoap will play that one.
>
> On Mar 17, 2012, at 9:49 PM, Martin Konečný <
> [email protected]> wrote:
>
> Hi Guys,
>
> We've noticed that Liquidsoap refuses to play certain songs, where other
> media players have no problem.
>
> http://dev.sourcefabric.org/browse/CC-3428
>
> There is a file attached in this ticket as an example:
>
>
> martin@Thinkpad-T410:~$ liquidsoap
> 'output.alsa(audio_to_stereo(single("/home/martin/jim.ogg")))'
> Invalid value at line 1, char 36-57:
>   Could not get a valid media file of kind {audio=1+;video=0;midi=0} from
> "/home/martin/jim.ogg".
>
>
>  Any idea why Liquidsoap refuses to play this (I'm assuming it is using
> the standard Vorbis libraries as other players are)?
>
> martin@Thinkpad-T410:~$ sudo dpkg -l | grep vorbis
> ii  libvorbis-dev                        1.3.1-1+squeeze1
>   The Vorbis General Audio Compression Codec (development files)
> ii  libvorbis-ocaml                      0.5.1-1+b1
>   OCaml bindings for vorbis library
> ii  libvorbis-ocaml-dev                  0.5.1-1+b1
>   OCaml bindings for the vorbis library
> ii  libvorbis0a                          1.3.1-1+squeeze1
>   The Vorbis General Audio Compression Codec (Decoder library)
> ii  libvorbisenc2                        1.3.1-1+squeeze1
>   The Vorbis General Audio Compression Codec (Encoder library)
> ii  libvorbisfile3                       1.3.1-1+squeeze1
>   The Vorbis General Audio Compression Codec (High Level API)
> ii  vorbis-tools                         1.4.0-1
>  several Ogg Vorbis tools
>
>
> This happens on Liquidsoap 1.0 as well as the latest Liquidsoap from the
> hg repository
>
> martin@Thinkpad-T410:~/workspace/savonet$ hg log -r tip
> changeset:   3065:6e8a95e78fba
> branch:      LS-512
> tag:         tip
> user:        Romain Beauxis <[email protected]>
> date:        Wed Mar 14 20:36:34 2012 -0500
>
>
> --
> 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
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>


-- 
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
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to