Jump to content


Photo

Advanced transcoding setup

plugin

  • Please log in to reply
73 replies to this topic

Re: Advanced transcoding setup #41 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 24 July 2023 - 16:51

Thank for the link i think it is a old version that only transcode to hdmi.

 

Iám looking for the leatest transcode source from oe-aliance what i found

is the original from vu+



Re: Advanced transcoding setup #42 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 24 July 2023 - 19:05

Pfff i have found the problem ,the different between GB and VU

 

Gb use a extra pid

 

HAVE_EXT_PID is for GB

els for VU

 

#ifdef HAVE_EXT_PID
                IOCTL_SET_VPID   = 11,
                IOCTL_SET_APID   = 12,
                IOCTL_SET_PMTPID = 13,
#else
                IOCTL_SET_VPID   = 1,
                IOCTL_SET_APID   = 2,
                IOCTL_SET_PMTPID = 3,
#endif
 
Cheers time for a beer

Edited by luisteraar, 24 July 2023 - 19:06.


Re: Advanced transcoding setup #43 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 24 July 2023 - 19:08

PR ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Advanced transcoding setup #44 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 24 July 2023 - 19:10

There is a maintainer



Re: Advanced transcoding setup #45 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 24 July 2023 - 19:13

I don't care about this plugin, which, as mentioned before, should not be needed in OpenPLi as OpenPLi does transcoding internally.

 

So if that doesn't work in OpenPLi on a GB, it needs to be fixed in OpenPLi, instead of constantly coming up with workarounds in plugins.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Advanced transcoding setup #46 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 24 July 2023 - 19:19

sorry in the openpli version is allreade the differents

the  IOCTL_SET_VPID   = 11,  IOCTL_SET_APID   = 12,  IOCTL_SET_PMTPID = 13,

are handled in openpli as mips.

 

i have to look tomorrow if openpli use the mips values for the GB



Re: Advanced transcoding setup #47 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 24 July 2023 - 19:20

Ok.

 

If so, then we're back to "why is this plugin needed anyway" ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Advanced transcoding setup #48 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,494 posts

+397
Excellent

Posted 24 July 2023 - 19:20

I don't care about this plugin, which, as mentioned before, should not be needed in OpenPLi as OpenPLi does transcoding internally.

 

So if that doesn't work in OpenPLi on a GB, it needs to be fixed in OpenPLi, instead of constantly coming up with workarounds in plugins.

That depends whether this is caused by outdated GB drivers. As we are aware GB doesn’t offer us any BSP updates since long ago. 


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: Advanced transcoding setup #49 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 24 July 2023 - 20:04

WW i am talking about internet transcode
for GB.
it does not work now Read onder post
with explenation wy.
it can be fixed

Re: Advanced transcoding setup #50 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 24 July 2023 - 23:14

What is internet transcode? Afaik no box can hardware transcode an internet stream?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Advanced transcoding setup #51 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 25 July 2023 - 04:24

hahaha
mijn telefoon heeft problemen met Engels.

internet transcode should be internal enigma.

we know the problem and can be fixed

Edited by luisteraar, 25 July 2023 - 04:28.


Re: Advanced transcoding setup #52 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 26 July 2023 - 15:23

i think i found the problem.
it looks like gigablue only has 1 decoder vu 4
can someone check this in /proc/stb/encoder/
the openpli method occupies 2 encoders per transcode
 
streamproxy only uses 1 because it gets the input with stream from local host.


Re: Advanced transcoding setup #53 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 26 July 2023 - 17:05

stick to the truth.
i just said transcode doesn't work on gigablue .
If it doesn't work, it's crap
oe-aliance has a good working .
my question was can it get into the feed.

No more and no less.

 

It means the interface and implementation on GB is "crap" "no more and no less", in your words. If you can point me to the code which needs to be changed to be "compliant" with the deviating interface of GB and it still remains fully working on VU+, I'll happily change it.

 

Obviously you don't have a clue. The difference in IOCTL ids is between older and newer versions of the Broadcom SDK. It has nothing to do with VU+ or GB. There is no way to know from the code, so it will try both. And obviously, it the old SDK is used in the drivers (probable with GB), then the first try will give an error. The next try with the old ID will succeed, no problems there.

 

The amount of transcoders is also something you got completely wrong. It's dependent on the hardware and the drivers. Here also there is no other way to know than simply try, as VU+ (and GB probably too) will always create two transcoding devices, even if only one is supported, so some "internal" errors are to be expected.

 

Also, are we talking about the streamproxy here, or the broadcom transcoding I built into enigma? It's a whole different world.

 

IIRC we already added the original VU+ transstreamproxy in the feed long ago, for those who like to try their luck. It's an executable, not a plugin. The plugin is just to satisfy the OWIF.


Edited by Erik Slagter, 26 July 2023 - 17:12.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Advanced transcoding setup #54 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 26 July 2023 - 17:52

Many thanks for the awnser

 

ik mis reply on mij last post

 

 

 

i think i found the problem.
it looks like gigablue only has 1 decoder vu 4
can someone check this in /proc/stb/encoder/
the openpli method occupies 2 encoders per transcode
 
streamproxy only uses 1 because it gets the input with stream from local host.

 

 

If I start transcode op GB ik got the error

 

[eEncoder] no encoders free

 

it is generated here

 

 for(encoder_index = 0; encoder_index < (int)encoder.size(); encoder_index++)
                if(encoder[encoder_index].state == EncoderContext::state_idle)
                        break;
 
        if(encoder_index >= (int)encoder.size())
        {
                eWarning("[eEncoder] no encoders free");
                return(-1);
        }
 
 
The streamproxy extern program does not have dat problem/

Edited by luisteraar, 26 July 2023 - 17:53.


Re: Advanced transcoding setup #55 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 26 July 2023 - 19:53

The support for transcoding for Broadcom (VU+, GB...) within Enigma is highly experimental, for two reasons:

- there are (of course undocumented) differences in the interfaces between VU+ and GB (and other manufacturers) that make it difficult to make it work on all of them. Change it to work on one, it stops working on another.

- the interface of the "Xtrend" transcoding, which is supported by enigma natively, is quite different to the Broadcom one. It's not so hard to implement in Enigma because a lot of the work is already done within the hardware and drivers. Adding Broadcom support to enigma was non-trivial because there are critically timed required parallel sections, which is hard to implement in the framework of Enigma. Also the Enigma framework is supplying functions for recording from a demuxer device to a file device, which perfectly fits the "Xtrend" transcoding interface. It doesn't fit the Broadcom interface, let me assure you. I've had to make changes in the recording code that broke normal recording at totally random events, but only one some receivers, which of course is unacceptable. I now have it on a level where normal recording doesn't seem to break, so I am not to keen on making changes there. What needs to be done is duplicate the recording framework of Enigma and tailor it for transcoding, so they do not share code anymore. That's not so easy as it sounds because there are hardcoded assumptions sprinkled all over the code in Enigma, so that all would need to be fixed. Personally I am not up to that task. If someone with a thorough understanding of the internals of Enigma would step up, I'd gladly join though.

 

So in short, for Xtrend type transcoding, use the internal Enigma support. For VU+ the internal Enigma support should be fine too, but may be a little less robust than the streamproxy. Otherwise, and for GB, use streamproxy. If it doesn't work on GB, and someone can point me to the culprit there, I'd happily make a workaround. Streamproxy was from the start designed to be fully parameterised (i.o.w. designed for workarounding) and it should be possible to create a workaround one way or another, without affecting other manufacturer's functionality.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Advanced transcoding setup #56 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 26 July 2023 - 20:09

if have written wat possible the problem
on GB is.
GB seems to have only 1 encoder.
enigma needs minimum 2 free encoders.
the proxy can work with one encoder while
the input Come from a ip stream to
local host.
for the GB users it wil be better if the
proxy Come back to the feed

Edited by luisteraar, 26 July 2023 - 20:12.


Re: Advanced transcoding setup #57 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 27 July 2023 - 13:57

It's time to work more on de drivers.

modinfo dvb
filename:       /lib/modules/4.1.20-1.9/extra/dvb.ko
license:        GPL
description:    BCM7xxx dvb adapter driver
version:        20211026155503-u171
depends:        
vermagic:       4.1.20-1.9 SMP mod_unload ARMv7 p2v8
 
it is gpl for bcmxxxx i think it is possible to
increase the number of encoders.
 
Do have someone the source code of the module ?
 
By the way the modern h9se has only 2 encoders 
the gbquad4k 1 and the VU ????
 
1 endoder is alreade in use if jou watch tv it transcode to
format to tv format.
I am also interested if the bitrate is decrease so it can fit in hdmi.
 
I am intrested in awnsers


Re: Advanced transcoding setup #58 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 27 July 2023 - 14:55

You can forget it being GPL, whatever is shown. The Broadcom SDK has one of the strickest NDA's in the business.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Advanced transcoding setup #59 luisteraar

  • Senior Member
  • 2,480 posts

+24
Neutral

Posted 27 July 2023 - 15:05

What about this

 

https://github.com/Broadcom/stblinux



Re: Advanced transcoding setup #60 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 27 July 2023 - 18:28

Have you actuially checked what it is?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: plugin

3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users