WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: VLC freezing and not playing on-line radio  (Read 18671 times)

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
VLC freezing and not playing on-line radio
« on: October 05, 2010, 07:53:50 PM »
Hi All,
I have TC 3.1 and have an odd issue with VLC.

I like to listen to sky.fm the best of the 80s.

Now in all of the other distro's that I have on my machine (8 or so), with VLC I simply go to Streaming > Network and enter "http://www.sky.fm/mps/the80s.pls" and it works.

Now when I do this in TC, not only does VLC not play music, it freezes and I have to use XKill to close it.

Any suggestions here?

As always I greatly appreciate whatever help you may provide.

I also should add that I tried TC 2.5 but it didn't work for me, however TC 3.1 is much, much better.


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #1 on: October 06, 2010, 01:54:26 AM »
url appears to return 404. Check it?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: VLC freezing and not playing on-line radio
« Reply #2 on: October 06, 2010, 06:56:37 AM »
in a terminal run
vlc -vvv
then media->open network stream-> enter url->play
failed to open url error, below is the debugging output

no freezing for me

Code: [Select]
[0x909a4ec] main playlist debug: adding item `http://www.sky.fm/mps/the80s.pls' ( http://www.sky.fm/mps/the80s.pls )
[0x8f66ebc] qt4 interface debug: Adding a new MRL to recent ones: http://www.sky.fm/mps/the80s.pls
[0x909a4ec] main playlist debug: rebuilding array of current - root Playlist
[0x909a4ec] main playlist debug: rebuild done - 1 items, index -1
[0x909a4ec] main playlist debug: processing request item http://www.sky.fm/mps/the80s.pls node null skip 0
[0x909a4ec] main playlist debug: resyncing on http://www.sky.fm/mps/the80s.pls
[0x909a4ec] main playlist debug: http://www.sky.fm/mps/the80s.pls is at 0
[0x909a4ec] main playlist debug: starting new item
[0x909a4ec] main playlist debug: creating new input thread
[0x91289a4] main input debug: Creating an input for 'http://www.sky.fm/mps/the80s.pls'
[0x91289a4] main input debug: thread (input) created at priority 10 (input/input.c:214)
[0x8f66ebc] qt4 interface debug: IM: Setting an input
[0x91289a4] main input debug: thread started
[0x91289a4] main input debug: using timeshift granularity of 50 MiB
[0x91289a4] main input debug: using timeshift path '/tmp'
[0x91289a4] main input debug: `http://www.sky.fm/mps/the80s.pls' gives access `http' demux `' path `www.sky.fm/mps/the80s.pls'
[0x91289a4] main input debug: creating demux: access='http' demux='' path='www.sky.fm/mps/the80s.pls'
[0x90e24bc] main demux debug: looking for access_demux module: 0 candidates
[0x90e24bc] main demux debug: no access_demux module matched "http"
[0x90e24bc] main demux debug: TIMER module_need() : 0.303 ms - Total 0.303 ms / 1 intvls (Avg 0.303 ms)
[0x91289a4] main input debug: creating access 'http' path='www.sky.fm/mps/the80s.pls'
[0x90e24bc] main access debug: looking for access module: 2 candidates
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[0x90e24bc] access_http access debug: asking libproxy about url 'http://www.sky.fm/mps/the80s.pls'
[0x90e24bc] access_http access debug: libproxy suggest to use 'direct://'
[0x90e24bc] access_http access debug: http: server='www.sky.fm' port=80 file='/mps/the80s.pls'
[0x90e24bc] main access debug: net: connecting to www.sky.fm port 80
[0x90e24bc] main access debug: connection succeeded (socket = 10)
[0x90e24bc] access_http access debug: protocol 'HTTP' answer code 404
[0x90e24bc] access_http access error: error: HTTP/1.1 404 Not Found
[0x90e24bc] access_http access debug: switching to HTTP version 1.0
[0x90e24bc] main access debug: net: connecting to www.sky.fm port 80
[0x90e24bc] main access debug: connection succeeded (socket = 10)
[0x90e24bc] access_http access debug: protocol 'HTTP' answer code 404
[0x90e24bc] access_http access error: error: HTTP/1.1 404 Not Found
[0x90e24bc] main access debug: net: connecting to www.sky.fm port 80
[0x90e24bc] main access debug: connection succeeded (socket = 10)
[0x90e24bc] access_mms access error: error: HTTP/1.1 404 Not Found
[0x90e24bc] main access debug: no access module matching "http" could be loaded
[0x90e24bc] main access debug: TIMER module_need() : 1562.405 ms - Total 1562.405 ms / 1 intvls (Avg 1562.405 ms)
[0x90e24bc] main access debug: waitpipe: object killed
[0x91289a4] main input error: open of `http://www.sky.fm/mps/the80s.pls' failed: (null)
[0x91289a4] main input debug: thread ended
[0x909a4ec] main playlist debug: dead input
[0x909a4ec] main playlist debug: changing item without a request (current 0/1)
[0x909a4ec] main playlist debug: nothing to play
[0x8f66ebc] qt4 interface debug: IM: Deleting the input
[0x91289a4] main input debug: TIMER input launching for 'http://www.sky.fm/mps/the80s.pls' : 1589.838 ms - Total 1589.838 ms / 1 intvls (Avg 1589.838 ms)
« Last Edit: October 06, 2010, 06:59:09 AM by Arslan S. »

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #3 on: October 06, 2010, 08:33:36 PM »
url appears to return 404. Check it?

Sorry it should be:

"http://www.sky.fm/mp3/the80s.pls"

Now I am experiencing a problem with Alsa.
It seems every time I reboot the settings are lost and I have to reconfigure if I want any sound at all.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #4 on: October 06, 2010, 08:37:00 PM »
Did you follow instructions in .info of alsa?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: VLC freezing and not playing on-line radio
« Reply #5 on: October 07, 2010, 02:21:26 AM »
to store changes and for changes to be persistent do following
Code: [Select]
sudo alsactl store
echo "etc/asound.state" >> /opt/.filetool.lst
echo "sudo alsactl restore" >> /opt/bootlocal.sh
« Last Edit: October 08, 2010, 02:04:29 AM by Arslan S. »

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: VLC freezing and not playing on-line radio
« Reply #6 on: October 07, 2010, 06:13:59 AM »
no sudo for command in bootlocal.sh since it is executed by root
dCore user

aus9

  • Guest
Re: VLC freezing and not playing on-line radio
« Reply #7 on: October 07, 2010, 08:04:22 AM »
hi

ignoring your vlc issue.....are you able to play any sound once you have sorted out your alsa configs thru the browser?

I use the Adobe plugin .....closed source.....plugin is saved to /usr/local/lib/mozilla/plugins and the standard TC firefox

Hopefully after looking at the domain you can navigate to the 80 by clicking on listen now and get this image?


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #8 on: October 07, 2010, 08:40:15 AM »
2 different KISS (Keep It, Simple Stupid) approaches:

Code: [Select]
wget http://www.sky.fm/mp3/the80s.pls && mplayer -playlist the80s.plsFor the first time playing a playlist, from then on:
Code: [Select]
mplayer -v -playlist the80s.plsActs also sort of like a bookmark, having the playlist locally available.

or

Code: [Select]
mplayer -v -playlist http://www.sky.fm/mp3/the80s.pls
Works like a charm with Mplayer-nodeps.   ;D

(I'd guess could work in a similar way with other players, e.g. vlc)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

aus9

  • Guest
Re: VLC freezing and not playing on-line radio
« Reply #9 on: October 07, 2010, 09:11:17 AM »
hi

yep good stuff try mplayer

if it fails can you advise what codec packages you have installed pls?

I am thinking if you play mp3 quality you are likely to need the lame package
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/lame.tcz.info

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #10 on: October 07, 2010, 09:22:12 AM »

if it fails can you advise what codec packages you have installed pls?

I am thinking if you play mp3 quality you are likely to need the lame package
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/lame.tcz.info

Tried booting with 'base' and only installing wireless tools, wireless driver, alsa and Mplayer-nodeps, works fine.   ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

aus9

  • Guest
Re: VLC freezing and not playing on-line radio
« Reply #11 on: October 07, 2010, 06:16:44 PM »
hi

and in similar test of TC with alsa and vlc.....clicking in vlc at Tools then plugins

search term http

initially nothing shows up for me, YMMV if go back into plugins only 2 plugin show up.

On my other distro ...Debian sid...there are 3.....so maybe you will have to stay with mplayer

YMMV

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #12 on: October 08, 2010, 12:11:35 AM »
to store changes and for changes to be persistent do following
Code: [Select]
sudo alsactl store
echo "/etc/asound.state" >> /opt/.filetool.lst
echo "sudo alsactl restore" >> /opt/bootlocal.sh

I opened a terminal and typed in your code verbatim.
Now I can't reboot my computer.
TC gives me an error in /tmp/backup_status

Now what?

How do I fix this???

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #13 on: October 08, 2010, 12:12:52 AM »
2 different KISS (Keep It, Simple Stupid) approaches:

Code: [Select]
wget http://www.sky.fm/mp3/the80s.pls && mplayer -playlist the80s.plsFor the first time playing a playlist, from then on:
Code: [Select]
mplayer -v -playlist the80s.plsActs also sort of like a bookmark, having the playlist locally available.

or

Code: [Select]
mplayer -v -playlist http://www.sky.fm/mp3/the80s.pls
Works like a charm with Mplayer-nodeps.   ;D

(I'd guess could work in a similar way with other players, e.g. vlc)

Oh I can listen to it through the browser, but I really want to use VLC instead.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: VLC freezing and not playing on-line radio
« Reply #14 on: October 08, 2010, 02:04:07 AM »
to store changes and for changes to be persistent do following
Code: [Select]
sudo alsactl store
echo "/etc/asound.state" >> /opt/.filetool.lst
echo "sudo alsactl restore" >> /opt/bootlocal.sh

I opened a terminal and typed in your code verbatim.
Now I can't reboot my computer.
TC gives me an error in /tmp/backup_status

Now what?

How do I fix this???

corrected line
Code: [Select]
echo "etc/asound.state" >> /opt/.filetool.lst