Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-18-2017, 05:04 AM
#1
Member
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102
Rep:
error while trying to connect to stream via http/https using vlc
when i tried connect to audio stream (perfectly work on windows vlc) via http (
http://anon.fm:8000/radio ) i had an error:
Code:
Your input can't be opened:
VLC is unable to open the MRL 'http://anon.fm:8000/radio'. Check the log for details.
in log:
Code:
http error: cannot connect to anon.fm:8000
core error: read error: Resource temporarily unavailable
http error: failed to read answer
vlc was compiled using slackbuild and properly work with another web protocols (rtmp for examle)
10-18-2017, 06:09 AM
#2
Member
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914
It works and sounds fine here:
Code:
chris@d6:~$ vlc http://anon.fm:8000/radio
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-12716-gbec643e42c)
[0000000001893578] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f458c0009d8] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
Perhaps you could run it with verbose output for more indication of what may be wrong? Like:
Code:
vlc -v http://anon.fm:8000/radio
or
Code:
vlc -vv http://anon.fm:8000/radio
2 members found this post helpful.
10-18-2017, 06:24 AM
#3
Member
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102
Original Poster
Rep:
Quote:
Originally Posted by
chris.willing
Code:
vlc -v http://anon.fm:8000/radio
Quote:
Originally Posted by
chris.willing
Code:
vlc -vv http://anon.fm:8000/radio
Code:
bash-4.3$ vlc -v http://anon.fm:8000/radio
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-12716-gbec643e)
[00000000023b2a08] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f4d78001208] core stream error: connection failed: Connection refused
[00007f4d78001208] http stream error: cannot connect to anon.fm:8000
QObject::~QObject: Timers cannot be stopped from another thread
Code:
bash-4.3$ vlc -vv http://anon.fm:8000/radio
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-12716-gbec643e)
[000000000198da08] core libvlc debug: VLC media player - 3.0.0-git Vetinari
[000000000198da08] core libvlc debug: Copyright © 1996-2017 the VideoLAN team
[000000000198da08] core libvlc debug: revision 2.2.0-git-12716-gbec643e
[000000000198da08] core libvlc debug: configured with ./configure '--prefix=/usr' '--libdir=/usr/lib64' '--sysconfdir=/etc' '--mandir=/usr/man' '--docdir=/usr/doc/vlc-20170523_bec643e' '--localstatedir=/var' '--build=x86_64-slackware-linux' '--enable-qt=5' '--disable-wayland' '--enable-merge-ffmpeg' '--enable-libva=no' '--with-kde-solid=no' 'build_alias=x86_64-slackware-linux' 'CFLAGS=-O2 -fPIC' 'LDFLAGS=' 'CXXFLAGS=-O2 -fPIC' 'PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
[000000000198da08] core libvlc debug: searching plug-in modules
[000000000198da08] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[000000000198da08] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[000000000198da08] core libvlc debug: plug-ins loaded: 481 modules
[000000000198da08] core libvlc debug: opening config file (/home/lonekeeper/.config/vlc/vlcrc)
[000000000198dd78] core logger debug: looking for logger module matching "any": 3 candidates
[000000000198dd78] core logger debug: using logger module "console"
[000000000198da08] core libvlc debug: translation test: code is "C"
[0000000001a14a38] core keystore debug: looking for keystore module matching "memory": 4 candidates
[0000000001a14a38] core keystore debug: using keystore module "memory"
[000000000198da08] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0000000001a1b208] core input debug: Creating an input for 'Media Library'
[0000000001a1b208] core input debug: Input is a meta file: disabling unneeded options
[0000000001a1b208] core input debug: using timeshift granularity of 50 MiB
[0000000001a1b208] core input debug: using default timeshift path
[0000000001a1b208] core input debug: `file/xspf-open:///home/lonekeeper/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/lonekeeper/.local/share/vlc/ml.xspf'
[0000000001a5a8c8] core input source debug: creating demux: access='file' demux='xspf-open' location='/home/lonekeeper/.local/share/vlc/ml.xspf' file='/home/lonekeeper/.local/share/vlc/ml.xspf'
[0000000001a5aa58] core demux debug: looking for access_demux module matching "file": 20 candidates
[0000000001a5aa58] core demux debug: no access_demux modules matched
[0000000001a654e8] core stream debug: creating access: file:///home/lonekeeper/.local/share/vlc/ml.xspf
[0000000001a654e8] core stream debug: (path: /home/lonekeeper/.local/share/vlc/ml.xspf)
[0000000001a654e8] core stream debug: looking for access module matching "file": 26 candidates
[0000000001a654e8] core stream debug: using access module "filesystem"
[0000000001a662b8] core stream debug: looking for stream_filter module matching "prefetch,cache_read": 11 candidates
[0000000001a662b8] cache_read stream debug: Using stream method for AStream*
[0000000001a662b8] cache_read stream debug: starting pre-buffering
[0000000001a662b8] cache_read stream debug: received first data after 0 ms
[0000000001a662b8] cache_read stream debug: pre-buffering done 296 bytes in 0s - 5161 KiB/s
[0000000001a662b8] core stream debug: using stream_filter module "cache_read"
[0000000001a67278] core stream debug: looking for stream_filter module matching "any": 11 candidates
[0000000001a67278] lua stream debug: Trying Lua scripts in /home/lonekeeper/.local/share/vlc/lua/playlist
[0000000001a67278] lua stream debug: Trying Lua scripts in /usr/share/vlc/lua/playlist
[0000000001a67278] core stream debug: no stream_filter modules matched
[0000000001a67278] core stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[0000000001a67278] core stream_directory debug: no stream_directory modules matched
[0000000001a5a8c8] core input source debug: attachment of directory-extractor failed for file:///home/lonekeeper/.local/share/vlc/ml.xspf
[0000000001a6d228] core stream debug: looking for stream_filter module matching "record": 11 candidates
[0000000001a6d228] core stream debug: using stream_filter module "record"
[0000000001a5a8c8] core input source debug: creating demux: access='file' demux='xspf-open' location='/home/lonekeeper/.local/share/vlc/ml.xspf' file='/home/lonekeeper/.local/share/vlc/ml.xspf'
[0000000001a6d898] core demux debug: looking for demux module matching "xspf-open": 69 candidates
[0000000001a6d898] xspf demux debug: using XSPF playlist reader
[0000000001a6d898] core demux debug: using demux module "playlist"
[0000000001a6e918] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000000001a6e918] lua demux meta debug: Trying Lua scripts in /home/lonekeeper/.local/share/vlc/lua/meta/reader
[0000000001a6e918] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000000001a6e918] core demux meta debug: no meta reader modules matched
[0000000001a1b208] core input debug: `file/xspf-open:///home/lonekeeper/.local/share/vlc/ml.xspf' successfully opened
[0000000001a787a8] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000000001a787a8] core xml reader debug: using xml reader module "xml"
[0000000001a6d898] xspf demux debug: parsed 0 tracks successfully
[0000000001a1b208] core input debug: EOF reached
[0000000001a6d898] core demux debug: removing module "playlist"
[0000000001a6d228] core stream debug: removing module "record"
[0000000001a662b8] core stream debug: removing module "cache_read"
[0000000001a654e8] core stream debug: removing module "filesystem"
[0000000001a18a18] core playlist debug: creating audio output
[0000000001a65358] core audio output debug: looking for audio output module matching "any": 6 candidates
[0000000001a65358] pulse audio output debug: using library version 9.0.0
[0000000001a65358] pulse audio output debug: (compiled with version 9.0.0, protocol 31)
[0000000001a65358] pulse audio output debug: connected locally to /tmp/pulse-M3m9jPkSGvxb/native as client #14
[0000000001a65358] pulse audio output debug: using protocol 31, server protocol 31
[0000000001a65358] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[0000000001a65358] core audio output debug: using audio output module "pulse"
[0000000001a18a18] core playlist debug: keeping audio output
[0000000001aa20b8] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[0000000001aa20b8] core interface debug: using interface module "hotkeys"
[0000000001aa2c28] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[0000000001aa2c28] core interface debug: using interface module "xcb_hotkeys"
[0000000001aa3c88] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000000001aa3c88] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000001aa3c88] core interface debug: using interface module "dbus"
[000000000198da08] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000001aa7828] core interface debug: looking for interface module matching "any": 18 candidates
[00007fcc240bceb8] core generic debug: looking for extension module matching "any": 1 candidates
[00007fcc240bceb8] lua generic debug: Opening Lua Extension module
[00007fcc240bceb8] lua generic debug: Trying Lua scripts in /home/lonekeeper/.local/share/vlc/lua/extensions
[00007fcc240bceb8] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007fcc240bceb8] core generic debug: using extension module "lua"
[00007fcc24314018] core probe debug: looking for services probe module matching "any": 10 candidates
[00007fcc24314018] core probe debug: no services probe modules matched
[0000000001aa7828] qt interface debug: Sorting by column -1, order 0
[0000000001aa7828] qt interface debug: Sorting by column -1, order 0
[0000000001aa7828] core interface debug: using interface module "qt"
[0000000001a18a18] core playlist debug: processing request item: null, node: Playlist, skip: 0
[0000000001a18a18] core playlist debug: rebuilding array of current - root Playlist
[0000000001a18a18] core playlist debug: rebuild done - 1 items, index -1
[0000000001a18a18] core playlist debug: starting playback of new item
[0000000001a18a18] core playlist debug: resyncing on radio
[0000000001a18a18] core playlist debug: radio is at 0
[0000000001a18a18] core playlist debug: creating new input thread
[00007fcc0c0009d8] core input debug: Creating an input for 'radio'
[0000000001a18a18] core playlist debug: requesting art for new input thread
[00007fcc0c0009d8] core input debug: using timeshift granularity of 50 MiB
[00007fcc0c0009d8] core input debug: using default timeshift path
[00007fcc0c0009d8] core input debug: `http://anon.fm:8000/radio' gives access `http' demux `any' path `anon.fm:8000/radio'
[00007fcc04000d48] core input source debug: creating demux: access='http' demux='any' location='anon.fm:8000/radio' file='(null)'
[00007fcc04000eb8] core demux debug: looking for access_demux module matching "http": 20 candidates
[00007fcc04000eb8] core demux debug: no access_demux modules matched
[00007fcc040011c8] core stream debug: creating access: http://anon.fm:8000/radio
[00007fcc040011c8] core stream debug: looking for access module matching "http": 26 candidates
[00007fcbf4000978] core meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007fcbf4000978] lua meta fetcher debug: Trying Lua scripts in /home/lonekeeper/.local/share/vlc/lua/meta/fetcher
[00007fcbf4000978] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007fcbf4000978] core meta fetcher debug: no meta fetcher modules matched
[00007fcbf4000978] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007fcbf4000978] lua art finder debug: Trying Lua scripts in /home/lonekeeper/.local/share/vlc/lua/meta/art
[00007fcbf4000978] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007fcbf4000978] core art finder debug: no art finder modules matched
[00007fcc040011c8] connmgr stream debug: resolving anon.fm ...
[0000000001aa7828] qt interface debug: IM: Setting an input
[00007fcc040011c8] connmgr stream debug: outgoing request:
GET /radio HTTP/1.1
Host: anon.fm:8000
Accept: */*
Accept-Language: en_US
User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
Range: bytes=0-
[00007fcc040011c8] connmgr stream debug: incoming response:
HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-br:192
ice-audio-info: channels=2;samplerate=44100;bitrate=192
icy-description:Radio Anonymous
icy-genre:radio
icy-name:Radio Anonymous
icy-pub:1
icy-url:http://anon.fm
Server: Icecast 2.3.3-kh3
Cache-Control: no-cache
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
[00007fcc040011c8] core stream debug: no access modules matched
[00007fcc040011c8] core stream debug: redirecting to: icyx://anon.fm:8000/radio
[00007fcc040011c8] core stream debug: creating access: icyx://anon.fm:8000/radio
[00007fcc040011c8] core stream debug: looking for access module matching "icyx": 26 candidates
[00007fcc040011c8] http stream debug: querying proxy for icyx://anon.fm:8000/radio
[00007fcc040011c8] http stream debug: no proxy
[00007fcc040011c8] http stream debug: http: server='anon.fm' port=8000 file='/radio'
[00007fcc040011c8] core stream debug: net: connecting to 127.0.0.1 port 1080 (SOCKS) for anon.fm port 8000
[00007fcc040011c8] core stream error: connection failed: Connection refused
[00007fcc040011c8] http stream error: cannot connect to anon.fm:8000
[00007fcc040011c8] core stream debug: no access modules matched
[0000000001a18a18] core playlist debug: dead input
[0000000001a18a18] core playlist debug: changing item without a request (current 0/1)
[0000000001a18a18] core playlist debug: nothing to play
[0000000001aa7828] qt interface debug: IM: Deleting the input
[000000000198da08] core libvlc debug: exiting
[000000000198da08] core libvlc debug: exiting
[000000000198da08] core libvlc debug: removing all interfaces
[0000000001aa7828] core interface debug: removing module "qt"
[0000000001a18a18] core playlist debug: deactivating the playlist
[0000000001a65358] core audio output debug: removing module "pulse"
[0000000001aa7828] qt interface debug: requesting exit...
[0000000001aa7828] qt interface debug: waiting for UI thread...
[0000000001aa7828] qt interface debug: QApp exec() finished
[0000000001aa7828] qt interface debug: Video is not needed anymore
[0000000001aa7828] qt interface debug: Playlist Destroyed
[0000000001aa7828] qt interface debug: Killing extension dialog provider
[0000000001aa7828] qt interface debug: ExtensionsDialogProvider is quitting...
[00007fcc240bceb8] core generic debug: removing module "lua"
[0000000001aa3c88] core interface debug: removing module "dbus"
[0000000001aa2c28] core interface debug: removing module "xcb_hotkeys"
[0000000001aa20b8] core interface debug: removing module "hotkeys"
[0000000001a18a18] core playlist debug: destroying
[0000000001aa5978] core playlist export debug: saving media library to file /home/lonekeeper/.local/share/vlc/ml.xspf.tmp30649
[0000000001aa5978] core playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0000000001aa5978] core playlist export debug: using playlist export module "export"
[0000000001aa5978] core playlist export debug: removing module "export"
[0000000001a18a18] core playlist debug: deleting item `Media Library'
[0000000001a18a18] core playlist debug: deleting item `radio'
[0000000001a18a18] core playlist debug: deleting item `Playlist'
[0000000001a14a38] core keystore debug: removing module "memory"
QObject::~QObject: Timers cannot be stopped from another thread
10-18-2017, 06:36 AM
#4
Member
Registered: Apr 2004
Distribution: Slackware
Posts: 308
Quote:
Originally Posted by
sithun
Code:
[00007fcc040011c8] core stream debug: net: connecting to 127.0.0.1 port 1080 (SOCKS) for anon.fm port 8000
[00007fcc040011c8] core stream error: connection failed: Connection refused
[00007fcc040011c8] http stream error: cannot connect to anon.fm:8000
[00007fcc040011c8] core stream debug: no access modules matched
You have a proxy configured somewhere, if not in your VLC configuration then in an environment variable (likely ALL_PROXY), but the proxy server isn't running.
1 members found this post helpful.
10-18-2017, 06:45 AM
#5
Member
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914
For the section of your -vv output which is:
Code:
[00007fcc040011c8] core stream debug: no access modules matched
[00007fcc040011c8] core stream debug: redirecting to: icyx://anon.fm:8000/radio
[00007fcc040011c8] core stream debug: creating access: icyx://anon.fm:8000/radio
[00007fcc040011c8] core stream debug: looking for access module matching "icyx": 26 candidates
[00007fcc040011c8] http stream debug: querying proxy for icyx://anon.fm:8000/radio
[00007fcc040011c8] http stream debug: no proxy
[00007fcc040011c8] http stream debug: http: server='anon.fm' port=8000 file='/radio'
[00007fcc040011c8] core stream debug: net: connecting to 127.0.0.1 port 1080 (SOCKS) for anon.fm port 8000
[00007fcc040011c8] core stream error: connection failed: Connection refused
[00007fcc040011c8] http stream error: cannot connect to anon.fm:8000
my output is
Code:
[00007ff3b0001208] core stream debug: no access modules matched
[00007ff3b0001208] core stream debug: redirecting to: icyx://anon.fm:8000/radio
[00007ff3b0001208] core stream debug: creating access: icyx://anon.fm:8000/radio
[00007ff3b0001208] core stream debug: looking for access module matching "icyx": 26 candidates
[00007ff3b0001208] http stream debug: querying proxy for icyx://anon.fm:8000/radio
[00007ff3b0001208] http stream debug: no proxy
[00007ff3b0001208] http stream debug: http: server='anon.fm' port=8000 file='/radio'
[00007ff3b0001208] core stream debug: net: connecting to anon.fm port 8000
[00007ff3b0001208] core stream debug: connection succeeded (socket = 21)
In particular, where yours says
Code:
net: connecting to 127.0.0.1 port 1080 (SOCKS) for anon.fm port 8000
mine says
Code:
net: connecting to anon.fm port 8000
Looks like you have some proxy thing happening which confuses vlc.
(like I now see that CTM just mentioned)
chris
Last edited by chris.willing; 10-18-2017 at 06:47 AM .
Reason: CTM
1 members found this post helpful.
10-18-2017, 06:46 AM
#6
Member
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102
Original Poster
Rep:
Quote:
Originally Posted by
CTM
You have a proxy configured somewhere, if not in your VLC configuration then in an environment variable (likely ALL_PROXY), but the proxy server isn't running.
yes i have a tor proxy. but it is on 9050 port. it strange cause vlc successfully connect to rtmp server. is there any way to change 1080 port to 9050?
ALL_PROXY is empty
Code:
bash-4.3$ $ALL_PROXY
bash-4.3$
10-18-2017, 06:50 AM
#7
Member
Registered: Apr 2004
Distribution: Slackware
Posts: 308
Quote:
Originally Posted by
sithun
yes i have a tor proxy. but it is on 9050 port. it strange cause vlc successfully connect to rtmp server. is there any way to change 1080 port to 9050?
In VLC, Tools -> Preferences -> Show settings "All" -> Input / Codecs -> SOCKS proxy.
1 members found this post helpful.
10-18-2017, 06:53 AM
#8
Member
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102
Original Poster
Rep:
Quote:
Originally Posted by
CTM
In VLC, Tools -> Preferences -> Show settings "All" -> Input / Codecs -> SOCKS proxy.
oh, thanks you a lot! it's helped!
10-18-2017, 06:53 AM
#9
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
Quote:
Originally Posted by
sithun
ALL_PROXY is empty
Code:
bash-4.3$ $ALL_PROXY
bash-4.3$
You would need to echo $ALL_PROXY to find out what is in there.
Beyond that, I don't know since I have little experience with proxies.
1 members found this post helpful.
All times are GMT -5. The time now is 03:30 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News