Code Monkey home page Code Monkey logo

vlc-htsp-plugin's Introduction

I am no longer working on this, primarily because I stopped watching TV and thus using tvheadend.
Also, if you export an m3u playlist of your channels from tvh, and open it in VLC, you have the same set of features
this plugin offers, just without all the weird bugs.

-------------------------------------

Compile using make and put resulting libhtsp_plugin.so somewhere VLC finds it.

Some settings are available for the service discovery. Filter advanced settings for HTS to easily find them.

URL format is htsp://{username{:password}@}server{:port}/channelId

The Service Discovery module is listed under LAN and grabs the channel list from TVH.

vlc-htsp-plugin's People

Contributors

bomi123 avatar btbn avatar charrea6 avatar davispuh avatar seba76 avatar swegener avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vlc-htsp-plugin's Issues

Cant populate the channel list

Hello,
I am unable to get the vlc playlist populated with channels retrieved from tvheadend.

Steps to reproduce:

  • go to the view menu and activate the playlist item.
  • In the playlist window press tab key several times in order to focus tree where available services are displaylist. Playlist is the default.
  • Arrow down to Local network and expand it using the right arrow key.
  • then arrow down to the tvheadend entry and activate it with the enter key.

Expected results:
The vlc playlist should get populated with the list of channels retrieved from tvheadend.

Actual results:
The playlist is remaing empty all the time.

Notes:
I have tried with self compiled module as well as with the module downloaded from your jenkins.
hts protocol connection is working because I can recognize something like this in the vlc log output
htsp debug: Got Message with method channelUpdate
While trying to open another service discovery services for example upnp I am getting this in the output
main debug: adding services_discovery upnp{longname="Universal Plug'n'Play"}...
I am unable to see an entry like this for htsp access module.

Version info and other details:

pvagner@pv-pc:$ uname -a
Linux pv-pc 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
pvagner@pv-pc:
$ cat ~/.config/vlc/vlcrc | grep hts
[htsp] # TVHeadend HTSP Protocol

htsp-port=9982

htsp-host=127.0.0.1

htsp-user=

htsp-pass=

pvagner@pv-pc:$ vlc --version
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
pvagner@pv-pc:
$ /src/tvheadend/build.linux/tvheadend --version
/home/pvagner/src/tvheadend/build.linux/tvheadend: version 3.5.50
g271165a
pvagner@pv-pc:~$ locale
LANG=sk_SK.UTF-8
LANGUAGE=
LC_CTYPE="sk_SK.UTF-8"
LC_NUMERIC="sk_SK.UTF-8"
LC_TIME="sk_SK.UTF-8"
LC_COLLATE="sk_SK.UTF-8"
LC_MONETARY="sk_SK.UTF-8"
LC_MESSAGES="sk_SK.UTF-8"
LC_PAPER="sk_SK.UTF-8"
LC_NAME="sk_SK.UTF-8"
LC_ADDRESS="sk_SK.UTF-8"
LC_TELEPHONE="sk_SK.UTF-8"
LC_MEASUREMENT="sk_SK.UTF-8"
LC_IDENTIFICATION="sk_SK.UTF-8"
LC_ALL=

every few seconds video freeze

Hi,
I am using Gentoo and Vlc compiled from portage (version 2.2.0) and I built htsp from source and then copied
to /usr/lib64/vlc/plugins/access/. the plugin appears on vlc; I receive the channels list from tvheadend 3.9.2706.
When I click the stream starts but it freezes every 2-3 seconds.
I mean, 2-3 seconds of video+audio and then ~1/2 seconds of silence ....
I tried compiling vlc from git but nothing changes; maybe libav or something related to the decoding part?
Do you have some ideas?
thanks

Download the compiled win dll?

I don't suppose some kind person could upload the compiled dll for the latest x64 VLC on Win10 please? I've never compiled anything before and don't have the time to go through it. I'm running the latest stable tvheadend.

Thank you.

Feature Request: Sync VLC timeline with running program

Hi, VDR-Streamdev has this nice feature, VLC shows with in his progres bar the progres of the running program. Maybe it's possible for you to implement this. Ath the moment it just starts counting from the moment when tuned into the channel.

Thank you!

Win x64 plugin needed

Hello,

on my VLC x64 Installation, vlc doesn't show the installed win32 plugin.
For me it looks like I need a x64 Version of the vlc plugin.

Is there anyone who can build an Windows x64 Version of the vlc-htsp-plugin?

Thanks

WinVLCUser

support for new profiles

the git version of TVH supports new server-side defined profiles for transcoding. This implies a simple paramenter 'profile=name' on the url. The old transcoding defined on client-side is gone.

cannot directly open URLs

I'm using the format described in the readme, however I cannot select channels via command line. If I use playlist mode and create a playlist it works, however I'm making a frontend that launches VLC on the specific channel.

This works:

vlc http://media:media@media:9981/stream/channel/18fd35078f95ad0ea95124e48ca5497d

And shows the channel.

Using the VLC GUI and setting the port/username/password then view / playlist / tvheadened HTSP also works.

However, I can't get this working via command line:

This command:

vlc htsp://media:media@media:9982/18fd35078f95ad0ea95124e48ca5497d

Shows

[0000000000916228] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fd014000ea8] htsp demux: HTSP plugin loading...
[00007fd014000ea8] htsp demux: Connected to HTSP Server HTS Tvheadend, version 4.0.9, protocol 20
[00007fd014000ea8] htsp demux: TVHeadend is running a more recent version of HTSP(v20) than we are(v19). Check if there is an update available!
[00007fd014000ea8] htsp demux: Starting authentication...
[00007fd014000ea8] htsp demux: Authenticating as 'media' with a password
[00007fd014000ea8] htsp demux: Sending authentication...
[00007fd014000ea8] htsp demux: Successfully authenticated!
[00007fd014000ea8] htsp demux error: HTSP Error: Channel does not exist
[00007fd014000ea8] htsp demux error: HTSP Error: Requested channel does not exist
[00007fd024000aa8] core input error: open of `htsp://media:media@media:9982/18fd35078f95ad0ea95124e48ca5497d' failed


and TVHeadend output is:

2016-07-29 12:25:10.632 [   INFO] htsp: 192.168.0.2: Welcomed client software: VLC media player (HTSPv19)
2016-07-29 12:25:10.638 [   INFO] htsp: 192.168.0.2 [ VLC media player ]: Identified as user media
2016-07-29 12:25:10.638 [   INFO] htsp: 192.168.0.2 [ media | VLC media player ]: Privileges raised
2016-07-29 12:25:10.648 [   INFO] htsp: 192.168.0.2 [ media | VLC media player ]: Disconnected

Are the channel IDs different for HTSP? If so where do I get them from?

Add a muxer selection setting

Tvheadend currently can provide mkv, mpeg ts, and mpeg ps muxes while streaming.
I have found out verry interesting PR tvheadend/tvheadend#263 . This adds ability to only stream first audio channel. It would be usefull to save bandwidth if I am only interested in audio. If muxer setting is applicable to this project can it be added?

Timeshift documentation

This was reported in #1 and closed. Is this possible or not? I've enabled Timeshift in both TVHeadened and VLC with no success. Is there a usage example for this?

Plugin keeps connection open

At the moment, plugin opens HTSP connection and receives channels list. After this is done it still keeps the connection open, what results in opening another one when playing media. While this is not a big deal, it requires additional connection to be open all the time.

On the other hand tvheadend allows to limit number of simultaneous connections per user. While this works great with XBMC, VLC refuses to play channel if the connection limit is set to 1. One could tell, that this limit can be increased, but on the other hand it would allow 2 simultaneous connections via HTTP. IMHO it's not designed to work this way. XBMC uses single connection for whole traffic and that's how it should work with VLC, also saving the traffic.

Potential solution:
Please close the conenction after receiving channels list as it seems to be useless then. Obtained channels list is kept in system memory and another connection is necessary for playback. There is IMHO no need to keep it open all the time.

Memory leak

This seems to be an issue with this plugin. Whenever I'm watching a TVHeadend stream via HTSP the memory usages for buff/cache grows and grows here's me running free over the space of about 1 minute:

[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.5G        2.8G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.6G        2.9G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.6G        3.0G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.7G        3.1G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.1G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.2G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.2G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        3.0G        3.3G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         11G        3.0G        3.4G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         11G        3.1G        3.4G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.2G        3.6G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.3G        3.6G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.3G        3.7G         10G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.5G        3.8G         10G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.9G        7.2G        7.6G        7.0G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.2G        7.6G        7.0G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.3G        7.7G        6.9G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.3G        7.7G        6.9G
Swap:           14G         38M         14G
[media@media ~]$ 

Eventually VLC crashes when it runs out of memory. This may be something to do with timeshifting as I have that enabled in TVHeadened, but as that's the only reason to run HTSP instead of HTTP it's unlikely nobody else has encountered this.

subtitles/closed caption

Hi,

Thank you for the htsp plugin - it work much nicer than http with tvheadend. However, I can't make the subtitles work. I can select tracks from the pull down menu, but nothing appears. It works fine using http. So is the feature not (yet?) implemented, a bug or limitiation somwhere?

/Ole

Vlc 2.2 on Mac not found

Hello,

i have a Problem. I installed on my new MacBook Vlc 2.2 and this build https://ci.btbn.de/job/vlc-htsp-plugin/PLATFORM=osx,label=osx/124/ i put the Plugin under Vlc -> show content - MacOS - plugins

I can't found the Plugin in settings. Where are the Settings ? I go to Settings and push "show all" but i can't found any settings for htsp.

Is there a Problem? On my old Mac Vlc 2.15 worked with the Plugin but i sold this and forget to backup VLC.

Feature Request: Is timeshifting possible?

In the recent TVHeadend versions, it is not possible anymore to pause a channel live HTTP stream because TVHeadend closes it. This is bad because you cannot pause a live event if you're not recording it.

Using your plugin is it possible to use the timeshifting features of TVHeadend to pause the stream from VLC by using HTSP protocol?

I'm using VLC v2.0.5 under Windows 7 (and later I will have to figure out how to compile it under Windows).
Thanks.

recording from HD channel insane video size

I've a problem, whenever i record from a HD channel in VLC with htsp plugin the size gets insane and whenever i stop VLC from recording it just freezes and ending up using all my ram. I did a record the other day for 1 hour and the file went up to 300gb which is crazy.

I've tried to record from a SD channel with no problems, that works just fine. So i'm not sure why HD channels gets so fucked when i try and it doesn't matter what HD channel i try it will do it with every HD channel. Is there something i can change in VLC settings to maybe prevent this so i could actually record from a HD channel? :)

Plugin doesn't compile with vlc 3.0

It seems VLC SDK has changed in 3.0 and I get the following errors:
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\" -DVLC_PLUGIN_MAJOR=3 -DVLC_PLUGIN_MINOR=0 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c helper.cpp helper.cpp:61:49: error: macro "net_Write" passed 5 arguments, but takes just 4 if(net_Write(obj, sys->netfd, NULL, buf, len) != (ssize_t)len) ^
helper.cpp:91:75: error: macro "net_Read" passed 6 arguments, but takes just 4 if((readSize = net_Read(obj, sys->netfd, NULL, &len, sizeof(len), true)) != sizeof(len)) ^

helper.cpp:117:66: error: macro "net_Read" passed 6 arguments, but takes just 4 if((readSize = net_Read(obj, sys->netfd, NULL, buf, len, true)) != (ssize_t)len) ^
helper.cpp: In function ‘bool TransmitMessageEx(vlc_object_t*, sys_common_t*, HtsMessage)’: helper.cpp:61:63: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(net_Write(obj, sys->netfd, NULL, buf, len) != (ssize_t)len) ^~~
helper.cpp: In function ‘HtsMessage ReadMessageEx(vlc_object_t*, sys_common_t*)’: helper.cpp:91:20: error: invalid conversion from ‘ssize_t (*)(vlc_object_t*, int, void*, size_t) {aka long int (*)(vlc_object_t*, int, void*, long unsigned int)}’ to ‘ssize_t {aka long int}’ [-fpermissive] if((readSize = net_Read(obj, sys->netfd, NULL, &len, sizeof(len), true)) != sizeof(len)) ^~~~~~~~
helper.cpp:117:20: error: invalid conversion from ‘ssize_t (*)(vlc_object_t*, int, void*, size_t) {aka long int (*)(vlc_object_t*, int, void*, long unsigned int)}’ to ‘ssize_t {aka long int}’ [-fpermissive] if((readSize = net_Read(obj, sys->netfd, NULL, buf, len, true)) != (ssize_t)len) ^~~~~~~~ Makefile:50: recipe for target 'helper.o' failed

They were introduced by
https://github.com/videolan/vlc/commit/3aee65c9f779e569bcf6fb70fbfd18c0ee14d982
https://github.com/videolan/vlc/commit/c0cdab15a49773db94bc48547340acc7a3ae1404
https://github.com/videolan/vlc/commit/a3a6a95aad0a60127350d3ab403fc635f731a966
https://mailman.videolan.org/pipermail/vlc-commits/2015-March/029737.html

Build failure with atomic

When building the plugin I got.

g++ -shared -o libhtsp_plugin.so sha1.o vlc-htsp-plugin.o htsmessage.o helper.o access.o discovery.o -Wl,-no-undefined,-z,defs -lvlccore
access.o: In function `std::__atomic_base<long long>::load(std::memory_order) const':
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
access.o: In function `std::__atomic_base<long long>::store(long long, std::memory_order)':
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
access.o: In function `std::__atomic_base<long long>::load(std::memory_order) const':
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
access.o:/usr/include/c++/4.8.2/bits/atomic_base.h:496: more undefined references to `__atomic_load_8' follow
access.o: In function `std::__atomic_base<long long>::store(long long, std::memory_order)':
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
access.o: In function `std::__atomic_base<long long>::load(std::memory_order) const':
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
/usr/include/c++/4.8.2/bits/atomic_base.h:496: undefined reference to `__atomic_load_8'
access.o: In function `std::__atomic_base<long long>::store(long long, std::memory_order)':
/usr/include/c++/4.8.2/bits/atomic_base.h:474: undefined reference to `__atomic_store_8'
collect2: error: ld returned 1 exit status
make: *** [libhtsp_plugin.so] Error 1

I fixed this by adding -latomic to LDFLAGS in the Makefile.

Connecting to HTS Failed!

Hi. I configured the plugin via

  • Tools/Preferences
  • Show settings: All
  • Search: htsp
  • HTSP Protocol/Connection (there I configured address pointing to machine on local network)
  • Save

Then I restarted vlc (as without it it didn't work) and went to

  • Local Network/Tvheadend HTSP

but the playlist is empty

$ vlc -vv
VLC media player 2.2.2 Weatherwax (revision 2.2.1-161-g360f42e)
[00005578c3b15168] core libvlc debug: VLC media player - 2.2.2 Weatherwax
[00005578c3b15168] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[00005578c3b15168] core libvlc debug: revision 2.2.1-161-g360f42e
[00005578c3b15168] core libvlc debug: configured with ./configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--disable-optimizations' '--disable-silent-rules' '--with-pic' '--disable-rpath' '--with-binary-version=2.2.2' '--with-kde-solid=/usr/share/kde4/apps/solid/actions' '--enable-lua' '--enable-live555' '--enable-opencv' '--enable-sftp' '--enable-omxil' '--enable-omxil-vout' '--enable-faad' '--enable-twolame' '--enable-realrtsp' '--enable-flac' '--enable-tremor' '--enable-speex' '--enable-theora' '--enable-libass' '--enable-shout' '--enable-xcb' '--enable-xvideo' '--enable-svg' '--enable-aa' '--enable-caca' '--enable-jack' '--enable-pulse' '--enable-ncurses' '--enable-lirc' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
[00005578c3b15168] core libvlc debug: searching plug-in modules
[00005578c3b15168] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[00005578c3b15168] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[00005578c3b15168] core libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[00005578c3b15168] core libvlc debug: plug-ins loaded: 457 modules
[00005578c3b15168] core libvlc debug: opening config file (/home/nenadalm/.config/vlc/vlcrc)
[00005578c3b15168] core libvlc debug: translation test: code is "C"
[00005578c3b15168] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU 
[00005578c3c11488] core input debug: Creating an input for 'Media Library'
[00005578c3c11488] core input debug: Input is a meta file: disabling unneeded options
[00005578c3c11488] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00005578c3c11488] core input debug: `file/xspf-open:///home/nenadalm/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3c11488] core input debug: creating demux: access='file' demux='xspf-open' location='/home/nenadalm/.local/share/vlc/ml.xspf' file='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core demux debug: looking for access_demux module matching "file": 21 candidates
[00005578c3bdf198] core demux debug: no access_demux modules matched
[00005578c3c11488] core input debug: creating access 'file' location='/home/nenadalm/.local/share/vlc/ml.xspf', path='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core access debug: looking for access module matching "file": 24 candidates
[00005578c3bdf198] filesystem access debug: opening file `/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core access debug: using access module "filesystem"
[00005578c3be38e8] core stream debug: Using stream method for AStream*
[00005578c3be38e8] core stream debug: starting pre-buffering
[00005578c3be38e8] core stream debug: received first data after 0 ms
[00005578c3be38e8] core stream debug: pre-buffering done 296 bytes in 0s - 6882 KiB/s
[00005578c3be4b58] core stream debug: looking for stream_filter module matching "any": 9 candidates
[00005578c3be4b58] core stream debug: no stream_filter modules matched
[00005578c3be4b58] core stream debug: looking for stream_filter module matching "record": 9 candidates
[00005578c3be4b58] core stream debug: using stream_filter module "record"
[00005578c3c11488] core input debug: creating demux: access='file' demux='xspf-open' location='/home/nenadalm/.local/share/vlc/ml.xspf' file='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3be8568] core demux debug: looking for demux module matching "xspf-open": 65 candidates
[00005578c3be8568] xspf demux debug: using XSPF playlist reader
[00005578c3be8568] core demux debug: using demux module "playlist"
[00005578c3be86b8] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /home/nenadalm/.local/share/vlc/lua/meta/reader
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
[00005578c3be86b8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[00005578c3be86b8] core demux meta debug: no meta reader modules matched
[00005578c3c11488] core input debug: `file/xspf-open:///home/nenadalm/.local/share/vlc/ml.xspf' successfully opened
[00005578c3c27d18] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[00005578c3c27d18] core xml reader debug: using xml reader module "xml"
[00005578c3be8568] xspf demux debug: parsed 0 tracks successfully
[00005578c3c11488] core input debug: EOF reached
[00005578c3be8568] core demux debug: removing module "playlist"
[00005578c3be4b58] core stream debug: removing module "record"
[00005578c3bdf198] core access debug: removing module "filesystem"
[00005578c3c14688] core playlist debug: creating audio output
[00005578c3c07c18] core audio output debug: looking for audio output module matching "any": 5 candidates
[00005578c3c07c18] pulse audio output debug: using library version 7.1.0
[00005578c3c07c18] pulse audio output debug:  (compiled with version 7.0.0, protocol 30)
[00005578c3c07c18] pulse audio output debug: connected locally to unix:/run/user/1001/pulse/native as client #1492
[00005578c3c07c18] pulse audio output debug: using protocol 30, server protocol 30
[00005578c3c07c18] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[00005578c3c07c18] core audio output debug: using audio output module "pulse"
[00005578c3c14688] core playlist debug: keeping audio output
[00005578c3c2b058] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[00005578c3c2b058] core interface debug: using interface module "hotkeys"
[00005578c3c2b868] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[00005578c3c2b868] core interface debug: using interface module "xcb_hotkeys"
[00005578c3c2ce08] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[00005578c3c2ce08] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[00005578c3c2ce08] core interface debug: using interface module "dbus"
[00005578c3b15168] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005578c3c307f8] core interface debug: looking for interface module matching "any": 18 candidates
[00007fb22410f318] core generic debug: looking for extension module matching "any": 1 candidates
[00007fb22410f318] lua generic debug: Opening Lua Extension module
[00007fb22410f318] lua generic debug: Trying Lua scripts in /home/nenadalm/.local/share/vlc/lua/extensions
[00007fb22410f318] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions
[00007fb22410f318] lua generic debug: Trying Lua playlist script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007fb22410f318] lua generic debug: Scanning Lua script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007fb22410f318] lua generic debug: Script /usr/lib64/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007fb22410f318] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007fb22410f318] core generic debug: using extension module "lua"
[00007fb22422f118] core probe debug: looking for services probe module matching "any": 11 candidates
[00007fb22422f118] core probe debug: no services probe modules matched
[00005578c3c307f8] qt4 interface debug: Sorting by column -1, order 0
[00005578c3c307f8] qt4 interface debug: Sorting by column -1, order 0
[00005578c3c307f8] core interface debug: using interface module "qt4"
[00005578c3c14688] core playlist debug: adding services_discovery htsp{longname="Tvheadend HTSP"}...
[00007fb2242aaac8] core services discovery debug: looking for services_discovery module matching "htsp": 15 candidates
[00007fb2242aaac8] core services discovery warning: option longname is unknown
[00007fb2242aaac8] core services discovery debug: using services_discovery module "htsp"
[00007fb2242aaac8] core services discovery debug: net: connecting to 10.0.0.3 port 9981
[00007fb2242aaac8] core services discovery debug: connection succeeded (socket = 16)
[00007fb2242aaac8] htsp services discovery error: Size Read EOF!
[00007fb2242aaac8] htsp services discovery error: ReadMessage failed!
[00007fb2242aaac8] htsp services discovery error: No valid hello response
[00007fb2242aaac8] htsp services discovery error: Connecting to HTS Failed!

The problem seems to be here (last lines):

[00007fb2242aaac8] htsp services discovery error: Size Read EOF!
[00007fb2242aaac8] htsp services discovery error: ReadMessage failed!
[00007fb2242aaac8] htsp services discovery error: No valid hello response
[00007fb2242aaac8] htsp services discovery error: Connecting to HTS Failed!

Tvheadend (running on ubuntu 12.04) version:

$ tvheadend -v
tvheadend: version 4.0.8-3~gc870eb9~trusty

plugin was compiled using make on current master (as binary didn't work) - using Fedora 23

Ubuntu 64x - Compilation plugin

hello,

my config :

Linux MS-7758 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu

so i make this :

>git clone https://github.com/BtbN/vlc-htsp-plugin.git
>cd vlc-htsp-plugin
>make
Package vlc-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `vlc-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vlc-plugin' found
Package vlc-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `vlc-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vlc-plugin' found
Package vlc-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `vlc-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vlc-plugin' found
Package vlc-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `vlc-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vlc-plugin' found
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\" -DVLC_PLUGIN_MAJOR= -DVLC_PLUGIN_MINOR=  -DPIC -fPIC -c vlc-htsp-plugin.cpp
vlc-htsp-plugin.cpp:19:24: fatal error: vlc_common.h: Aucun fichier ou dossier de ce type
 #include <vlc_common.h>
                        ^
compilation terminated.
make: *** [vlc-htsp-plugin.o] Erreur 

what is wrong please ?

Help to install the plug-in in Win 7

Could someone please help me to install this plug-in in VLC (any version or last) from scratch?

I´m unable to install it right now. I´ve placed the file libhtsp_plugin.dll in the plugins folder but is still not recognized in the preferences when I try to search it.

EDIT: Must say first that I´ve been reading the closed issues but no idea of how to do it. Sorry.

Thanks

Incompatible with vlc 2.2.0

Hi,

trying to build your plugin against vlc 2.2.0 I get this error:

$ make
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\" -DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins  -DPIC -fPIC -c vlc-htsp-plugin.cpp
In file included from /usr/include/vlc/plugins/vlc_demux.h:32:0,
                 from vlc-htsp-plugin.cpp:21:
/usr/include/vlc/plugins/vlc_es.h:288:66: error: expected ‘,’ or ‘...’ before ‘out’
 VLC_API void video_format_ApplyRotation(video_format_t *restrict out, const video_format_t *restrict in);
                                                                  ^
In file included from /usr/include/vlc/plugins/vlc_services_discovery.h:27:0,
                 from vlc-htsp-plugin.cpp:23:
/usr/include/vlc/plugins/vlc_input.h: In function ‘int input_AddSubtitleOSD(input_thread_t*, const char*, bool, bool)’:
/usr/include/vlc/plugins/vlc_input.h:568:84: error: ‘_’ was not declared in this scope
         vout_OSDMessage(p_vout, SPU_DEFAULT_CHANNEL, "%s", _("Subtitle track added") );
                                                                                    ^
make: *** [vlc-htsp-plugin.o] Error 1
Makefile:50: recipe for target 'vlc-htsp-plugin.o' failed

System info:
Description: Ubuntu Utopic Unicorn (development branch)
Linux home 3.16.0-16-generic #22-Ubuntu SMP Wed Sep 17 18:47:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

No audio (aac latm)

No audio in vlc with vlc-htpc-plugin.

Audio is recognized on xbmc, tvhguide (played in mxplayer).
When directly openning the network stream audio is recoginzed but I do get the following error messege which I believe is because of the the subtitles.

On vlc codec information tag:
Stream 0: Video, h264.
Streams 1+2: Audio, AAC LATM.
Streams 3-5: Subtitles ("codec": undf)

No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no >way for you to fix this.

Tested on linux x86-64, vlc 2.0.6, tvheadend from master git branch last commit from 13.04.2013

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.