Jump to content


Photo

Demux multiplex stream...?


  • Please log in to reply
10 replies to this topic

#1 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 28 June 2008 - 09:36

Hello all...
i'm trying to explain my problem :

On some frequency on satellite, some streams are multiplexed stream....
2 stream are inside one stream.....
what i want is simply to separate to 2 stream and keep only the first..then display stream to tv as normal channel.....(FTA channel)
How can i do,where i must modify dvb driver in enigma source ?
Inside this procedure ? just after spin_lock(&demux->lock); ?
void dvb_dmx_swfilter_packets(struct dvb_demux *demux, const u8 *buf, size_t count)
{
	spin_lock(&demux->lock);

	while (count--) {
               	if(buf[0] == 0x47) {
		        dvb_dmx_swfilter_packet(demux, buf);
		}
		buf += 188;
	}

	spin_unlock(&demux->lock);
}


Thanks for your help....

Re: Demux multiplex stream...? #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 28 June 2008 - 10:38

inside the while(count--) I'd say. Just like the current filtering on buf[0] == 0x47, add your specific filtering code.

Or perhaps it's cleaner to do your own filtering in dvb_dmx_swfilter_packet, after the packages have been pre-filtered and split.

Re: Demux multiplex stream...? #3 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 28 June 2008 - 10:50

thanks i try that....

another problem is scanning this type of stream with Dreambox satellite search fonction because it's non standard TV stream...
On scanning, no service found, i must do that manually with Dreamboxedit channel.....:(

http://fr.kingofsat.net/sat-ab3.php
on atlantic bird : 11636 V 30405 7/8
like you can see it is special feed for TNT but FTA too...so not sat hack of course..just for fun because FTA

But scanning this frequency found no channel because special :(

thanks for your help

Re: Demux multiplex stream...? #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 28 June 2008 - 10:53

if it's not DVB compliant I'd say don't add too many ugly hacks in the scanning code, and live with manually adding this service.

Re: Demux multiplex stream...? #5 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 28 June 2008 - 11:03

ok...
yet another question..LOL...

i like Pli Image because all work perfect ....zapstream is very very nice !!!
Is possible to integrate my modification in my Pli image ? a Plugin ? or another way ?
But if plugin, how to intercept stream and display it after my processing ?

Huhu..sorry for all my questions ;)

I'm developper under C,C++,ASM, delphi..etc but not under dreambox and begin under linux...
But i want to investigate this universe ;)

thanks

Re: Demux multiplex stream...? #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 28 June 2008 - 11:10

It won't be not possible to implement this as a plugin I reckon.
if you produce a nice clean patch, which doesn't influence standard performance and stability, we would consider adding it to our code.

Re: Demux multiplex stream...? #7 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 28 June 2008 - 11:25

ok i try to developp it with original enigma source (cvs.tuxbox.org) and i'll tell what happen ;)
thank for your help....

Re: Demux multiplex stream...? #8 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 29 June 2008 - 18:12

Hello....

Just a stupid question, but after modify source in dvb_demux.c what command to compile with my modification ?

make rebuild-flash
make flash-compress

only this 2 commands ? and my modification are include in new complete.img ?
thanks for your help...;)

Re: Demux multiplex stream...? #9 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 30 June 2008 - 00:10

I'm not used to the cdk, but perhaps start with something like 'rm .enigma' to tell to rebuild enigma?

Re: Demux multiplex stream...? #10 telexxingou

  • Member
  • 12 posts

0
Neutral

Posted 29 June 2008 - 18:12

Hello....

Just a stupid question, but after modify source in dvb_demux.c what command to compile with my modification ?

make rebuild-flash
make flash-compress

only this 2 commands ? and my modification are include in new complete.img ?
thanks for your help...;)

Re: Demux multiplex stream...? #11 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 30 June 2008 - 00:10

I'm not used to the cdk, but perhaps start with something like 'rm .enigma' to tell to rebuild enigma?


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users