Skip to contentSkip to conversation

soft demux device

linux-dvb ozgur cagdas 4 participants 4 messages Feb 23, 2010 – Feb 24, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi All,

I have just compiled v4l-dvb successfully. My aim is to develop some experimental dvb applications on top of this dvb kernel api. Initially, I do not want to use any hardware and would like to play with the recorded ts files I have. So, is there any software demux device available within this package or somewhere else? If so, how can I load this device and make it work on a given ts file circularly? On the other hand, I have no /dev/dvb node at the moment, so should I do anything for this or would loading the driver create it automatically?

Thanks in advance.

Cheers,

Ozgur.

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw
Quoted 7 lines · ozgur cagdas

Hi All,

I have just compiled v4l-dvb successfully. My aim is to develop some experimental dvb applications on top of this dvb kernel api. Initially, I do not want to use any hardware and would like to play with the recorded ts files I have. So, is there any software demux device available within this package or somewhere else?

I do not know. You could write a simple dvb_dummy driver module. The existing dvb_dummy_fe module would be helpful in such an endeavor, I suppose.

Quoted 2 lines

If so, how can I load this device and make it work on a given ts file
circularly?

Writing the TS to the /dev/dvb/adapter0/dvr0 device would be the way to replay an existing TS file, IIRC.

Quoted 3 lines

On the other hand, I have no /dev/dvb node at the moment, so should
I do anything for this or would loading the driver create it automatically?

A dvb driver being loaded and registering should cause those to be created automatically.

Regards,
Andy

#2 lore raw
Quoted 9 lines · Andy Walls
Quoted 7 lines · ozgur cagdas

Hi All,

I have just compiled v4l-dvb successfully. My aim is to develop some experimental dvb applications on top of this dvb kernel api. Initially, I do not want to use any hardware and would like to play with the recorded ts files I have. So, is there any software demux device available within this package or somewhere else?

Quoted 3 lines

I do not know.  You could write a simple dvb_dummy driver module.  The existing dvb_dummy_fe module would be helpful in such an endeavor, I suppose.

Indeed, that's the right way :-)

Regards,
Manu

#3 lore raw
In reply to ozgur cagdas

Hi,

Quoted 7 lines

I have just compiled v4l-dvb successfully. My aim is to develop some experimental dvb applications on top of this dvb kernel api. Initially, I do not want to use any hardware and would like to play with the recorded ts files I have. So, is there any software demux device available within this package or somewhere else? If so, how can I load this device and make it work on a given ts file circularly? On the other hand, I have no /dev/dvb node at the moment, so should I do anything for this or would loading the driver create it automatically?

Thanks in advance.

Cheers,

Ozgur.

maybe this is a good starting point for you:

"I wrote a Linux kernel module which provides one or more
virtual DVB adapters. When loaded, it creates a char device of the form /dev/dvbloop<num> for every virtual DVB adapter. All Transport Stream packets written to a char device will be delivered on the corresponding virtual DVB adapter.

You can get the sources at
http://cpn.dyndns.org/projects/dvbloop.shtml

Maybe somebody finds it useful.

Cheers,
Christian.
--
Christian Praehauser"

the link seems to be outdated, but the following is still working https://svn.baycom.de/repos/dvbloop/.

A S2API patch is out as well:
http://www.vdrportal.de/board/attachment.php?attachmentid=24024

I've no idea if this is working well or not, I'm not using it myself. YMWV

Roland