@tokyovigilante, I had a look at your last posted log, it looks like the app can't find your files as I see several ""
My config file looks like this: http://cl.ly/353p1T2O090U060N0m3m This line is what mono seems to want (windows style) C:\Documents and Settings\All Users\Application Data\Geekzone\00000000132b514b_.mpg
But on a mac that file is located here: /Users/technoguy001/.local/share/Geekzone/00000000132b514b_.mpg
Same principle is applied for the xml dir... hope that helps... but if it does you will probably end up with the next error (that I get)
Edit: Damn, not even <code></code> tags work for code (well.. they do on the editor but it disappears when you post it)
I've realised there is a problem that I need to do some more work on.
In normal running the DirectShow related code buffers the incoming data in an unmanaged memory block. This is done with a C++ DirectShow filter and it allocates the buffer and the .net managed code reads and processes the data from it.
Unfortunately the simulated input code does pretty much the same even though it is all managed code. It allocates the buffer using a .net function that gets the memory from the unmanaged memory of the process which is obviously not going to work when running under Mono.
I need to adjust the simulated input code to use a regular managed buffer when running under Mono. I'll try and sort this out today and let you have another copy as soon as it's done.
Speak of the devil! Thanks Steve, we might have this running tonight...
On the plus side the TS exporter/parser plugin for EyeTV is working fine, I've borrowed some PID parsing code from Handbrake to find the DSM-CC PID -
streamtest[10873:a0f] file is MPEG Transport Stream with 188 byte packets offset 0 bytes streamtest[10873:a0f] next_packet: sync lost @ 8192, regained after 80 bytes streamtest[10873:a0f] hb_ts_stream_find_pids - found the following PIDS streamtest[10873:a0f] Video PIDS : streamtest[10873:a0f] 0x1c4 type H.264 (0x1b) streamtest[10873:a0f] Audio PIDS : streamtest[10873:a0f] 0x192 type MPEG4 LATM AAC (0x11) streamtest[10873:a0f] 0x3eb type ISO 13818-6 DSM-CC U-N msgs (0xb)
Is it possible for the TS exporter to be generic rather than just for MHEG5?
Ideally you would export every PID that wasn't carring video or audio but that would require you to parse/process the SI packets (not a trivial task) first to find out which PID's they are.
Alternatively I would dump everything.
Incidentally even if you stuck with the specific MHEG5 implementation the Collector needs more than just the MHEG5 PID. It process all the station data and, for satellite, the channel allocation data, which is transmitted on other standard DVB PID's.
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.
Oh yes, the parsing code is just to find the DSM-CC PID for the configuration file. The exporter dumps the whole stream, as per the sample I provided.
The plugin's basic flow is
-Export 65 second raw TS -Parse file to find DSM-CC PID -Write EPG Collector config file and spawn EPG Collector process -Reimport generated XML file to EyeTV.
Can the 65 seconds be parameterized? Some FreeSat and OpenTV collections in Europe are huge (1,000 stations and 100,000 epg entries) so 65 secs won't be enough.
I've had a look at the Mono forums and apparently it is OK to allocate and use unmanaged memory. Almost immediately I found some posts that were doing it.
It can't tell from the log/cli posted what exception is being reported. There is no exception in the Collector log and the cli stack trace just indentifies the failing line not what's wrong with it.
The below outputs are from the new build you just posted Here is the output of: mono --trace EPGCollector.exe /ini="MHEG5 Test.ini" http://cl.ly/0F0G3i0m3u2t28263K2y
Seems like im getting an exception (using switch: --trace=N:nothing )
[0xa064c540:] EXCEPTION handling: System.IO.FileNotFoundException: Could not find file "/Users/technoguy001/Downloads/EPG_Collector_for_Mono-1/C:\Documents and Settings\All Users\Application Data\Geekzone\00000000132b514b_.mpg".
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.