Bobben Posted April 15, 2007 Share Posted April 15, 2007 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. Quote Link to comment
Lars_MQ Posted April 15, 2007 Share Posted April 15, 2007 Well you cann allways write a plugin for DVBViewer getting the ts stream directly. BTW nothing to do with DVBViewer directly -> moved Quote Link to comment
Bobben Posted April 15, 2007 Author Share Posted April 15, 2007 (edited) 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 April 15, 2007 by Bobben Quote Link to comment
Hartwig Posted April 15, 2007 Share Posted April 15, 2007 Should it be possible to run/test plugins in Delphi or must they always be loadedby 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. Quote Link to comment
Griga Posted April 15, 2007 Share Posted April 15, 2007 Here you'll find a code sample that shows how the Videorecorder Plugin makes a request for certain streams (delivered via PidCallback): http://www.DVBViewer.info/forum/index.php?...st&p=131918 Don't use the PluginPids pointer of the Execute function - no more supported. DVBHandle is the handle of the DVBViewer main window, passed by SetAppHandle. Quote Link to comment
Lars_MQ Posted April 16, 2007 Share Posted April 16, 2007 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.