Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #447890 12-Mar-2011 19:44
Send private message

Why don't I try processing a ts file from EyeTV first?

It will need to be 60 secs long and if you can upload it to RapidShare (say) I'll give it a try.

At least then we will know the format can be processed before you waste any time on it.

The software consists of an exe, a few dll's and some configuration files. I'll also give you a sample parameter file as that's how it's driven. The command line pretty well justs points to the parameter file.



tokyovigilante
58 posts

Master Geek


  #447895 12-Mar-2011 20:03
Send private message

OK sure, thanks. That's very helpful.

I've put a 66 second clip in my Dropbox at http://dl.dropbox.com/u/8420975/00000000132b514b.mpg.

jonherries
1395 posts

Uber Geek

Trusted
Subscriber

  #447906 12-Mar-2011 21:44
Send private message

Hey, This sounds great.

Happy to help, but my ability is quite limited (I can test).

If there is an issue with using Mono an alternative might be using the linux version's source code with the macports.org project?


Jon



SJB

SJB
2945 posts

Uber Geek
Inactive user


  #447948 13-Mar-2011 10:51
Send private message

That dump looks like it worked. I can pull 7 days MHEG5 data from it for all 19 stations.

How can I package up the exe's etc. Can you process a zip?

tokyovigilante
58 posts

Master Geek


  #447966 13-Mar-2011 11:58
Send private message

Thats great news. Yeah, a zip would be fine.

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448013 13-Mar-2011 16:15
Send private message

OK here we go. Here's the Rapidshare link to the zip.

http://rapidshare.com/files/452278561/EPG_Collector_for_Mono.zip

It needs to be unzipped with the Configuration directory off the executable directory as in the zip file.

There is a parameter file (MHEG5 Test.ini) that will drive it but you will need to change the output file and dump file locations.

The command line to run it is EPGCollector /ini="MHEG5 Test.ini"

With MHEG5 you need to set the PID containing the data when you run with a transport stream file rather than a live feed. That's what the Debug line you can see in the ini file is doing and it's correct for the dump you gave me yesterday. If you have a dump from NZ satellite it would be 1001 instead of 1003. It's the only protocol that needs any special treatment to find the data.

You may notice a dll called DirectShow. The program needs it because it logs the version numbers of each of it's dll's on loading but hopefully it won't need it after that.

It displays and writes a log while it's running. Under Windows the log file is written to the application data directory - no idea where it will go under Mono. This location is not currently configurable.

Let me know how it goes.

Steve

tokyovigilante
58 posts

Master Geek


  #448018 13-Mar-2011 16:28
Send private message

Hi Steve,

Thanks again for all your hard work on this. Looks like there are still some directshow dependencies along for the ride:

[Sun  4:27pm] ryan@crackotage ~/Downloads/EPG_Collector_for_Mono/ $ mono EPGCollector.exe /ini="MHEG5 Test.ini" Started on 13/03/2011
============================ EPG Collector (Version 3.1) ==============================
Executable build: 3.1.4089.22210 ** The program has failed with an exception ** Exception: Could not load type 'DirectShow.DirectShowGraph' from assembly 'DirectShow, Version=3.1.4089.20222, Culture=neutral, PublicKeyToken=null'. ** Location:   at EPGCollector.Program.Main (System.String[] args) [0x00000] in :0  Exiting with code = 5

I'm not sure whether I need something extra with Mono, or this can be fixed within the EPG Collector code.

EDIT - what, no code tags? Outrageous. Bad Geekzone.

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
tokyovigilante
58 posts

Master Geek


  #448019 13-Mar-2011 16:41
Send private message

OK, Added in DirectShowLib-2005.dll from the 3.0 release, and got a bit further, now processes the ini but halts with another error (sorry for the log spew):


============================ EPG Collector (Version 3.1) ==============================

Executable build: 3.1.4089.22210
DirectShow build: 3.1.4089.20222
DomainObjects build: 3.1.4089.20221
DVBServices build: 3.1.4089.22209

Privilege level: Other

Base directory: /Volumes/HomeOld/HomeLinks/Downloads/EPG_Collector_for_Mono
Data directory: /Volumes/Home/ryan/.local/share/Geekzone/EPG Collector

Processing command line parameter: /ini=MHEG5 Test.ini
Processing ini parameter: [GENERAL]
Processing ini parameter: Output=.\TVGuide.xml
Processing ini parameter: [DIAGNOSTICS]
Processing ini parameter: TSFile=.\00000000132b514b.ts
Processing ini parameter: Debug=SETDSMCCPID-1003
Processing ini parameter: [DVBS]
Processing ini parameter: Satellite=1600
Processing ini parameter: Dish=9750000,10750000,11700000,AB
Processing ini parameter: TuningFile=160.0?E Optus D1.xml
Processing ini parameter: ScanningFrequency=12456000,22500,3/4,H,MHEG5
** The program has failed with an exception
** Exception: Thread.Name can only be set once.
** Location: at (wrapper managed-to-native) System.Threading.Thread:SetName_internal (System.Threading.InternalThread,string)
at System.Threading.Thread.set_Name (System.String value) [0x00000] in :0
at DVBServices.EPGController.epgWorkerDoWork (System.Object sender, System.ComponentModel.DoWorkEventArgs e) [0x00000] in :0
at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs e) [0x00000] in :0
at System.ComponentModel.BackgroundWorker.ProcessWorker (System.Object argument, System.ComponentModel.AsyncOperation async, System.Threading.SendOrPostCallback callback) [0x00000] in :0
Exiting with code = 5

Probably an issue with mixing binary versions?

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448023 13-Mar-2011 17:06
Send private message

Try this one. It replaces the previous one completely.

http://rapidshare.com/files/452282418/EPG_Collector_for_Mono.zip

I'm not overly confident. The code doesn't make any DirectShow calls in your case but dll dependencies may trip us up for a while.


tokyovigilante
58 posts

Master Geek


  #448024 13-Mar-2011 17:12
Send private message

Same error with that new package, although no longer regarding the DirectShow dependencies, now regarding threads.


** The program has failed with an exception
** Exception: Thread.Name can only be set once.
** Location: at (wrapper managed-to-native) System.Threading.Thread:SetName_internal (System.Threading.InternalThread,string)
at System.Threading.Thread.set_Name (System.String value) [0x00000] in :0
at DVBServices.EPGController.epgWorkerDoWork (System.Object sender, System.ComponentModel.DoWorkEventArgs e) [0x00000] in :0
at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs e) [0x00000] in :0
at System.ComponentModel.BackgroundWorker.ProcessWorker (System.Object argument, System.ComponentModel.AsyncOperation async, System.Threading.SendOrPostCallback callback) [0x00000] in :0
Exiting with code = 5

If i remove the DVB-S section from the ini file, I get a different error about not being able to find the tuning frequency (makes sense). I wonder if the code is still trying to access a tuner?

Other thing I thought of was path names across Mac/Windows. I've just replaced the input and output paths in the ini file with relative references, hopefully that's the right thing to do.

Are there any debug options i can use in the binary? Would it be more helpful if I attempt to build from source and debug?

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448030 13-Mar-2011 17:51
Send private message

Can you post the log file? It's only a text file. That was very close to starting to process the data.

The DVBS section needs to stay in the ini file and it's not trying to access a tuner. There may just be a slight difference in the Mono .net libraries to the real ones.

It's trying to set the name of a thread which is just a basic .net function. Nothing to do with DirectShow.

tokyovigilante
58 posts

Master Geek


  #448031 13-Mar-2011 17:57
Send private message

No problem, thanks again for looking at this.

http://dl.dropbox.com/u/8420975/EPG%20Collector.log is the log with that error. Thats with the ini file modified only to point to local data and output paths (ie with the DVB-S section intact).

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448034 13-Mar-2011 18:34
Send private message

Try this one.

http://rapidshare.com/files/452287345/EPG_Collector_for_Mono.zip

No real reason for the previous problem in that it was creating a thread and setting a readable name for it. The name of a thread is only cosmetic so I've commented the line out together with any other occurrences of the same function.

If we really get stuck I'll pass you the code. I'm not keen to do that at the moment because this version is still being tested/changed ready for a release at the end of the month. I don't want different versions for Windows users and another for Mono.

Anyway we've only been at it for a couple of hours. I spent over 2 months testing with a guy in Oz before OpenTV was working. He nearly ended up divorced!!!!

tokyovigilante
58 posts

Master Geek


  #448062 13-Mar-2011 22:08
Send private message

Same problem with that version unfortunately, I've updated the log but the message seems identical.

Fully understand not wanting to release unfinished code, I've worked on far too many projects that have become fragmented through platform differences. The answer is code flexibility, not fragmentation.

Don't worry, my girlfriend is long past minding my involvement in various projects ;)

tokyovigilante
58 posts

Master Geek


  #448075 13-Mar-2011 23:37
Send private message

On the plus-side, the EyeTV plugin is done otherwise, it can export a TS in real time by duplicating packets as they come off the tuner, parse out the DSM-CC PID and run the EPG Collector, all that's missing is the XML conversion. Promising!

1 | 2 | 3 | 4 | 5 | 6 | 7
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.