Jump to content

Allow multiple transcoding on same transponder


Suburban Legend

Recommended Posts

I was testing today to see if I could hardware transcode with ffmpegprefs.ini and beautifully it works. I also tried to test another stream using a different channel on the same transponder at the same time, however it looks like as soon as the new stream is accessed, the previous stream is stopped. I know my hardware setup is capable of handling multiple transcoding. Is there a way this behaviour can be overridden so the existing stream isn't closed until that connection has been closed by the client application? I know this is probably not preferable default behaviour, but it would be nice if it was an option.

 

Edited by Suburban Legend
Link to comment
vor 6 Stunden schrieb Suburban Legend:

it looks like as soon as the new stream is accessed, the previous stream is stopped.

 

It happens under the following conditions:

  • Both trancoded streams are received by the same client (same IP address and user agent string)
  • Both transcoded streams have the same StreamID or both no StreamID.

In this case the DMS assumes channel switching in the client. It can be avoided by appending different (unique) StreamIDs to the URL query part that contains the stream parameters, e.g. ...&streamid=stream1 and ...&streamid=stream2. Please read more about stream parameters in

 

C:\Program Files (x86)\DVBViewer\docs\transcoding_params_en.txt

 

Regarding browsers as clients, there is an inconsistency in the Web Interface. I've just discovered it when I tried to play two transcoded streams originating from the same transponder in two Web Interface instances, each one in a separate tab or window:

 

Streams started in the Stream Setup dialogue (gear wheel icon) -> Play in Browser get no StreamID, so the second stops the first one. However, streams started directly (click on play icon, channel logo etc.) get a StreamID, which is different in each tab. Hence both channels can be played at the same time.

 

I can't remember if it was originally intended in this way. Maybe it's just a bug that should be fixed...

 

Link to comment
Posted (edited)

Hahaha, sorry in typical fashion I've just found transcoding_param_en.txt just before I saw your reply. It was there all along, however you already answered the next question I was going to ask. 


Thank you so much by adding &streamid=1 to the first stream and &streamid=2 to the second one, i can play see both at once now.
 

Edited by Suburban Legend
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...