-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
[решено] Не показывает rtsp в VLC (liblive555_plugin.so)
Доброго дня.
Не проигрывает VLC rtsp-потоки с видео, на предыдущей версии ROSA показывает нормально.
Предполагаю, что из-за
cannot load module `/usr/lib64/vlc/plugins/access/liblive555_plugin.so’ (/usr/lib64/libliveMedia.so.79: undefined symbol: TLS_client_method)
—- чуть лога
[00007f8d8c000c80] main input debug: Creating an input for ‘rtsp://192.168.xxx.xxx:8554/live1.264’
[0000000000606810] main playlist debug: requesting art for new input thread
[00007f8d8c000c80] main input debug: using timeshift granularity of 50 MiB
[00007f8d8c000c80] main input debug: using default timeshift path
[00007f8d8c000c80] main input debug: `rtsp://192.168.xxx.xxx:8554/live1.264′ gives access `rtsp’ demux `any’ path `192.168.xxx.xxx:8554/live1.264′
[00007f8d90000fa0] main input source debug: creating demux: access=’rtsp’ demux=’any’ location=’192.168.xxx.xxx:8554/live1.264′ file='(null)’
[00007f8d90001130] main demux debug: looking for access_demux module matching «rtsp»: 17 candidates
[00007f8d88000c20] main meta fetcher debug: looking for meta fetcher module matching «any»: 1 candidates
[00007f8d88000c20] lua meta fetcher debug: Trying Lua scripts in /home/xxx/.local/share/vlc/lua/meta/fetcher
[00007f8d88000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher
[00007f8d88000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f8d88000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f8d88000c20] main art finder debug: looking for art finder module matching «any»: 2 candidates
[00007f8d90001130] main demux warning: cannot load module `/usr/lib64/vlc/plugins/access/liblive555_plugin.so’ (/usr/lib64/libliveMedia.so.79: undefined symbol: TLS_client_method)
[00007f8d90001130] main demux debug: no access_demux modules matched
[00007f8d90002090] main stream debug: creating access: rtsp://192.168.xxx.xxx:8554/live1.264
[00007f8d90002090] main stream debug: looking for access module matching «rtsp»: 29 candidates
[00007f8d88000c20] lua art finder debug: Trying Lua scripts in /home/xxx/.local/share/vlc/lua/meta/art
[00007f8d88000c20] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art
[00007f8d88000c20] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
[00007f8d90002090] satip stream debug: try to open ‘rtsp://192.168.xxx.xxx:8554/live1.264’
[00007f8d90002090] satip stream debug: connect to host ‘192.168.xxx.xxx’
[00007f8d90002090] main stream debug: net: connecting to 192.168.xxx.xxx port 8554
[00007f8d88000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
[00007f8d88000c20] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
[00007f8d88000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
[00007f8d88000c20] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
[00007f8d88000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
[00007f8d88000c20] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
[00007f8d88000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
[00007f8d88000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f8d88000c20] main art finder debug: no art finder modules matched
[00007f8d90002090] main stream debug: connection succeeded (socket = 26)
[0000000000665b40] qt interface debug: IM: Setting an input
[00007f8d90002090] main stream debug: net: opening 0.0.0.0 datagram port 9426
[00007f8d90002090] main stream debug: net: opening 0.0.0.0 datagram port 9427
[000000000064d480] pulse audio output debug: changing sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Встроенное аудио Аналоговый стерео)
—
Последний раз редактировалось tihij 03 дек 2021, 23:36, всего редактировалось 1 раз.
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 15 ноя 2021, 23:01
Забыл добавить, что заканчивается попытка подключения следующими строками
—
[00007fed780020d0] satip stream error: read error: Operation now in progress
[00007fed780020d0] satip stream error: Failed to setup RTSP session
[00007fed780020d0] main stream debug: net: connecting to 192.168.xxx.xxx port 8554
[00007fed780020d0] main stream debug: connection succeeded (socket = 17)
[00007fed780020d0] access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0
[00007fed780020d0] access_realrtsp stream debug: rtsp connected
[00007fed780020d0] access_realrtsp stream warning: only real/helix rtsp servers supported for now
[00007fed780020d0] main stream debug: no access modules matched
—
-
irton
- Сообщения: 396
- Зарегистрирован: 30 окт 2021, 04:17
- Operating system: PuppyRus linux
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
irton » 17 ноя 2021, 05:46
Этот плагин есть, в пакете vlc-plugins-main. Можт пакет не установлен?
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 17 ноя 2021, 19:39
# rpm -qa | grep vlc
vlc-plugin-upnp-3.0.16-9.x86_64
vlc-plugin-kate-3.0.16-9.x86_64
vlc-plugin-wayland-3.0.16-9.x86_64
vlc-plugin-vdpau-3.0.16-9.x86_64
vlc-plugin-vaapi-3.0.16-9.x86_64
vlc-plugin-lua-3.0.16-9.x86_64
vlc-plugin-libass-3.0.16-9.x86_64
vlc-plugin-gnutls-3.0.16-9.x86_64
vlc-plugin-dv-3.0.16-9.x86_64
vlc-plugin-schroedinger-3.0.16-9.x86_64
vlc-plugin-mpc-3.0.16-9.x86_64
vlc-3.0.16-9.x86_64
vlc-plugin-sdl-3.0.16-9.x86_64
vlc-plugin-ncurses-3.0.16-9.x86_64
vlc-plugin-opengl-3.0.16-9.x86_64
vlc-plugin-main-3.0.16-9.x86_64
vlc-plugin-rist-3.0.16-9.x86_64
vlc-plugin-shout-3.0.16-9.x86_64
vlc-plugin-flac-3.0.16-9.x86_64
vlc-plugin-fluidsynth-3.0.16-9.x86_64
vlc-plugin-opus-3.0.16-9.x86_64
vlc-plugin-pulse-3.0.16-9.x86_64
vlc-plugin-speex-3.0.16-9.x86_64
vlc-plugin-theora-3.0.16-9.x86_64
vlc-plugin-twolame-3.0.16-9.x86_64
lib64vlccore9-3.0.16-9.x86_64
lib64vlc5-3.0.16-9.x86_64
—
libliveMedia, возможно собрана без поддержки TLS.
Судя по форумам была подобная ошибка в начале года в upstream, но её быстро исправили.
-
ArturS
- Сообщения: 66
- Зарегистрирован: 22 окт 2021, 14:46
- Operating system: Rosa Desktop
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
ArturS » 17 ноя 2021, 19:48
tihij писал(а): ↑
14 ноя 2021, 00:36
Не проигрывает VLC rtsp-потоки с видео, на предыдущей версии ROSA показывает нормально.
Подскажите, как Вы это смотрите? Просто интересно.
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 17 ноя 2021, 19:54
# vlc —verbose=2 «rtsp://192.168.xxx.xxx:8554/live1.264»
-
irton
- Сообщения: 396
- Зарегистрирован: 30 окт 2021, 04:17
- Operating system: PuppyRus linux
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
irton » 18 ноя 2021, 15:35
Нашел в чем проблема, отдал на тестирование
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 18 ноя 2021, 23:13
Спасибо. Жду обновления.
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 26 ноя 2021, 08:37
Не успело протестироваться?
-
irton
- Сообщения: 396
- Зарегистрирован: 30 окт 2021, 04:17
- Operating system: PuppyRus linux
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
irton » 26 ноя 2021, 15:09
Неа, не от меня зависит, у них свой график но говорят работает
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 27 ноя 2021, 16:33
Ясно. Спасибо за информацию.
-
tihij
- Сообщения: 38
- Зарегистрирован: 14 ноя 2021, 00:28
- Operating system: ROSA Linux R12
Не показывает rtsp в VLC (liblive555_plugin.so)
Сообщение
tihij » 03 дек 2021, 23:34
После сегодняшнего обновления vlc заработал с rtsp (пришлось ещё снять туннелирование через HTTP, по умолчанию).
Спасибо. Тему можно закрывать.
Hi
I have two identical Ubuntu 14.04.2 LTS instances, both running as virtual machines, except one is on my mac and another one is on a real server at the datacentre running as openvz container. The exercise is to get rtsp cameras streaming live to a website as html5 video. VM that is on my mac does that successfully, however the one at the datacentre doesn’t want to work at all.
For testing purposes, I simplified the command I’m running to a minimum
Code: Select all
cvlc rtsp://user:pass@camera.hostname.net:port/videoMain
I know the link is alright because it works on the aforementioned VM and everywhere else.
Now, when I run it on the server at the DC, I get the following:
Code: Select all
[0x1a85468] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x1bb1558] main interface error: no suitable interface module
[0x19acb18] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1bb1558] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x1bb1558] main interface error: no suitable interface module
[0x19acb18] main libvlc error: interface "dbus,none" initialization failed
[0x1bb1558] dummy interface: using the dummy interface module...
[0x7f48dc000e58] live555 demux error: Nothing to play for rtsp://xxxx:xxxx@xxxx:xxxx/videoMain
[0x7f48dc000e38] main access error: cannot resolve xxxx port 0 : Name or service not known
[0x7f48dc000e38] access_realrtsp access error: cannot connect to xxxx:0
[0x7f48dc000e38] main access error: Connection failed
[0x7f48dc000e38] main access error: VLC could not connect to "xxxx:0".
[0x7f48e4000a88] main input error: open of `rtsp://xxxx:xxxx@xxxx:xxxx/videoMain' failed
[0x7f48e4000a88] main input error: Your input can't be opened
[0x7f48e4000a88] main input error: VLC is unable to open the MRL 'rtsp://xxxx:xxxx@xxxx:xxxx/videoMain'. Check the log for details.
Whereas when I run it on the working instance of Ubuntu, I get same warnings as above except ‘live555 demux error’, then it starts playing as Ascii art in the terminal window!
Below is a more verbose command and it’s output. This actually works on the vm at home and I can stream the video to website.
Code: Select all
vlc-user@camserv:~$ cvlc -vvv rtsp://xxxx:xxxx@xxxx:xxxx/videoMain --sout '#transcode{vcodec=theo,vb=1024}:standard{mux=ogg,dst=localhost:9000,access=http}'
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x219cb18] main libvlc debug: VLC media player - 2.1.6 Rincewind
[0x219cb18] main libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0x219cb18] main libvlc debug: revision 2.1.6-0-gea01d28
[0x219cb18] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=0ubuntu14.04.1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
[0x219cb18] main libvlc debug: searching plug-in modules
[0x219cb18] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x219cb18] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x219cb18] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0x219cb18] main libvlc debug: plug-ins loaded: 426 modules
[0x219cb18] main libvlc debug: opening config file (/home/vlc-user/.config/vlc/vlcrc)
[0x219cb18] main libvlc debug: translation test: code is "C"
[0x219cb18] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU
[0x21c8968] main input debug: Creating an input for 'Media Library'
[0x21c8968] main input debug: Input is a meta file: disabling unneeded options
[0x21c8968] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x21c8968] main input debug: `file/xspf-open:///home/vlc-user/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/vlc-user/.local/share/vlc/ml.xspf'
[0x21c8968] main input debug: creating demux: access='file' demux='xspf-open' location='/home/vlc-user/.local/share/vlc/ml.xspf' file='/home/vlc-user/.local/share/vlc/ml.xspf'
[0x21b6ba8] main demux debug: looking for access_demux module matching "file": 20 candidates
[0x21b6ba8] main demux debug: no access_demux modules matched
[0x21c8968] main input debug: creating access 'file' location='/home/vlc-user/.local/share/vlc/ml.xspf', path='/home/vlc-user/.local/share/vlc/ml.xspf'
[0x21ba2b8] main access debug: looking for access module matching "file": 25 candidates
[0x21ba2b8] filesystem access debug: opening file `/home/vlc-user/.local/share/vlc/ml.xspf'
[0x21ba2b8] main access debug: using access module "filesystem"
[0x2263ca8] main stream debug: Using stream method for AStream*
[0x2263ca8] main stream debug: starting pre-buffering
[0x2263ca8] main stream debug: received first data after 0 ms
[0x2263ca8] main stream debug: pre-buffering done 296 bytes in 0s - 19270 KiB/s
[0x2264908] main stream debug: looking for stream_filter module matching "any": 9 candidates
[0x2264908] main stream debug: no stream_filter modules matched
[0x2264908] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x2264908] main stream debug: using stream_filter module "record"
[0x21c8968] main input debug: creating demux: access='file' demux='xspf-open' location='/home/vlc-user/.local/share/vlc/ml.xspf' file='/home/vlc-user/.local/share/vlc/ml.xspf'
[0x2266e58] main demux debug: looking for demux module matching "xspf-open": 63 candidates
[0x2266e58] playlist demux debug: using XSPF playlist reader
[0x2266e58] main demux debug: using demux module "playlist"
[0x22670a8] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0x22670a8] lua demux meta debug: Trying Lua scripts in /home/vlc-user/.local/share/vlc/lua/meta/reader
[0x22670a8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x22670a8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x22670a8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x22670a8] main demux meta debug: no meta reader modules matched
[0x21c8968] main input debug: `file/xspf-open:///home/vlc-user/.local/share/vlc/ml.xspf' successfully opened
[0x2270188] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0x2270188] main xml reader debug: using xml reader module "xml"
[0x2266e58] playlist demux debug: parsed 0 tracks successfully
[0x21c8968] main input debug: EOF reached
[0x2266e58] main demux debug: removing module "playlist"
[0x2264908] main stream debug: removing module "record"
[0x21ba2b8] main access debug: removing module "filesystem"
[0x21b0608] main playlist debug: creating audio output
[0x2275778] main audio output debug: looking for audio output module matching "any": 6 candidates
[0x2275778] pulse audio output debug: using library version 4.0.0
[0x2275778] pulse audio output debug: (compiled with version 4.0.0, protocol 28)
[0x2275778] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x2275778] alsa audio output debug: Available ALSA PCM devices:
[0x2275778] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null)
[0x2275778] main audio output debug: using audio output module "alsa"
[0x21b0608] main playlist debug: keeping audio output
[0x21b0608] main playlist debug: adding item `rtsp://xxxx:xxxx@xxxx:xxxx/videoMain' ( rtsp://xxxx:xxxx@xxxx:xxxx/videoMain )
[0x21b0608] main playlist debug: no fetch required for (null) (art currently (null))
[0x21b69a8] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[0x21b69a8] main interface debug: using interface module "hotkeys"
[0x21d0a88] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[0x21d0a88] main interface debug: no interface modules matched
[0x21d0a88] main interface error: no suitable interface module
[0x219cb18] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x21d0a88] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[0x21d0a88] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x21d0a88] main interface debug: no interface modules matched
[0x21d0a88] main interface error: no suitable interface module
[0x219cb18] main libvlc error: interface "dbus,none" initialization failed
[0x21d0a88] main interface debug: looking for interface module matching "dummy": 19 candidates
[0x21d0a88] dummy interface: using the dummy interface module...
[0x21d0a88] main interface debug: using interface module "dummy"
[0x21b0608] main playlist debug: processing request item: null, node: Playlist, skip: 0
[0x21b0608] main playlist debug: rebuilding array of current - root Playlist
[0x21b0608] main playlist debug: rebuild done - 1 items, index -1
[0x21b0608] main playlist debug: starting playback of the new playlist item
[0x21b0608] main playlist debug: resyncing on rtsp://xxxx:xxxx@xxxx:xxxx/videoMain
[0x21b0608] main playlist debug: rtsp://xxxx:xxxx@xxxx:xxxx/videoMain is at 0
[0x21b0608] main playlist debug: creating new input thread
[0x7f8ce8000a88] main input debug: Creating an input for 'rtsp://xxxx:xxxx@xxxx:xxxx/videoMain'
[0x7f8ce0000bd8] main stream output debug: using sout chain=`transcode{vcodec=theo,vb=1024}:standard{mux=ogg,dst=localhost:9000,access=http}'
[0x7f8ce0000bd8] main stream output debug: stream=`standard'
[0x7f8ce0001128] main stream out debug: looking for sout stream module matching "standard": 21 candidates
[0x7f8ce0001128] main stream out debug: set config option: sout-standard-mux to ogg
[0x7f8ce0001128] main stream out debug: set config option: sout-standard-dst to localhost:9000
[0x7f8ce0001128] main stream out debug: set config option: sout-standard-access to http
[0x7f8ce0002018] main access out debug: looking for sout access module matching "http": 8 candidates
[0x7f8ce0002018] access_output_http access out warning: "localhost" HTTP host might be ignored in multiple-host configurations, use at your own risks.
[0x7f8ce0002018] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0x7f8ce0002018] main access out debug: net: listening to localhost port 9000
[0x7f8ce0002018] main access out debug: using sout access module "access_output_http"
[0x7f8ce04c9578] main mux debug: looking for sout mux module matching "ogg": 10 candidates
[0x7f8ce04c9578] mux_ogg mux: Open
[0x7f8ce04c9578] main mux debug: using sout mux module "mux_ogg"
[0x7f8ce0000bd8] main stream output debug: muxer support adding stream at any time
[0x7f8ce0000bd8] main stream output debug: muxer prefers to wait for all ES before starting to mux
[0x7f8ce0001128] stream_out_standard stream out debug: using `http/ogg://localhost:9000'
[0x7f8ce0001128] main stream out debug: using sout stream module "stream_out_standard"
[0x7f8ce0000bd8] main stream output debug: stream=`transcode'
[0x7f8ce04c9de8] main stream out debug: looking for sout stream module matching "transcode": 21 candidates
[0x7f8ce04c9de8] main stream out debug: set config option: sout-transcode-vcodec to theo
[0x7f8ce04c9de8] main stream out debug: set config option: sout-transcode-vb to 1024
[0x7f8ce04c9de8] stream_out_transcode stream out debug: codec video=theo 0x0 scaling: 0.000000 1024kb/s
[0x7f8ce04c9de8] main stream out debug: using sout stream module "stream_out_transcode"
[0x7f8ce8000a88] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x7f8ce8000a88] main input debug: `rtsp://xxxx:xxxx@xxxx:xxxx/videoMain' gives access `rtsp' demux `' path `xxxx:xxxx@xxxx:xxxx/videoMain'
[0x7f8ce8000a88] main input debug: creating demux: access='rtsp' demux='' location='xxxx:xxxx@xxxx:xxxx/videoMain' file='(null)'
[0x7f8ce04ccdf8] main demux debug: looking for access_demux module matching "rtsp": 20 candidates
[0x7f8ce04ccdf8] live555 demux debug: version 2014.01.13
Opening connection to 81.136.149.59, port 8090...
...remote connection opened
Sending request: OPTIONS rtsp://xxxx:xxxx@xxxx:xxxx/videoMain RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.1.6 (LIVE555 Streaming Media v2014.01.13)
Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, May 27 2015 15:22:22 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
Sending request: DESCRIBE rtsp://xxxx:xxxx@xxxx:xxxx/videoMain RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.1.6 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 177 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Wed, May 27 2015 15:22:22 GMT
WWW-Authenticate: Digest realm="Foscam IPCam Living Video", nonce="e9d824312e39caefbf082204cf2914d7"
Resending...
Sending request: DESCRIBE rtsp://xxxx:xxxx@xxxx:xxxx/videoMain RTSP/1.0
CSeq: 4
Authorization: Digest username="xxxx", realm="Foscam IPCam Living Video", nonce="e9d824312e39caefbf082204cf2914d7", uri="rtsp://xxxx:xxxx@xxxx:xxxx/videoMain", response="b6e438630ee680a6c80d6b252f4a8bde"
User-Agent: LibVLC/2.1.6 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 687 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, May 27 2015 15:22:22 GMT
Content-Base: rtsp://192.168.1.13:65534/videoMain/
Content-Type: application/sdp
Content-Length: 518
v=0
o=- 1432725631595856 1 IN IP4 192.168.233.233
s=IP Camera Video
i=videoMain
t=0 0
a=tool:LIVE555 Streaming Media v2014.02.10
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:IP Camera Video
a=x-qt-text-inf:videoMain
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:96
a=rtpmap:96 H264/90000
a=range:npt=0-
a=fmtp:96 packetization-mode=1;profile-level-id=000000;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
b=AS:64
a=control:track2
[0x7f8ce04ccdf8] live555 demux warning: RTP subsession 'video/H264' failed (getsockname() error: Bad file descriptor)
[0x7f8ce04ccdf8] live555 demux warning: RTP subsession 'audio/PCMU' failed (getsockname() error: Bad file descriptor)
[0x7f8ce04ccdf8] live555 demux debug: setup start: 0.000000 stop:0.000000
[0x7f8ce04ccdf8] live555 demux error: Nothing to play for rtsp://xxxx:xxxx@xxxx:xxxx/videoMain
[0x7f8ce04ccdf8] main demux debug: no access_demux modules matched
[0x7f8ce8000a88] main input debug: creating access 'rtsp' location='xxxx:xxxx@xxxx:xxxx/videoMain', path='(null)'
[0x7f8ce04d5b28] main access debug: looking for access module matching "rtsp": 25 candidates
[0x7f8ce04d5b28] main access debug: net: connecting to xxxx port 0
[0x7f8ce04d5b28] main access error: cannot resolve xxxx port 0 : Name or service not known
[0x7f8ce04d5b28] access_realrtsp access error: cannot connect to xxxx:0
[0x7f8ce04d5b28] main access error: Connection failed
[0x7f8ce04d5b28] main access error: VLC could not connect to "xxxx:0".
[0x7f8ce04d5b28] access_realrtsp access debug: could not connect to: xxxx:xxxx@xxxx:xxxx/videoMain
[0x7f8ce04d5b28] main access debug: no access modules matched
[0x7f8ce8000a88] main input error: open of `rtsp://xxxx:xxxx@xxxx:xxxx/videoMain' failed
[0x7f8ce8000a88] main input error: Your input can't be opened
[0x7f8ce8000a88] main input error: VLC is unable to open the MRL 'rtsp://xxxx:xxxx@xxxx:xxxx/videoMain'. Check the log for details.
[0x21b0608] main playlist debug: finished input
[0x21b0608] main playlist debug: dead input
[0x7f8ce0000bd8] main stream output debug: destroying useless sout
[0x7f8ce04c9de8] main stream out debug: destroying chain... (name=transcode)
[0x7f8ce04c9de8] main stream out debug: removing module "stream_out_transcode"
[0x7f8ce04c9de8] main stream out debug: destroying chain done
[0x7f8ce0001128] main stream out debug: destroying chain... (name=standard)
[0x7f8ce0001128] main stream out debug: removing module "stream_out_standard"
[0x7f8ce04c9578] main mux debug: removing module "mux_ogg"
[0x7f8ce04c9578] mux_ogg mux: Close
[0x7f8ce0002018] main access out debug: removing module "access_output_http"
[0x7f8ce00034c8] main http host debug: HTTP host removed
[0x7f8ce0002018] access_output_http access out debug: Close
[0x7f8ce0001128] main stream out debug: destroying chain done
[0x21b0608] main playlist debug: changing item without a request (current 0/1)
[0x21b0608] main playlist debug: nothing to play
^C[0x219cb18] main libvlc debug: removing all interfaces
[0x219cb18] main libvlc debug: exiting
[0x21d0a88] main interface debug: removing module "dummy"
[0x21b69a8] main interface debug: removing module "hotkeys"
[0x21b0608] main playlist debug: destroying
[0x21b0608] main playlist debug: deactivating the playlist
[0x2275778] main audio output debug: removing module "alsa"
[0x21c7e48] main playlist export debug: saving Media Library to file /home/vlc-user/.local/share/vlc/ml.xspf
[0x21c7e48] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0x21c7e48] main playlist export debug: using playlist export module "export"
[0x21c7e48] main playlist export debug: removing module "export"
[0x219cb18] main libvlc debug: removing stats
On the working one I don’t get live555 demux warnings.
Both VLC players are 2.1.6 Rincewind
live555 demix version 2014.01.13
At one point there is a 401 Unauthorized error, I get that on both vm’s so it doesn’t prevent from streaming.
Can anyone suggest what may be going on please?
- Печать
Страницы: [1] Вниз
Тема: Подключение к IP камере через VLC (Прочитано 5633 раз)
0 Пользователей и 1 Гость просматривают эту тему.

Длиннорогий
Суток, господа и дамы.
Имеется 2 камеры, расшаренных в сети.
IP 192.168.1.120:13400/13401
Камеры ahd. Стоит пас 1. Подключаюсь через вебморду к ним — все работает. Пробую через VLC
rtsp://admin:1 @192.168.1.120:13400
Получаю:
Connection failed: VLC is unable to open MRL 192.168.1.120:13400
В логе:
live555 demux error: Failed to connect to 192.168.1.120:13400
Я так понимаю, что нужна библиотека live555, которая судя по гуглению имеется в liblivemedia50, которая:
dpkg -l | grep -i live
Но даже не смотря на это, попробовал по этому рецепту поставить свежий отдельный live555, что так же ни к чему не привело. Та же ошибка.
ii libkpathsea6:amd64 2015.20160222.37495-1 amd64 TeX Live: path search library for TeX (runtime part)
ii liblivemedia50:amd64 2016.02.09-1 amd64 multimedia RTSP streaming library
Тогда в чем собственно проблема, не могу понять. Пользую ип камеру первый раз, не в курсе, что да как с этими потоками.

ALiEN175
absalon, а вебка отдаёт поток по указанному адресу? Неплохо было бы скриншот админки приложить
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

Длиннорогий
absalon, а вебка отдаёт поток по указанному адресу? Неплохо было бы скриншот админки приложить
Как доберусь до домашнего пк, дам скрин. Какие настройки нужны? Кроме ип и порта.

ALiEN175
absalon, камера камере рознь. судя по Failed to connect to 192.168.1.120:13400 — камера не отдаёт поток
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

kalek
Во-первых для доступа к видеопотоку зачастую нужен не просто адрес камеры, а более конкретный url — что-нибудь вроде
rtsp://адрес:порт/live/main
или
rtsp://адрес:порт/live1.sdp
что именно писать должно быть указано в документации этой камеры.
А во-вторых
rtsp://admin:1 @192.168.1.120:13400
тут у вас опечатка или вы действительно логин-пароль от адреса пробелом отделяете?

Длиннорогий
absalon, камера камере рознь. судя по Failed to connect to 192.168.1.120:13400 — камера не отдаёт поток
Собственно вот, что нашел из важного:
Поток точно отдает, попробовал на смарте с приложеньки. Показывает отлично.
Во-первых для доступа к видеопотоку зачастую нужен не просто адрес камеры, а более конкретный url — что-нибудь вроде
rtsp://адрес:порт/live/main
илиrtsp://адрес:порт/live1.sdp
что именно писать должно быть указано в документации этой камеры.
А во-вторыхrtsp://admin:1 @192.168.1.120:13400
тут у вас опечатка или вы действительно логин-пароль от адреса пробелом отделяете?
В документации нет ничего, если бы было, сам бы разобрался
Да, отделяю. Смотрел как это делается тут.
UPD. Попробовал не отделять, та же история. Если дело действительно в необходимости некой ссылки в конце, как вы указали, как этот адрес можно пробить, если нет его в документации и в админке? Через TS на андройде показывает оба потока, но там не указана ссылка, просто ип и порт.
« Последнее редактирование: 07 Июля 2017, 12:26:01 от absalon »

gamayun
У меня IP камера дает поток по http://192.168.0.7/video.cgi(то что ввожу в vlc)
т.е. сначала мне пришлось определить её ip в своей сети,а не тот что в инструкции, потом немного погуглил по модели камеры.
как то так
« Последнее редактирование: 07 Июля 2017, 13:22:31 от gamayun »
Не бери в голову

Длиннорогий
В общем проблему я не решил с vlc, но нашел альтернативу. Работает с mplayer-ом. С первого раза запустился поток без проблем.
- Печать
Страницы: [1] Вверх
Do you know why mine would be instantly closing after calling start(mrl, options)? It opens the stream and very quickly shuts it down. Start() instead of play() is the only way I get the stream to open (and it sees the 200 OK repsonse and opens
[0000025b21d28000] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://[IP]/axis-media/media.amp?videocodec=h264 RTSP/1.0
CSeq: 6
Authorization: Digest username=»User», realm=»AXIS_ACCC8EBF7FA1″, nonce=»006a7b30Y2320864de5e08a4197caeefeed11430f0d34d9″, uri=»rtsp://[IP]/axis-media/media.amp/», response=»ff85b9a01755743c49bb320ab818918e»
User-Agent: LibVLC/3.0.4 (LIVE555 Streaming Media v2016.11.28)
Session: 0Y8qlvAaGeQntjn.
Range: npt=0.000-
Received 266 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
RTP-Info: url=rtsp://IP/axis-media/media.amp/stream=0?videocodec=h264;seq=2317;rtptime=558579905
Range: npt=now-
Server: GStreamer RTSP server
Session: 0Y8qlvAaGeQntjn.;timeout=60
Date: Mon, 20 Apr 2020 15:43:24 GMT
[0000025b21d28000] live555 demux debug: We have a timeout of 60 seconds
[0000025b21d28000] live555 demux debug: play start: 0.000000 stop:0.000000
[0000025b21d28000] main demux debug: using access_demux module «live555»
[0000025b21e88560] main decoder debug: looking for packetizer module matching «any»: 48 candidates
[0000025b21e88560] h264 decoder debug: found NAL_SPS (sps_id=0)
[0000025b21e88560] h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[0000025b21e88560] main decoder debug: using packetizer module «h264»
[0000025b21e15860] main input debug: starting in async mode
[0000025b21df4600] main demux meta debug: looking for meta reader module matching «any»: 4 candidates
[0000025b21df4600] lua demux meta debug: Trying Lua scripts in C:UsersMacAppDataRoamingvlcluametareader
[0000025b21df4600] lua demux meta debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametareader
[0000025b21df4600] lua demux meta debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametareaderfilename.luac
[0000025b21df4600] lua demux meta debug: Trying Lua scripts in C:UsersMacAppDataRoamingvlcluametareader
[0000025b21df4600] lua demux meta debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametareader
[0000025b21df4600] lua demux meta debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametareaderfilename.luac
[0000025b21df4600] main demux meta debug: no meta reader modules matched
[0000025b21e15860] main input debug: rtsp://User:Pass@IP/axis-media/media.amp?videocodec=h264' successfully opened [0000025b21e15860] main input debug: switching to sync mode [0000025b21e15860] main input debug: Buffering 0% [0000025b21e88560] main decoder debug: killing decoder fourcc
h264′
[0000025b21e88560] main decoder debug: removing module «h264»
[0000025b21d28000] main demux debug: removing module «live555»
Sending request: TEARDOWN rtsp://[IP]/axis-media/media.amp?videocodec=h264 RTSP/1.0
CSeq: 7
Authorization: Digest username=»User», realm=»AXIS_ACCC8EBF7FA1″, nonce=»006a7b30Y2320864de5e08a4197caeefeed11430f0d34d9″, uri=»rtsp://[IP]/axis-media/media.amp/», response=»7f1aa15d25ad348160c4c5fdff5c39cc»
User-Agent: LibVLC/3.0.4 (LIVE555 Streaming Media v2016.11.28)
Session: 0Y8qlvAaGeQntjn.
[0000025b21e15860] main input debug: Program doesn’t contain anymore ES
[0000025b21e29d70] main stream output debug: destroying useless sout
[0000025b21e2b360] main stream out debug: destroying chain… (name=transcode)
[0000025b21e2b360] main stream out debug: removing module «stream_out_transcode»
[0000025b21e2b360] main stream out debug: destroying chain done
[0000025b21e2afd0] main stream out debug: destroying chain… (name=http)
[0000025b21e2afd0] main stream out debug: removing module «stream_out_standard»
[0000025b21dd6720] main mux debug: removing module «mux_ogg»
[0000025b21dd6720] mux_ogg mux: Close
[0000025b21e29b30] main access out debug: removing module «http»
[0000025b21d28690] main http host debug: HTTP host removed
[0000025b21e29b30] http access out debug: Close
[0000025b21e2afd0] main stream out debug: destroying chain done