Jump to content

How To Grabbing Ts Packets With Delphi ?


Bobben

Recommended Posts

I have been programming some stuff in Delphi 6.

Its mainly some applications for grabbing TS via the SCSI interface of a Nokia DVB2000 receiver

where somebody gave a good example on how to do just that.

 

Is there simular possibilities with DVB cards ?

 

I mainly need an source code example on how to setup the DVB reception parameters and start grabbing of

the TS data. PID filter and other filters I will have to write myself.

 

Would have been really nice to experiment and try to make some tools.

 

At the moment I grab TS from Transedit and use the TS file in Delphi 6. Would be nice to do it

without the input from a TS recording. Then it would also be possible handle the TS data in real time.

Link to comment
Well you cann allways write a plugin for DVBViewer getting the ts stream directly.

 

BTW nothing to do with DVBViewer directly -> moved

 

Sorry if I posted in wrong section.

 

Maybe plugin will be easiest.

 

I have downloaded some plugin examples but it seams like they cant be run

in Delphi and then its a bit more difficult to do debugging.

 

Should it be possible to run/test plugins in Delphi or must they always be loaded

by DVBViewer application ?

Edited by Bobben
Link to comment
Should it be possible to run/test plugins in Delphi or must they always be loaded

by DVBViewer application ?

They should be loaded by DVBViewer. But you can do it inside Delphi.

 

define the output path and the host application.

Then, if you click "run", DVBViewer will be startet with the new Plugin and the plugin is running inside Delphis debugger.

post-1668-1176671330_thumb.png

post-1668-1176671336_thumb.png

Link to comment

Another thought: you can user the open whole transponder function of the netstreaming plugin and receive it via tcp/IP unicast. It delivers the complete TS stream, all you have to do is remove the header first send:

 

'HTTP/1.1 200 OK' + #13#10 +
'Server: DVBViewer (Windows)' + #13#10 +
'Content-Type: video/mpeg2' + #13#10 + #13#10;

 

And watch for packet fragmentation.

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...