Beiträge von Gruffy

    Zitat

    Originally posted by Don MC
    Gruffy, while you're at it, I have one more request: A possibility to delay the showing of live TTX-subs. Our local broadcaster seems to be sending out their TTX-subs 2-3 seconds too early and that is a nuisance.


    That is already there. Check the configs for that...


    /Gruffy

    Zitat

    Originally posted by Don MC
    I wish I could just turn off 2SUB's DVB subtitles and only use its TTX subs.


    Will look into this next time I update it...
    /Gruffy

    Hi there,


    Sorry for switch to english...but I am reallly bad in german.
    I have seen this as well...but also, there seems to be a file created "/log.ts" which is filling up the flash...probably a "forgotten" test-log from DMM. "filepush.cpp" seems to be creating and filling this one.


    Can you confirm this, DMM?


    /Gruffy

    Hi there!


    I will see if can get some time to investigate the file and see if 2SUB logging can reveal some new clues to this problem.


    About the mentioned bugs for 2SUB...I have not gotten any of those reports, but...I have also been very busy with other things so I could have missed it in some way. I will see if I can get any time to look at this some day...at the moment I am trying to spend the small time I have on other things than 2SUB and gSUB....


    Glad to hear that you find it useful as well. It all started as a personal need for some nice subs...


    /Gruffy

    Hi there!


    In my plugin 2SUB I have also tried to implement some support for DVB Subtitles (along with TXT subs) and I have seen some strange stuff as well.


    What happens is that it seems like the DVB PES packets arrive VERY late some times and in this case I will have to drop them as their PTS has been passed. The strange thing with this is that I have a recording and this is behaving differently when I playback it. Some times, the text is OK and some not. I have traced this back to that my (PES) filters does not receive the data properly and to me it seems as the driver is buffering my PES packets too much some times so that it is taking too long for them to pop out in my filter.


    Please let me know if I can help you trace this in any way.
    /Gruffy

    Hi Gaj!


    Glad that it is working for you! A LOT of credits to Nemesis for his wonderful skins!


    If this small contribution would make it into CVS in any form, I would be very happy! Note that all source is included in the IPK as well!


    /Gruffy

    Hi there,


    I just wanted to publish the last version of my subtitle plugin for DM7025...this time it supports DVB Subtitles as well as Teletext subtitles. I wrote a small text about a few things regarding this, see below.


    2SUB 2LANG 2006-07-20, V0.71
    -----------------------------------
    This is a brand new release of the subtitle plugin for DM7025. For the first time it handles BOTH Teletext subtitles as well as DVB Subtitles. Some minor and small tweaks has also gone into this release, but the major change is the support for DVB Subtitles.


    There are however some things to know when using this version:
    - Recordings...it seems like the Enigma2 does not handle to record the DVB Subtitles yet, so channels with DVB Subs will loose this after a recording. Sorry...cannot do anything about this yet. Teletext seems to be recorded just fine however.


    - C MORE HD on 1West: This channel seems to "announce" the presence of DVB Subtitles, but when 2SUB tries to filter data on the PID for DVB Subtitle no data ever arrives. So, as I see it, this channel does not transmitt DVB Subs yet, at least not what I have seen.


    - Settings: Note that NONE of the positioning, font selections, colors settings etc apply for DVB Subtitles. All data is sent as "bitmaps" that 2SUB just blits out when they should come. So, the settings are used when decoding Teletext subtitles only.


    - New setting: You can select if 2SUB should use DVB or Teletext subs as a preference. This is useful when watching for example C MORE HD. Select "TXT->DVB" to have 2SUB to use Teletext prefered to DVB and you will get subtitles on this channel as the Teletext subs seems to work.


    Lastly...thanks to my patient BETA crew for putting up with many "strange" releases before we go public!


    /Gruffy

    Hi there,


    I have created a Subtitle (2SUB) plugin for the 7025...this required quite the same info for that to run. What I did was to create a small python plugin that writes these PIDs (and other info) to the file /tmp/2SUB.tmp every time these changes. Maybe you can either write a similair plugin for your use, or start by installing 2SUB and use the values in this file.


    /Gruffy

    Hello,


    I just wanted to post a follow up on this topic. I have attached a hello_world sample here.


    How to compile:
    Make sure you have created the devshell according to the other thread mentioned here.


    To make my devshell work (with Ubuntu Linux) I had to change the last alias row from:
    alias ./configure=oe_runconf
    to:
    alias configure=oe_runconf


    Don't really know why...but hey a minor problem!


    Unpack the hello_world somewhere (does not need to be inside your oe tree).
    Start the devshell and cd to your unpacked directory.


    In this you should then do (from the devshell...this is important):
    autoreconf --install
    configure
    make


    The "autoreconf" may not be needed...but run anyway to make sure everything is set!


    This sould create a hello_world exefile in [hello_world_root]/src.


    Good luck & happy coding!
    /Gruffy

    Thank you!


    The devshell looks intresting, I will dig into that. I do have some difficulties with the translation of the text in the forum. I tried babelfish etc...but I still have some trouble understanding all of it. Do you think you could help me with a short english version of this:
    Diese devshell findet man dann in "build/tmp/deploy/addons" für die 7025 heisst die dann mipsel-linux-opendreambox-dm7025-devshell


    Die kann man einfach auf seinem Linux dann starten.. dann einfach die sourcen auspacken, die man kompilieren will.. oder in das Verzeichniss wechseln.. anstatt von configure sollte man da dann
    "oe_runconf" starten.. das configured dann die sourcen für mipsel.. danach nur make..
    Wenn irgendwelche libs fehlen, dann diese sofern vorhanden mit bitbake normal bauen.. oder halt auf dem selben weg erstmal kompilieren und make install..


    That would have been very nice if you got some time to help me with that. I understand if you don't but I wanted to ask anyway. Thanks.


    /Gruffy

    Hi there,


    I have now compiled a 7025 image using the instructions found here etc. Now, I wonder how the easiest way to create&compile a standalone "hello world" program should be setup.


    How do I create a new small project and include in the bitbake environment, or is it possinble to create some external makefiles etc using the settings (cross compiler etc) from the dreambox bitbake stuff?


    I have seen this: http://developer.elitedvb.net/listprojects.php?curr_dir=94
    And started to modify it to use mips instead of PowerPC...but it seems rather compilcated...is there an easier way?


    Best regards
    Gruffy

    Hi agian,


    First, thank you all for quick answers! Very nice to see such an active community.


    Well, I can start the gSUB through the plugin, i.e. "Restart" and "Killl" and such things from inside the plugin. But, normally you would like to have the "stand alone" program to start without need for user to interact. So what is done today, is to have the linux init scripts start it.


    Yes, I could write the status file myself, but the problem is that this status is needed all the time. For example if the user changes the channel I need to know so that I can restart my PID filters and such things to decode new subtitles.


    Is it possible to write a plugin inside Enigma that can be autostarted (maybe one could autostart it with use of wget in an initscript???) and then fork it to stay around and write this file to /tmp with a good interval???


    With this, I mean that I am writing a "silent no GUI" plugin that just forkes off and is staying around and writing this /tmp file???


    Hrm..this might be a way to do it... I will investigate and come back here if I find something out.


    /Gruffy

    Hi there,


    The problem is that gSUB is a stand-alone program running as a separate process so I cannot link into Enigma. It is working like bullz_text if you have seen that...i.e. one "subtitle app" and one "subtitle app config plugin".


    So that is not possible, at least to my knowledge.


    /Gruffy

    Hi there,


    I am writing a plugin for subtitles for using with the dreambox (gSUB). When doing this I need to get hold of some status from Enigma, i.e. what PIDs are used, is there an ongoing recording, are we in file mode, etc. Today, I am using the WebIF and specifically the /cgi-bin/status request to collect this information.


    This is working very well in almost all cases. I am normally asking this question every 2 seconds to see if something has changed, i.e polling every 2 seconds.


    However, there is a problem when using a dm500 model and recording to a network disk at the same time. If I am polling through WebIF while recording the recording gets corrupted... I have tested with writing a script (.sh file) where I only do a while loop with a "sleep 2" and a "wget ...." to this status page. If I start recording while this is running, I also end up with corrupted recordings. So, it seems like the 500 box cannot handle web requests while recording...probably due to the lack of CPU power???


    Anyway, my idea was that you maybe could create a file like "/tmp/.enigma_status" with all this information that many plugins use and we could poll status from disk instead of poll through the network stack.


    Or, is there any other way to get information out from Enigma?


    Please help/advice...


    /Gruffy