DDsrv: Network Proxy DEVice

New modules to be tested

Moderator: Dreamer

eslave
Just popping in
Posts: 4
Joined: Tue Feb 05, 2008 10:50 pm

DDsrv: Network Proxy DEVice

Postby eslave » Tue Feb 05, 2008 11:08 pm

[Although written and tested under DD 1.4h, the new 1.4i seems to have exposed more bugs.]

DDsrv - Network DEVice proxy for DVBDream

ALPHA RELEASE - YES IT HAS BUGS -- ALPHA RELEASE - YES IT HAS BUGS

Although intended to proxy ANY device for DVBDream, this alpha release will doubtless fall short of expectations. I'm releasing this alpha simply to gauge reaction and see if any other devices actually work. So far I have only tested with the 'BDA Native' device (BDA.DEV), as attempting to test any other device causes DVBDream to either do nothing or crash on my system. Don't expect a rapid release schedule, but I will try to fix simple (yet crippling) bugs quickly. (The source code needs serious cleanup before adding anything new and significant.)

I recommend testing both client and server on the DVB host (the machine with DVB hardware) before attempting to deploy.

Be aware that there are two (2) INI files which are placed in two (2) different locations - one for the host applet, and one for the client DEVice. Yes, the data can be consolidated into one file, but bear in mind that the client and host will each search for their respective INI's in different folders.


Installation:
HOST - Place DDsrv.EXE and its INI into DVBDream's main program folder. (same folder as DVBDream.exe)
CLIENT - Place DDsrv.DEV and its INI into DVBDream's DEVICES folder. (same folder as all the other .DEV files)


Configuration:
HOST - Run DDsrv.EXE, click the 'Select' button, choose your DEVice.
CLIENT - Use Notepad to edit the hosts IP address or name in DDsrv.INI (in the DEVICES folder).


Execution:
1) Make sure DDsrv.EXE is running on the DVB host machine (and your device is selected).
2) Run DVBDream on the client machine. (Hit CTRL+D and select the DDsrv device if not selected already, click OK, then restart DVBDream.)
3) Enjoy TV! ... or document a crash :)

Ports Used: 30000 (TCP, client->host), 30001 (UDP, host->client)

Notes & Known Bugs:
I have had little luck attempting to 'Start' the DDsrv device in DVBDream's device selection window. Instead select the device, click OK, and restart DVBDream.

The host (server) applet MUST be running before starting DVBDream on the client!!

Server and client may fall out-of-sync to the point where BOTH the server (host) applet AND the client DVBDream may need to be restarted. (Quit client AND server. Remember, re-start the server applet first.)

I've tried to add some 'common sense' to the host-side applet in the event of lost messages and client crashes, but its barely adequate.

I've not yet had success using DVBDream's LAN streaming together with DDsrv.

If you use a hostname instead of an IP address be aware that gethostbyname() will probably cause the client application to immediately crash if NetBIOS lookup fails and DNS is not available. Try using the IP address instead.

Busy networks may cause issues with UDP packet reception. I do not attempt to re-sequence out-of-order packets at the moment. Maybe I'll add a TCP option in the future.

I assume 64kb UDP packets are OK (Some stacks are limited to 16KB.)

I assume all DVB packets are 188 bytes. (Let me know if you find an exception.)

Client may often experience an exception (crash) upon exiting from DVBDream. I'm still looking for the cause.

Not thread-safe (yet)
- Only supports one (1) device per DVB host (untested - try more if you like)
- Only supports one (1) client per DVB host (client2 will steal control)
- No PIPs (DVBDream freezes/crashes)

CI interface (BDA only) is hopelessly broken at the moment.

Diseqc interface is implemented but untested (let me know).

High CPU load (100%) for more than 1 or 2 seconds on the client may cause DVBDream to crash.

Slowly resizing DVBDream's video window may eventually cause DVBDream to crash.

DDsrv's 'Configure' button may not work properly (I have only seen it function once.)

HD untested, streaming data rates unknown.

I don't keep .LOG files. If you need something to post regarding a perceived error just copy some meaningful text from the host applet's dialog or use DBWIN32 (bobmoore.mvps.org/Files/Utils/Utilshome.htm) if you think you need to see client messages.
Attachments
DDsrv_v0.1a.zip
DDrsv v0.1a (alpha)
(36.38 KiB) Downloaded 784 times

eslave
Just popping in
Posts: 4
Joined: Tue Feb 05, 2008 10:50 pm

Watchdog relaxed

Postby eslave » Wed Feb 06, 2008 1:22 am

Sorry for the pedantic watchdog. Now the host will wait about 36 seconds after 'losing contact' before it cuts-off the data stream (requires client restart).

I guess some other things have changed with 1.4i, as BDA.DEV no longer exhibits that horrendous memory leak (on my system), but throughput reliability has taken a serious dive in my own testing. Average test duration went from 3+ hours of glitch-free viewing over the wireless with 1.4h down to 20-30 minutes of moderately glitchy viewing with 1.4i.

You may want to enable 'Reset DS after channel change'. I think FFDshow is slightly more error-resiliant than Cyberlink, but it does require more CPU. I also recommend turning off the OSD modules if you experience crashes after every channel change.

If you need remote computer control to reset the host applet try VNC (XP typically requires the server to run in 'user mode'), or Remote Desktop (built into XP - the multi-user RDP hack is nice, too).
Attachments
DDsrv_v0.11a.zip
DDsrv v0.11a (relaxed watchdog)
(36.39 KiB) Downloaded 789 times
maxxxxel
Not too shy to talk
Posts: 15
Joined: Sat Feb 02, 2008 1:08 pm

Postby maxxxxel » Wed Feb 06, 2008 2:31 am

Wow :) great work cant wait to try this later. Will post my results
Happauge WinTV-Nova-HD-S2 - DD1.4h - bda_20080301_6
- Drivers NOVA-HVR-CD40a2 - Driver version 2 2.119.25023.0 - remote + wtvirbridge ;-)

HTPC - WinXP SP2 - AMD 3800 X2 939 - 1GB DDR2
$20 Donated to DVBDream. Support DVBdream and donate some $ :-D
odz
Posts: 2
Joined: Thu Feb 28, 2008 2:41 pm

Works perfect!

Postby odz » Fri Feb 29, 2008 5:08 pm

I love it! I spent so much time trying a way to stream to my laptop but everytime i thought i found something that worked there was always something missing!

I am in love with this plugin. FINALLY i can watch tv on my laptop and not lose any dvbdream features!!!!!

There does seem to be a mem leak somewhere. The only time it crashs for me is when DDsrv.exe starts useing up all of the memory on my system. Streaming still works but it starts dropping frames and the picture slowly starts to get unstable.

The second bug i have noticed is if throughput drops for what ever reason, dvbdream on the client will freeze up and crash. ddsrv.exe will also crash.

the third bug i've found is that if you start ddsrv while dvbdream is running on the client ddsrv will crash until you close dvbdream on the client and start ddsrv first.

It would be great if you could fix this mem leak problem. If you need logs or something let me know.

Code: Select all

EurekaLog 5.1.12

Application:
-------------------------------------------------------
1.1 Start Date : Sat, 1 Mar 2008 17:30:02 -0500
1.2 Name/Description: dvbdream.exe
1.3 Version Number : 1.4.9.0
1.4 Parameters :
1.5 Compilation Date: Mon, 11 Feb 2008 17:04:45 -0500

Exception:
--------------------------------------------------
2.1 Date : Sat, 1 Mar 2008 17:51:07 -0500
2.2 Address: 7C90E4F4
2.3 Module : ntdll.dll
2.4 Type : EFrozenApplication
2.5 Message: The application seems to be frozen.

Active Controls:
------------------------------------------
3.1 Form Class : CabinetWClass
3.2 Form Text : DirectShow FilterPack
3.3 Control Class:
3.4 Control Text :

Computer:
---------------------------------------------------------------------
4.1 Name : HELLO-86D51A2A7
4.2 User : Vic
4.3 Total Memory : 2047 Mb
4.4 Free Memory : 460 Mb
4.5 Total Disk : 62.82 Gb
4.6 Free Disk : 2.63 Gb
4.7 System Up Time: 5 days, 1 hour, 28 minutes, 47 seconds
4.8 Processor : Genuine Intel(R) CPU T2500 @ 2.00GHz
4.9 Display Mode : 1280 x 800, 32 bit

Operating System:
--------------------------------------
5.1 Type : Microsoft Windows XP
5.2 Build # : 2600
5.3 Update : Service Pack 3, v.3300
5.4 Language: English

Network:
---------------------------------------------------------------------------------------------------------------------------------------------
6.1 IP Address: 169.254.002.002 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 192.168.001.108 - 000.000.000.000 - 000.000.000.000
6.2 Submask : 255.255.255.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 255.255.255.000 - 000.000.000.000 - 000.000.000.000
6.3 Gateway : 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 192.168.001.002 - 000.000.000.000 - 000.000.000.000
6.4 DNS 1 : 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 192.168.001.002 - 000.000.000.000 - 000.000.000.000
6.5 DNS 2 : 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000
6.6 DHCP : ON - ON - ON - ON - ON - ON - ON

Call Stack Information:
---------------------------------------------------------------------------------------------------
|Address |Module |Unit |Class |Procedure/Method |Line |
---------------------------------------------------------------------------------------------------
| Exception Thread: ID=4792; Priority=0; Class=; [Main] |
|-------------------------------------------------------------------------------------------------|
|7C90E4F4|ntdll.dll | | |KiFastSystemCall | |
|7C90DF3A|ntdll.dll | | |ZwWaitForSingleObject | |
|71AB4D13|WS2_32.dll | | |WSARecv | |
|71AB4CB5|WS2_32.dll | | |WSARecv | |
|71AD2E9E|wsock32.dll | | |recv | |
|71AD2E70|wsock32.dll | | |recv | |
|0053501F|dvbdream.exe|DVBDevice.pas | |DevStopDevice |489[9] |
|00534FF0|dvbdream.exe|DVBDevice.pas | |DevStopDevice |481[1] |
|005BEED3|dvbdream.exe|dvbdream.dpr | | |1393[465]|
|-------------------------------------------------------------------------------------------------|
| |
| Running Thread: ID=5340; Priority=0; Class=TWorkerThread |
|-------------------------------------------------------------------------------------------------|
|7C90DF3A|ntdll.dll | | |ZwWaitForSingleObject | |
|7C802550|kernel32.dll| | |WaitForSingleObjectEx | |
|7C80253D|kernel32.dll| | |WaitForSingleObject | |
|7C802530|kernel32.dll| | |WaitForSingleObject | |
|004DB205|dvbdream.exe|VirtualTrees.pas|TWorkerThread |Execute |5067[3] |
|-------------------------------------------------------------------------------------------------|
| Calling Thread: ID=4792; Priority=0; Class=; [Main] |
|-------------------------------------------------------------------------------------------------|
|004DB15B|dvbdream.exe|VirtualTrees.pas|TWorkerThread |Create |5032[3] |
|004DB11C|dvbdream.exe|VirtualTrees.pas|TWorkerThread |Create |5029[0] |
|004DB0B2|dvbdream.exe|VirtualTrees.pas| |AddThreadReference |4982[9] |
|004DB080|dvbdream.exe|VirtualTrees.pas| |AddThreadReference |4974[1] |
|004E4246|dvbdream.exe|VirtualTrees.pas|TBaseVirtualTree |Create |11307[87]|
|004E3F7C|dvbdream.exe|VirtualTrees.pas|TBaseVirtualTree |Create |11220[0] |
|004FCCFE|dvbdream.exe|VirtualTrees.pas|TCustomVirtualStringTree|Create |28561[1] |
|7C9100A4|ntdll.dll | | |RtlAllocateHeap | |
|7E42017C|user32.dll | | |SystemParametersInfoA | |
|7E420191|user32.dll | | |SystemParametersInfoA | |
|7C9010E0|ntdll.dll | | |RtlLeaveCriticalSection| |
|005BE0C1|dvbdream.exe|dvbdream.dpr | | |964[36] |
---------------------------------------------------------------------------------------------------

Modules Information:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Handle |Name |Description |Version |Size |Modified |Path |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|00340000|Normaliz.dll |Unicode Normalization DLL |6.0.5441.0 |23552 |2007-07-22 06:59:04|C:\WINDOWS\system32 |
|00400000|dvbdream.exe | |1.4.9.0 |3625472|2008-02-12 00:04:44|C:\dvbdream |
|02340000|eitparser.dll | |1.1.0.0 |624128 |2008-02-03 02:30:06|C:\dvbdream |
|024E0000|psiparser.dll | |1.1.0.0 |4137477|2008-01-27 22:14:34|C:\dvbdream |
|02A30000|rec_mng.dll | | |637440 |2008-02-10 15:14:56|C:\dvbdream |
|030F0000|ddsrv.dev | | |77824 |2107-01-01 00:11:00|C:\dvbdream\Devices |
|03DD0000|em**ation.dll |em**ation Dynamic Link Library |3.0.3.4 |645632 |2008-02-25 20:19:18|c:\dvbdream\Plugins\pip00 |
|03E90000|pthreadVC2.dll |POSIX Threads for Windows32 Library |2.7.0.0 |30208 |2006-07-09 20:33:46|C:\dvbdream |
|047D0000|ddsource.ax |DD AV Source Filter |1.8.0.0 |101888 |2008-01-27 18:07:14|C:\dvbdream |
|04810000|Mpeg2DecFilter.ax |MPEG-1/2 Decoder Filter for DirectShow |1.0.0.4 |438272 |2007-09-18 09:31:54|C:\Downloads\DirectShow FilterPack\MPV Decoder |
|049E0000|ff_libmad.dll | | |143360 |2008-01-29 20:23:12|C:\Program Files\K-Lite Codec Pack\ffdshow |
|05340000|ffdshow.ax |DirectShow and VFW video and audio decoding/encoding/processing filter|1.0.5.1808 |2486272|2008-02-22 19:53:10|C:\Program Files\K-Lite Codec Pack\ffdshow |
|06AE0000|chltools.mod | | |254029 |2007-11-04 21:03:44|C:\dvbdream\modules |
|06B30000|dvbepg.mod |DVBEPG - EPG Plugin for DVBCore application. |1.0.2.40 |811008 |2008-02-21 19:42:54|C:\dvbdream\modules |
|07200000|streamrecorder.mod| | |823808 |2007-10-29 04:51:16|C:\dvbdream\modules |
|07B70000|dsp_sc.dll | | |135168 |2005-07-25 11:14:44|C:\Program Files\Winamp\plugins |
|0FC60000|rsaenh.dll |Microsoft Enhanced Cryptographic Provider |5.1.2600.3297 |208384 |2008-01-25 22:21:10|C:\WINDOWS\system32 |
|10000000|johjqb.dll | | |92740 |2008-01-26 06:57:56|c:\windows\system32 |
|10100000|lgscroll.dll |Logitech Scroll Enabler (UNICODE) |4.0.121.0 |45568 |2007-04-23 03:00:00|C:\Program Files\Logitech\SetPoint |
|42990000|iertutil.dll |Run time utility for Internet Explorer |7.0.6000.20696 |267776 |2007-10-10 18:47:28|C:\WINDOWS\system32 |
|42C10000|wininet.dll |Internet Extensions for Win32 |7.0.6000.20696 |825344 |2007-10-10 18:47:30|C:\WINDOWS\system32 |
|42CF0000|urlmon.dll |OLE32 Extensions for Win32 |7.0.6000.20696 |1162240|2007-10-10 18:47:30|C:\WINDOWS\system32 |
|4EC50000|gdiplus.dll |Microsoft GDI+ |5.1.3102.3300 |1724416|2008-01-26 06:58:06|C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.3300_x-ww_81aa8d4b |
|4FDD0000|D3D9.DLL |Microsoft Direct3D |5.3.2600.3300 |1689088|2008-01-26 06:57:20|C:\WINDOWS\system32 |
|58D40000|wship6.dll |IPv6 Helper DLL |5.1.2600.3300 |14336 |2008-01-26 06:57:34|C:\WINDOWS\System32 |
|5AD70000|uxtheme.dll |Microsoft UxTheme Library |6.0.2900.3300 |218624 |2008-01-26 06:57:30|C:\WINDOWS\system32 |
|5B860000|NETAPI32.dll |Net Win32 API DLL |5.1.2600.3300 |337408 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|5D360000|MFC80ENU.DLL |MFC Language Specific Resources |8.0.50727.762 |57344 |2007-08-23 00:18:08|C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_91481303 |
|5EDD0000|olepro32.dll | |5.1.2600.3300 |84992 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|605D0000|mslbui.dll |LangageBar Add In |5.1.2600.3300 |25088 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|662B0000|hnetcfg.dll |Home Networking Configuration Manager |5.1.2600.3300 |344064 |2008-01-26 06:57:22|C:\WINDOWS\system32 |
|6D990000|d3d8thk.dll |Microsoft Direct3D OS Thunk Layer |5.3.2600.3300 |8192 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|6FAC0000|des.dll | | |23481 |2006-02-19 11:59:46|C:\dvbdream |
|71A50000|mswsock.dll |Microsoft Windows Sockets 2.0 Service Provider |5.1.2600.3300 |245248 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|71A90000|wshtcpip.dll |Windows Sockets Helper DLL |5.1.2600.3300 |19456 |2008-01-26 06:57:34|C:\WINDOWS\System32 |
|71AA0000|WS2HELP.dll |Windows Socket 2.0 Helper for Windows NT |5.1.2600.3300 |19968 |2008-01-26 06:57:34|C:\WINDOWS\system32 |
|71AB0000|WS2_32.dll |Windows Socket 2.0 32-Bit DLL |5.1.2600.3300 |82432 |2008-01-26 06:57:34|C:\WINDOWS\system32 |
|71AD0000|wsock32.dll |Windows Socket 32-Bit DLL |5.1.2600.3300 |22528 |2008-01-26 06:57:34|C:\WINDOWS\system32 |
|71BF0000|SAMLIB.dll |SAM Library DLL |5.1.2600.3300 |64000 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|72280000|DINPUT.dll |Microsoft DirectInput |5.3.2600.3300 |158720 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|722B0000|sensapi.dll |SENS Connectivity API DLL |5.1.2600.3300 |7168 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|72D10000|msacm32.drv |Microsoft Sound Mapper |5.1.2600.0 |20480 |2004-08-04 07:00:00|C:\WINDOWS\system32 |
|72D20000|wdmaud.drv |WDM Audio driver mapper |5.1.2600.3300 |23552 |2008-01-26 06:58:04|C:\WINDOWS\system32 |
|73000000|winspool.drv |Windows Spooler Driver |5.1.2600.3300 |146432 |2008-01-26 06:58:04|C:\WINDOWS\system32 |
|732E0000|RICHED32.DLL |Wrapper Dll for Richedit 1.0 |5.1.2600.0 |3584 |2004-08-04 07:00:00|C:\WINDOWS\system32 |
|736B0000|msdmo.dll | |6.5.2600.3300 |14336 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|73B80000|AVICAP32.dll |AVI Capture window class |5.1.2600.0 |64000 |2004-08-04 07:00:00|c:\windows\system32 |
|73EE0000|KsUser.dll |User CSA Library |5.3.2600.3300 |4096 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|73F10000|dsound.dll |DirectSound |5.3.2600.3300 |367616 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|74720000|MSCTF.dll |MSCTF Server DLL |5.1.2600.3300 |297984 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|74810000|quartz.dll | |6.5.2600.3300 |1288192|2008-01-26 06:57:28|C:\WINDOWS\system32 |
|74E30000|RICHED20.dll |Rich Text Edit Control, v3.0 |5.30.23.1230 |433664 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|755C0000|msctfime.ime |Microsoft Text Frame Work Service IME |5.1.2600.3300 |177152 |2008-01-26 06:56:00|C:\WINDOWS\system32 |
|75A70000|MSVFW32.dll |Microsoft Video for Windows DLL |5.1.2600.3300 |121344 |2008-01-26 06:57:26|c:\windows\system32 |
|75F40000|devenum.dll | |6.5.2600.3300 |59904 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|75F80000|browseui.dll |Shell Browser UI Library |6.0.2900.3300 |1025024|2008-01-26 06:57:18|C:\WINDOWS\system32 |
|76390000|IMM32.DLL |Windows XP IMM32 API Client DLL |5.1.2600.3300 |110080 |2008-01-26 06:57:22|C:\WINDOWS\system32 |
|763B0000|comdlg32.dll |Common Dialogs DLL |6.0.2900.3300 |276992 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|769C0000|USERENV.dll |Userenv |5.1.2600.3300 |727040 |2008-01-26 06:57:30|C:\WINDOWS\system32 |
|76B40000|winmm.dll |MCI API DLL |5.1.2600.3300 |176128 |2008-01-26 06:57:32|C:\WINDOWS\system32 |
|76BF0000|PSAPI.DLL |Process Status Helper |5.1.2600.3300 |23040 |2008-01-26 06:57:28|c:\windows\system32 |
|76C30000|WINTRUST.dll |Microsoft Trust Verification APIs |5.131.2600.3300 |176640 |2008-01-26 06:57:32|C:\WINDOWS\system32 |
|76C90000|IMAGEHLP.dll |Windows NT Image Helper |5.1.2600.3300 |144384 |2008-01-26 06:57:22|C:\WINDOWS\system32 |
|76D60000|iphlpapi.dll |IP Helper API |5.1.2600.3300 |94720 |2008-01-26 06:57:22|C:\WINDOWS\system32 |
|76E80000|rtutils.dll |Routing Utilities |5.1.2600.3300 |44032 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|76E90000|rasman.dll |Remote Access Connection Manager |5.1.2600.3300 |61440 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|76EB0000|TAPI32.dll |Microsoft® Windows(TM) Telephony API Client DLL |5.1.2600.3300 |181760 |2008-01-26 06:57:30|C:\WINDOWS\system32 |
|76EE0000|RASAPI32.dll |Remote Access API |5.1.2600.3300 |237056 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|76F20000|DNSAPI.dll |DNS Client API DLL |5.1.2600.3300 |147968 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|76F60000|WLDAP32.dll |Win32 LDAP API DLL |5.1.2600.3300 |172032 |2008-01-26 06:57:32|C:\WINDOWS\system32 |
|76FB0000|winrnr.dll |LDAP RnR Provider DLL |5.1.2600.3300 |16896 |2008-01-26 06:57:32|C:\WINDOWS\System32 |
|76FC0000|rasadhlp.dll |Remote Access AutoDial Helper |5.1.2600.3300 |7680 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|76FD0000|CLBCATQ.DLL | |2001.12.4414.700|498688 |2008-01-26 06:57:18|C:\WINDOWS\system32 |
|77050000|COMRes.dll | |2001.12.4414.700|792064 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|77120000|oleaut32.dll | |5.1.2600.3300 |551936 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|773D0000|comctl32.dll |User Experience Controls Library |6.0.2900.3300 |1054208|2008-01-26 06:58:08|C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.3300_x-ww_d7ca0dc2|
|774E0000|ole32.dll |Microsoft OLE for Windows |5.1.2600.3300 |1287168|2008-01-26 06:57:26|C:\WINDOWS\system32 |
|77690000|NTMARTA.DLL |Windows NT MARTA provider |5.1.2600.3300 |118784 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|77920000|setupapi.dll |Windows Setup API |5.1.2600.3300 |985088 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|77A80000|CRYPT32.dll |Crypto API32 |5.131.2600.3300 |599040 |2008-01-26 06:57:20|C:\WINDOWS\system32 |
|77B20000|MSASN1.dll |ASN.1 Runtime APIs |5.1.2600.3300 |57344 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|77BD0000|midimap.dll |Microsoft MIDI Mapper |5.1.2600.3300 |18944 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|77BE0000|MSACM32.dll |Microsoft ACM Audio Filter |5.1.2600.3300 |71680 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|77C00000|version.dll |Version Checking and File Installation Libraries |5.1.2600.3300 |18944 |2008-01-26 06:57:32|C:\WINDOWS\system32 |
|77C10000|msvcrt.dll |Windows NT CRT DLL |7.0.2600.3300 |343040 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|77C70000|msv1_0.dll |Microsoft Authentication Package v1.0 |5.1.2600.3300 |132608 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|77DD0000|advapi32.dll |Advanced Windows 32 Base API |5.1.2600.3300 |617472 |2008-01-26 06:57:18|C:\WINDOWS\system32 |
|77E70000|RPCRT4.dll |Remote Procedure Call Runtime |5.1.2600.3300 |584704 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|77F10000|GDI32.dll |GDI Client DLL |5.1.2600.3300 |284672 |2008-01-26 06:57:22|C:\WINDOWS\system32 |
|77F60000|SHLWAPI.dll |Shell Light-weight Utility Library |6.0.2900.3300 |474112 |2008-01-26 06:57:30|C:\WINDOWS\system32 |
|77FE0000|Secur32.dll |Security Support Provider Interface |5.1.2600.3300 |56320 |2008-01-26 06:57:28|C:\WINDOWS\system32 |
|78130000|MSVCR80.dll |Microsoft® C Runtime Library |8.0.50727.762 |626688 |2006-12-01 21:54:32|C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700 |
|781D0000|MFC80.DLL |MFCDLL Shared Library - Retail Version |8.0.50727.762 |1101824|2007-08-23 00:18:08|C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_3bf8fa05 |
|78520000|MSVCR90.dll |Microsoft® C Runtime Library |9.0.20706.1 |654680 |2007-07-06 01:24:30|C:\dvbdream |
|7C340000|MSVCR71.dll |Microsoft® C Runtime Library |7.10.3052.4 |348160 |2003-02-20 20:42:00|C:\WINDOWS\system32 |
|7C420000|MSVCP80.dll |Microsoft® C++ Runtime Library |8.0.50727.762 |548864 |2006-12-01 21:54:34|C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700 |
|7C800000|kernel32.dll |Windows NT BASE API Client DLL |5.1.2600.3300 |989696 |2008-01-26 06:57:24|C:\WINDOWS\system32 |
|7C900000|ntdll.dll |NT Layer DLL |5.1.2600.3300 |706048 |2008-01-26 06:56:58|C:\WINDOWS\system32 |
|7C9C0000|shell32.dll |Windows Shell Common Dll |6.0.2900.3300 |8461312|2008-01-26 06:57:30|C:\WINDOWS\system32 |
|7DF70000|oledlg.dll |Microsoft Windows(TM) OLE 2.0 User Interface Support |5.1.2600.3300 |122880 |2008-01-26 06:57:26|C:\WINDOWS\system32 |
|7E410000|user32.dll |Windows XP USER API Client DLL |5.1.2600.3300 |578560 |2008-01-26 06:57:30|C:\WINDOWS\system32 |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Registers:
-----------------------------
EAX: 00001480 EDI: FFFFFFFF
EBX: 001D90A8 ESI: 7FFFFFFF
ECX: 7C802600 ESP: 0012FDE4
EDX: 01500000 EIP: 7C90E4F4

Stack: Memory Dump:
------------------ ---------------------------------------------------------------------------
0012FDE4: 7C90DF3C 7C90E4F4: C3 8D A4 24 00 00 00 00 8D 64 24 00 8D 54 24 08 ...$.....d$..T$.
0012FDE8: 71A5402B 7C90E504: CD 2E C3 90 55 8B EC 9C 81 EC D0 02 00 00 89 85 ....U...........
0012FDEC: 000002E4 7C90E514: DC FD FF FF 89 8D D8 FD FF FF 8B 45 08 8B 4D 04 ...........E..M.
0012FDF0: 00000001 7C90E524: 89 48 0C 8D 85 2C FD FF FF 89 88 B8 00 00 00 89 .H...,..........
0012FDF4: 0012FE0C 7C90E534: 98 A4 00 00 00 89 90 A8 00 00 00 89 B0 A0 00 00 ................
0012FDF8: 000002E4 7C90E544: 00 89 B8 9C 00 00 00 8D 4D 0C 89 88 C4 00 00 00 ........M.......
0012FDFC: 00000103 7C90E554: 8B 4D 00 89 88 B4 00 00 00 8B 4D FC 89 88 C0 00 .M........M.....
0012FE00: 00000103 7C90E564: 00 00 8C 88 BC 00 00 00 8C 98 98 00 00 00 8C 80 ................
0012FE04: B08135F0 7C90E574: 94 00 00 00 8C A0 90 00 00 00 8C A8 8C 00 00 00 ................
0012FE08: 01C87BEE 7C90E584: 8C 90 C8 00 00 00 C7 00 07 00 01 00 6A 01 50 FF ............j.P.
0012FE0C: FFFFFFFF 7C90E594: 75 08 E8 F5 F3 FF FF 83 EC 20 89 04 24 C7 44 24 u........ ..$.D$
0012FE10: 7FFFFFFF 7C90E5A4: 04 01 00 00 00 C7 44 24 10 00 00 00 00 8B 45 08 ......D$......E.
0012FE14: 001D90A8 7C90E5B4: 89 44 24 08 8B C4 50 E8 48 FF FF FF CC CC CC CC .D$...P.H.......
0012FE18: 00000000 7C90E5C4: CC CC 83 EC 0C DD 14 24 E8 CA FC FF FF E8 0D 00 .......$........
0012FE1C: 00000000 7C90E5D4: 00 00 83 C4 0C C3 8D 54 24 04 E8 75 FC FF FF 52 .......T$..u...R
0012FE20: 0012FE98 7C90E5E4: 9B D9 3C 24 74 50 66 81 3C 24 7F 02 74 06 D9 2D ..<$tPf.<$..t..-
Winxp SP3 build 3330
Wintv Nova-s-plus Dishpro lnb
Bruty
Just popping in
Posts: 7
Joined: Tue Nov 06, 2007 2:03 pm
Location: SLOVAKIA

Postby Bruty » Fri Mar 07, 2008 11:43 am

@eslave

Great work!!!
SKYSTAR 2 rev.2.3
eslave
Just popping in
Posts: 4
Joined: Tue Feb 05, 2008 10:50 pm

Working on an update.

Postby eslave » Wed Apr 02, 2008 7:16 pm

Thanks! Great to hear its working for others as well. I'm curious to know how many DEVices it works with. (Apologies for the slow response - my current time-sink is SketchUp + SketchyPhysics; quite a playground!)

My primary motivation for developing this was the ability to utilize my DVB card (and change channels) when someone else needs to use the desktop for 'real' work. (Being able to watch wireless TV on my laptop in the backyard or at my neighbor's house was an unexpected bonus.) The CPU demand for in-application streaming was way too high to run DD (or MT) in the background while still servicing the user at the keyboard. So I wrote this. In my experience host-side cpu use is about 1/6 to 1/10 that of DD's normal 'rendered' load, which now runs client-side (obviously).
(Aside: Normally, when the desktop is free, I have it running in 'STB Mode': with the 'Theater Mode' video output from my ATI card going to a DVR, which has its IR-blaster hard-wired to the desktop's serial port for remote control via winLirc. However, theater-mode requires DirectShow output/overlay which is not possible when another user logs-in. DDsrv's host applet, being renderless, has no such requirement.)

I'm slowly fiddling with an update: same crummy codebase but with reduced string matching, a prettier host UI, and logfiles. I was hoping to slightly reduce host-side cpu use, but my original hack-n-slash progamming style has left me in a bad spot when it comes to maintenance. Originally I just wanted to see it work, but now the code is difficult to manipulate and I'm reluctant to perform a rewrite. Improving the host UI has canceled all performance gains, and now I've managed to add some instability to the net code. So things are slightly broken at the moment. Perhaps I'll straighten it out in a week or two.


I know BroadLogic, DVBworld, and BDA_ALL fail under DDsrv in some manner on my system, but I don't have the hardware for the first two. Although DD+BDA_ALL appears to work with my Nova-S, no video is ever produced (100% signal level / 100% quality).

Sorry to all you BDA_ALL users. I really don't know what that DEVice wants or expects, but you can reproduce the same error at the command prompt (in DD's Devices folder). Case-sensitive AFTER the comma (technically the first one shouldn't work):
rundll32 BDA_ALL.dev,DllMain
rundll32 BDA_ALL.dev,DeviceGetInterface
rundll32 BDA_ALL.dev,DeviceGetInterfaceInfo
(Type the full path to BDA_ALL if executing from another folder.)

Exception 0x0eedfade: This seems to be Delphi's all-encompassing 'oops' error (in other words: it doesn't have a clue). For me the repeated culprit was whatever audio codec DD attempted to use. Holding CTRL while starting DD and selecting another audio codec would fix the problem for a day, then the error would occur again. I simply cycled through my available audio codecs whenever this happened, but I haven't experienced this in weeks.

PIPs: They really should work, but I have had minimal success with PIPs. Although I can't WATCH a PIP, I can RECORD up to 2 PIPs before something goes horribly wrong. I can also use VLC to watch the recordings as they're being made - feeble work-around, though.

DD lan streaming: Client-side DD can stream, but I've only had success receiving with MPC 6.4.9.x (sourceforge.net/projects/guliverkli2/).

@odz:
Memleak: It could be my crude string handling, or it could be the true DD DEVice file being improperly closed after a crash (and how it interacts with the OS driver). I've noticed on my system the same 'leak' in DD when I remove DDsrv and use DD + the true DEVice alone. It can soak up over 300 MB in about 3 hours on my system (32KB to 1+MB per second).

Crashing 'both sides': Yes, re-starting the server first was in my original list of known issues. (I know its a big list.)

Random crashes/dropouts: My threads are free-wheeling as fast as they can with no true thread synchronization other than some strategic BOOLs which I use a barriers. I know its crude, but I wanted to keep things simple. So when host and client begin to noticeably fall out-of-sync (busy CPU or network) its usually a sign that 'the end' is near. In some cases failing to re-start the host applet will cause duplicate DVB packets to be streamed - increasing network traffic and client CPU usage because DD tries to interpret all the duplicates. That is until the client cpu peaks at 100% for a few seconds and then DD crashes. Also watch out for zombies ('dead' instances in TaskManager->Processes) both host- and client-side.

I appreciate the dump, but it does little for me. I've seen it myself a few times before, but its not reliably reproducible. I believe DD's call to ntdll's KiFastSystemCall triggers EFrozenApplication (its the OS's way of saying 'you're too slow!'), but I can't go any faster as I'm probably waiting for a network packet from the other side (or waiting for the OS to do something else network related). I could try buffering, but that would probably just delay the inevitable - and coding that isn't on my list just yet.

Thanks for the input and stay tuned,
eslave
bitl3ss
Just popping in
Posts: 9
Joined: Sun Mar 02, 2008 8:47 pm

Postby bitl3ss » Tue Apr 15, 2008 8:18 pm

Hi

Where can I download this?

Thanks
bitl3ss
Just popping in
Posts: 9
Joined: Sun Mar 02, 2008 8:47 pm

Postby bitl3ss » Tue Apr 15, 2008 8:21 pm

Hi

Where can I download this?

Thanks
never mind, I wasn't logged so I couldn't see the file:)
odz
Posts: 2
Joined: Thu Feb 28, 2008 2:41 pm

Postby odz » Sun May 04, 2008 12:40 pm

just a quick update for the people using ddserv and eslave.

HD streaming of BEV HD works pretty good. Ram useage can reach 100mbs+ in a few mins though.

The best codec to use on the client side is "MainConcept MPEG-2 Video Decoder 7.2.0.1" and "MainConcept Layer II Audio Decoder 7.2.0" This codec does not glitch the video when frames get dropped. Instead of glitching the video just gets choppy like a streaming video would.

i really hope that you can fix the ram useage problem eslave. I love this plugin!
Winxp SP3 build 3330
Wintv Nova-s-plus Dishpro lnb

Return to “Test versions of modules & device interfaces and other tools”

Who is online

Users browsing this forum: No registered users and 1 guest