Jump to content

VDR plugin development


Tuxx

Recommended Posts

domenic

The first time i tune a HD channel, i get no video, then if i tune it again i get video. It occurs most of the time. It may be related to slow tuning in VDR, is there an option to enable extra debug?

Link to comment
Share on other sites

frank84

Are you building against the stable server, or beta?

 

This version here:

<ItemGroup> 
    <PackageReference Include="mediabrowser.server.core" Version="4.0.0.2" />
    <PackageReference Include="System.Memory" Version="4.5.1" />
</ItemGroup>
Link to comment
Share on other sites

  • 10 months later...
domenic

@@Luke

 

Not that Emby is Closed Source, how can we get this plugin compiled againt the latest version.  I have a problem getting a stream to work with the current version of Emby.

Link to comment
Share on other sites

@@Luke

 

Not that Emby is Closed Source, how can we get this plugin compiled againt the latest version.  I have a problem getting a stream to work with the current version of Emby.

 

I can help update the plugin. Curious does VDR include guide data or is it just channel import only?

  • Like 1
Link to comment
Share on other sites

domenic

It provides the Guide data as well, if you can use frank84's git source that would be great, I believe the Probing of the stream does NOT work.

 

The collection of guide data is working fine.

Edited by domenic
Link to comment
Share on other sites

domenic

Here is the log file of a stream attempt.  It looks like it is streaming, the server says new client accepted.  I will attach the log files.  All I get is a circle and not stream.  also the live stream process nevers dies unless I kill it on the emby server.

ffmpeg-transcode-21131f17-60ad-484b-b18f-1b0700ea1d06_1.txt

embyserver.txt

Edited by domenic
Link to comment
Share on other sites

As long I'm not trying to choose a channel, which is crypted, I'm able to open all streams. In case I tried to open a crypted channel, sometimes I need to restart emby server - that should be fixed in a future version.

 

Back to your problem...

Are you able to open this stream :

http://192.168.0.97:8555/TS/S91.0W-256-15-225

in an external player - like VLC?

 

Did you change the port of your streamdev server? Per default the server is running on port 3000.

Link to comment
Share on other sites

domenic

vlc works fine, even with a scrambled channel. When Emby probes your steam do you see a bunch of channels listed? It looks like streamdev is sending all the channels on the transponder. What version of streamdev are you using?

 

I will try to find an unscrambled stream later.

Edited by domenic
Link to comment
Share on other sites

domenic

I was able to view an HD channel! With the beta release.

 

I had to connect then it froze showing the current frame, backed out and went back in and it worked

 

Tried same channel using the iptv plugin and it is flawless. Works every time.

Edited by domenic
Link to comment
Share on other sites

Wonder how the IPTV plugin sets up the stream?

 

The difference is the plugin is not creating a buffer file as Live TV will. Can we look at log examples?

Link to comment
Share on other sites

I will try to find an unscrambled stream later.

A scrambled channel is working in general, as long VDR is able to decrypt. Problem is more, if there is no stream available - due to the decryption, then it can be that I needed to restart emby. This exception is not catched yet.

 

 

What version of streamdev are you using?

streamdev-server (0.6.1-git) - VDR Streaming Server

 

Attached you find an example of the emby log.

 

And this a VDR(streamdev-server)-log:

Feb 14 18:19:51 ubuntu-server vdr: [1350] starting plugin: streamdev-server
Feb 14 18:19:51 ubuntu-server vdr: [1374] Restfulapi Serverthread thread started (pid=1350, tid=1374, prio=high)
Feb 14 18:19:51 ubuntu-server vdr: [1350] loading /var/lib/vdr/plugins/streamdev-server/streamdevhosts.conf
Feb 14 18:19:51 ubuntu-server vdr: [1350] loading /var/cache/vdr/cam.data
Feb 14 18:19:51 ubuntu-server vdr: [1375] streamdev server thread started (pid=1350, tid=1375, prio=high)
Feb 14 18:19:51 ubuntu-server vdr: [1375] Streamdev: Listening (VTP) on port 2004
Feb 14 18:19:51 ubuntu-server vdr: [1375] Streamdev: Listening (HTTP) on port 3000
...
Feb 14 18:23:14 ubuntu-server vdr: [1375] Streamdev: Accepted new client (HTTP) 127.0.0.1:44106
Feb 14 18:23:14 ubuntu-server vdr: [1758] streamdev-writer thread started (pid=1350, tid=1758, prio=high)
Feb 14 18:23:14 ubuntu-server vdr: [1759] streamdev-livestreaming thread started (pid=1350, tid=1759, prio=high)
Feb 14 18:23:14 ubuntu-server vdr: [1760] device 1 receiver thread started (pid=1350, tid=1760, prio=high)
Feb 14 18:23:14 ubuntu-server vdr: [1761] device 1 TS buffer thread started (pid=1350, tid=1761, prio=high)
Feb 14 18:23:27 ubuntu-server vdr: [1375] client (HTTP) 127.0.0.1:44106 has closed connection
Feb 14 18:23:27 ubuntu-server vdr: [1375] streamdev-server: closing HTTP connection to 127.0.0.1:44106
Feb 14 18:23:27 ubuntu-server vdr: [1759] streamdev-livestreaming thread ended (pid=1350, tid=1759)
Feb 14 18:23:27 ubuntu-server vdr: [1758] streamdev-writer thread ended (pid=1350, tid=1758)
Feb 14 18:23:27 ubuntu-server vdr: [1375] buffer stats: 220524 (5%) used
Feb 14 18:23:27 ubuntu-server vdr: [1761] device 1 TS buffer thread ended (pid=1350, tid=1761)
Feb 14 18:23:27 ubuntu-server vdr: [1760] buffer stats: 220148 (4%) used
Feb 14 18:23:27 ubuntu-server vdr: [1760] device 1 receiver thread ended (pid=1350, tid=1760)

20200214_embyserver.txt

Edited by frank84
Link to comment
Share on other sites

Just a note, I downgraded emby to 4.2.1.0 and have no issues streaming.   Versions 4.3 and 4.4 both can not stream.  

 

Please attach log files from 4.4. Thanks.

Link to comment
Share on other sites

here are the log files. 4.2 works 4.4 fails, remove the txt extention as I would not let me upload a bz2 file.

 

What exactly does failing mean?

Link to comment
Share on other sites

domenic

What exactly does failing mean?

The player attempts to show video but it is never shown, back button closes the window and displays channel play button

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...