2011/8/4 okay_awright <[email protected]>:
> Hi everyone, me again :)
Hi!
> I am playing with the latest mercurial sources and I have difficulties
> getting Liquidsoap to play my audio files.
>
> I've got a terse "unable to decode" in the logs. The weird thing is that
> it appears it only happens with tracks that are 'faillible'
> (request.create), but not once they're 'safe' (playlist) though.
>
> Here are the logs:
Could you reproduce with more verbosity using:
set("log.level", 4)
We should be able to understand more in details what is going on..
Romain
> 2011/08/04 22:33:18 >>> LOG START
> 2011/08/04 22:33:18 [protocols.external:3] Didn't find "ufetch".
> 2011/08/04 22:33:18 [protocols.external:3] Found "/usr/bin/wget".
> 2011/08/04 22:33:18 [main:3] Liquidsoap 1.0.0-beta2.1+svn
> (default@feaf0dbdbb2c:20110801:211847)
> 2011/08/04 22:33:18 [main:3] Using: graphics=[distributed with Ocaml]
> pcre=6.1.0 dtools=0.2.1 duppy=0.4.1 duppy.syntax=0.4.1 cry=0.2.1
> mm=0.1.0 xmlplaylist=0.1.2 ogg=0.4.2 vorbis=0.6.0 speex=0.2.0 mad=0.4.2
> flac=0.1.0 flac.ogg=0.1.0 lame=0.2.4 schroedinger=0.1.0 gavl=0.1.3
> ao=0.2.0 samplerate=0.1.1 taglib=0.1.3 magic=0.7.3 camomile=0.8.1
> faad=0.3.0 soundtouch=0.1.5 portaudio=@VERSION ladspa=0.1.2 sdl=0.8.0
> json-wheel=1.0.6
>
> ...
>
> 2011/08/04 22:33:20 [lang:3] get_new_item()
> 2011/08/04 22:33:20 [lang:3] shampoo_ws_getter()
> 2011/08/04 22:33:21 [lang:3] play_queued_track()
> 2011/08/04 22:33:21 [lang:3] update_cue_cut_points()
> 2011/08/04 22:33:21 [lang:3] mark_as_ws_notification_ready()
> 2011/08/04 22:33:21 [decoder:3] Unable to decode
> "d:/Temp/1/6bc033807e9e4612be50ba31eaf7b521_a" as {audio=2;video=0;midi=0}!
> 2011/08/04 22:33:21 [lang:3] get_new_item()
> 2011/08/04 22:33:21 [lang:3] shampoo_ws_getter()
> 2011/08/04 22:33:22 [lang:3] play_queued_track()
> 2011/08/04 22:33:22 [lang:3] update_cue_cut_points()
> 2011/08/04 22:33:22 [lang:3] mark_as_ws_notification_ready()
> 2011/08/04 22:33:22 [decoder:3] Unable to decode
> "d:/Temp/8/77df9158a8226612bf504a3821ccb5748_a" as {audio=2;video=0;midi=0}!
> 2011/08/04 22:33:24 [lang:3] get_new_item()
> 2011/08/04 22:33:24 [lang:3] shampoo_ws_getter()
> 2011/08/04 22:33:25 [lang:3] play_queued_track()
> 2011/08/04 22:33:25 [lang:3] update_cue_cut_points()
> 2011/08/04 22:33:25 [lang:3] mark_as_ws_notification_ready()
> 2011/08/04 22:33:25 [decoder:3] Unable to decode
> "d:/Temp/a/a84c4fa1bb5f4a68adde7fb16c61837a_a" as {audio=2;video=0;midi=0}!
>
> ...
>
> ...and it repeats like that endlessly
>
> with --debug it gives that:
>
> 2011/08/04 23:13:43 [lang:3] get_new_item()
> 2011/08/04 23:13:43 [lang:3] shampoo_ws_getter()
> 2011/08/04 23:13:43 [http.get:4] No network activity for 1.00 second(s).
> 2011/08/04 23:13:44 [lang:3] play_queued_track()
> 2011/08/04 23:13:44 [lang:3] update_cue_cut_points()
> 2011/08/04 23:13:44 [lang:3] mark_as_ws_notification_ready()
> 2011/08/04 23:13:44 [decoder:4] Trying method "META" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder:4] Trying method "WAV" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.wav:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.wav:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "MIDI" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder:4] Trying method "FLAC" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.flac:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.flac:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "AAC" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.aac:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.aac:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "MP4" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.mp4:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.mp4:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "OGG" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.ogg:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.ogg:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "MP3" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder.mp3:4] Invalid MIME type for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a": application/octet-stream!
> 2011/08/04 23:13:44 [decoder.mp3:4] Invalid file extension for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"!
> 2011/08/04 23:13:44 [decoder:4] Trying method "SDL/IMAGE" for
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a"...
> 2011/08/04 23:13:44 [decoder:3] Unable to decode
> "d:/Temp/7/0603734bd44643dabd6066d581364ec7_a" as {audio=2;video=0;midi=0}!
>
>
> Since my Liquidsoap has been compiled under Cygwin, I thought it was
> some kind of file naming problem for request.create(), so I've tried all
> valid conventions (backslashes, slashes, cygdrive prefix, emulated unix
> path), but to no avail.
> I even tried to get the files to play through the http protocol (so
> they're stored in /tmp by wget once fetched.) Same error.
>
> I've also tried some simple built-in Liquidsoap functions to check if
> they are readable when they're not directly taken from a playlist, and
> it appears so.
>
> $ /usr/local/bin/liquidsoap.exe
> 'print(get_mime("d:\Temp\1\6bc033807e9e4612be50ba31eaf7b521_a"))'
> application/octet-stream
> No output defined, nothing to do.
>
> $ /usr/local/bin/liquidsoap.exe
> 'print(get_mime("d:/Temp/1/6bc033807e9e4612be50ba31eaf7b521_a"))'
> application/octet-stream
> No output defined, nothing to do.
>
> $ /usr/local/bin/liquidsoap.exe
> 'print(get_mime("/cygdrive/d/Temp/1/6bc033807e9e4612be50ba31eaf7b521_a"))'
> application/octet-stream
> No output defined, nothing to do.
>
> P.S. those files are valid MP3 or Ogg Vorbis files, and they can be
> played flawlessly within Liquidsoap when read from playlists.
>
> $ mplayer.exe -ao null /cygdrive/d/Temp/1/6bc033807e9e4612be50ba31eaf7b521_a
> MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
> 158 audio & 340 video codecs
>
> Playing /cygdrive/d/Temp/1/6bc033807e9e4612be50ba31eaf7b521_a.
> Audio only file format detected.
> Clip info:
> Title: Testfile 12 T
> Artist: Testfile 12 A
> Album:
> Year: 2010
> Comment:
> Track: 108
> Genre: Blues
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> A: 0.0 (00.0) of 238.0 (03:58.0) ??,?%
>
> A: 0.0 (00.0) of 238.0 (03:58.0) ??,?%
>
> A: 0.0 (00.0) of 238.0 (03:58.0) ??,?%
> Playback stopped
> Exiting... (Quit)
>
>
> P.P.S the Mercurial sources I use are either a few days old or updated
> minutes ago
>
> Does anyone have the same problem? Or did it happen to you before.
> I cannot test it within a proper Unix environment right now, but I guess
> the problem is related to Cygwin. Maybe. Another Cygwin tester here? I'm
> sure it's something simple I've overlooked...
>
> - --
> best regards,
>
> okay_awright
> <okay_awright AT ddcr DOT biz>
> [PGP key on request]
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJOOw4KAAoJEN2X/7ng71pT8RUIALOtEj9I3q9vmk9X4s7z8JAO
> FNb+5tgLG6qMUBCSVK9sWt9nggzUshctvXEbgbmjtj8IhmfWQXBJGicauf749sA3
> 6IGZwYWH3exk1lGNjIvPPqyxeEReSjnMQFDF4eXf3KlGtAdK4ATknKMByIBIv0cJ
> WYDdoKmadSk/2S1I/JZUP1zjTZo/ebLz2fVyOERTomKB9G2KJRa0KpftheejZF3j
> kzExtWELUaNgtvba08AS6oT0Z9Oo2qErh+77aLDUKWEXkDJrDlGb4jOS07pitqMd
> UDk7YDXOh71vbky1FCctEG94dfNFtsyRQLP2KWT0eZfotNzBEdxY26gl9h8EXsE=
> =t9nb
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users