Get access to DVB module or open the stream descriptor ID

This forum is about all development around libVLC.
Monty811
New Cone
New Cone
Posts: 4
Joined: 08 Jan 2012 16:37

Get access to DVB module or open the stream descriptor ID

Postby Monty811 » 20 Jan 2012 11:26

Hi there,

I'm using libVLC to display DVB TV signals in my application. Everything is working fine so far but now I would need to implement a frequency scan and get the PID information out of a stream. I think I have two ways to go now after searching a lot.

The first way will be to get access to the "modules -> access -> dvb" module and be able to call the functions used there. Can anyone tell me, if it is possible to get a handle for the specific module libVLC is currently using. Then I would be able to use the functions defined in scan.h of the DVB module.

The other way would be use libdvbpsi directly in my code to analyse the ts stream but then I will need to find a way to get a handle to the open stream from libVLC to be able to send the stream data through libdvbpsi...

I think the first way might be better (VLC Player also seems to do it like this) because in the debug output of VLC I can find all the important Program specific Information (PSI) I would like to have inside of my app like the output of "PATCallBack" or "PMTCallBack", or "SDTCallback". Also the EPG information is send to debug output.

How will I be able to access this info?
Thanks for any help :D

Cheers,

Ben

sundk911
Blank Cone
Blank Cone
Posts: 16
Joined: 03 May 2012 14:44

Re: Get access to DVB module or open the stream descriptor I

Postby sundk911 » 08 May 2012 16:03

have you successfully implemented a frequency scan and get the PID information out of a stream by using vlc ?
what I want to realize is to get the PID information out of a stream by using vlc. I see that there may be to ways to realize the function. And I have do a lot of research but i am confused by the plenty of source codes of vlc.
could you tell me how to realize the function or give some suggestions ?

rvs75
Blank Cone
Blank Cone
Posts: 38
Joined: 01 Jul 2010 11:48

Re: Get access to DVB module or open the stream descriptor I

Postby rvs75 » 09 May 2012 17:48

I don't know if Monty811 has implemented a frequency scan but I create for Windows a scanner for dvb-t for my program that use libvlc.
Actually it's a (buggy) private beta and only in french and only for DVB-T.
DVB-C and DVB-S is planned but I need hardware !

Image

For linux, you must use DVB-Apps for scanning

sundk911
Blank Cone
Blank Cone
Posts: 16
Joined: 03 May 2012 14:44

Re: Get access to DVB module or open the stream descriptor I

Postby sundk911 » 12 May 2012 09:50

thanks for your reply.
What I want to realize is to get theprogram list of a ts stream(DVB-T) and choose any one of the list to play. Just like the menu->playback->program button on vlc.exe.Could you tell which dll and functions should I call to realize it ? thanks a lot !

Best Regards

Monty811
New Cone
New Cone
Posts: 4
Joined: 08 Jan 2012 16:37

Re: Get access to DVB module or open the stream descriptor I

Postby Monty811 » 23 May 2012 15:13

Hi there,

sorry for my late reply, I have started to set up a VLC debugging environment for investigating how vlc uses the DVB module or libdvbpsi, but I stopped somewhere because of my missing time for it.
But it is good to see that others are trying the same thing.
RVS75, can you tell us how your trial program is working. I have done something similar for DVB-T using the DirectShow components of MS but I would like to use one thing like VLC for all.
So if you have used VLC or libdvbpsi for your trial program, will it be possible to have a look at the sources?

Thank you an best regards,

Ben

rvs75
Blank Cone
Blank Cone
Posts: 38
Joined: 01 Jul 2010 11:48

Re: Get access to DVB module or open the stream descriptor I

Postby rvs75 » 24 May 2012 10:42

I use DirectShow too (to be precise, a wrapper for .NET http://directshownet.sourceforge.net/).
I don't use VLC nor libdvbpsi.
Good news, the source will be accessible because the licence will be GPL2 :D
Bad news, it's written in VB.NET :lol:

If you want test the private beta (and you understand french), You have to join the ZGuideTV.NET forum (http://www.zguidetv.net/) and go to http://www.zguidetv.net/viewtopic.php?f=13&t=1032)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests