[vdr] [Announce] Teletext Subtitles - ttxtsubs plugin 0.0.5

  • Zitat

    Original von flroi
    Frage am Rande :
    Warum stellst Du "Subtitel Mode: manual", statt "Subtitel Mode: auto"


    Es ist doch praktisch, wenn man Unschaltet und die Untertitel werden von alleine eingeblendet.


    Untertitel werden eingeblendet.
    Manuell ist wegen Angabe der Untertextseite, weil Automatik mit den meisten deutschsprachigen Sendern nicht funktioniert.


    Für die automatische Anzeige ist ja dass zuständig:
    Einstellungen Plugins ttxtsub:
    Zeige Untertitel: ja

  • i use not vdr precompiled, i compile always with command,


    make clean
    make clean-plugins
    make
    make plugins



    if i use that patch for plugin i have this error:


    root@KanotixBox:/temp/vdr-1.4.3# patch -p1 --dry-run < PLUGINS/src/ttxtsubs/vdr-ttxtsubs-0.0.5-lusikkahaarukka-edition.diff
    patching file Makefile
    Hunk #1 FAILED at 31.
    Hunk #2 FAILED at 48.
    Hunk #3 FAILED at 76.
    3 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
    can't find file to patch at input line 41
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |diff -Nru ttxtsubs-0.0.5/siinfo.c ttxtsubs-0.0.5-lusikkahaarukka-edition/siinfo.c
    |--- ttxtsubs-0.0.5/siinfo.c 2006-06-11 13:25:10.000000000 +0300
    |+++ ttxtsubs-0.0.5-lusikkahaarukka-edition/siinfo.c 2006-06-11 13:25:11.000000000 +0300
    --------------------------
    File to patch:



    how can i resolve??


    the directory in plugin must be named ttxtsubs or ttxtsubs-0.0.5 or ttxtsubs-0.0.5-lusikkahaarukka-edition ???

  • Zitat

    Original von dacorsa
    root@KanotixBox:/temp/vdr-1.4.3# patch -p1 --dry-run < PLUGINS/src/ttxtsubs/vdr-ttxtsubs-0.0.5-lusikkahaarukka-edition.diff


    This patch is for the Plugin, not for the vdr :)


    Code
    cd PLUGINS/src/ttxtsubs/
    root@KanotixBox:/temp/vdr-1.4.3/PLUGINS/src/ttxtsubs# patch -p1 --dry-run < vdr-ttxtsubs-0.0.5-lusikkahaarukka-edition.diff
  • Hallo,


    ich versuche schon seit einiger Zeit ttxtsubs und den bigpatch zusammenzubringen.
    Leider komme ich an einer Stelle nicht weiter. Problem ist, das durch den bigpatch in recorder.c eine Klasse(?) (class cFileWriter : public cThread) ganz entfernt wird. Der Patch für ttxtsubs (vdr-1.4.3-subtitles-0.4.0-and-ttxtsubs-0.0.5.diff) will in dieser Klasse folgendes ändern:


    Das geht nun nicht und die Fehlermeldung beim anschliessenden make ist dann:

    Code
    g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\"  menu.c
    menu.c: In constructor 'cRecordControl::cRecordControl(cDevice*, cTimer*, bool, bool, bool)':
    menu.c:4393: error: no matching function for call to 'cRecorder::cRecorder(char*&, int, int, int, const int*, const int*, const int*, bool, bool&, int [3], cTtxtSubsRecorderBase*&)'
    recorder.h:58: note: candidates are: cRecorder::cRecorder(const char*, int, int, int, const int*, const int*, const int*, cTtxtSubsRecorderBase*, bool, bool)
    recorder.h:46: note:                 cRecorder::cRecorder(const cRecorder&)
    make: *** [menu.o] Fehler 1


    Wo kann das "cTtxtSubsRecorderBase *ttxtSubsRecorder;" jetzt untergebracht werden?


    Gruss
    Marc

  • Die Klasse ist zu recorder.h gewandert.

    Dr. Brömme grübelt:
    Acht Wochen, nachdem man ihm beim Kölner Straßenkarneval einen Gratiskorn angeboten hatte,
    dämmert ihm langsam, dass er einem hinterlistigen Alaafisten aufgesessen ist.

  • Danke für die Antwort, komme leider trotzdem nicht weiter.


    So habe ich es jetzt in recorder.h eingefügt:


    aber die Fehlermeldung:

    Code
    g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\"  menu.c
    menu.c: In constructor 'cRecordControl::cRecordControl(cDevice*, cTimer*, bool, bool, bool)':
    menu.c:4393: error: no matching function for call to 'cRecorder::cRecorder(char*&, int, int, int, const int*, const int*, const int*, bool, bool&, int [3], cTtxtSubsRecorderBase*&)'
    recorder.h:59: note: candidates are: cRecorder::cRecorder(const char*, int, int, int, const int*, const int*, const int*, cTtxtSubsRecorderBase*, bool, bool)
    recorder.h:47: note:                 cRecorder::cRecorder(const cRecorder&)
    make: *** [menu.o] Fehler 1


    ...bleibt fast gleich.


    Grus
    Marc

  • hi ugo,


    I have fixed all rejects that comes with vdr-1.4.3-subtitles-0.4.0-and-ttxtsubs-0.0.5.diff after the bigpatch. But it's still not working so I ask if someone nows why.


    bye
    Marc

  • Hallo,


    wie oben geschrieben läuft der Patch jetzt durch und der VDR lässt sich kompilieren.


    Da ich aber eigendlich keinen Plan von C habe hätte ich da noch was...


    In transfer.c wird vom LiveBuffer Patch unter anderem folgendes erstellt:


    Dort habe ich dann die Zeile mit:

    Code
    Recorder=new cRecorder(FileName, 0, -1,Channel->Vpid(), Channel->Apids(),Channel->Dpids(),Channel->Spids(),true);


    so geändert:

    Code
    Recorder=new cRecorder(FileName, 0, -1, Channel->Vpid(), Channel->Apids(), Channel->Dpids(), Channel->Spids(), 0, true);


    Die dazupassende Zeile in recorder.h ist oben zusehen.


    Frage: Sollte da anstatt der "0" nicht besser was anderes hin?
    Ich vermute das die Untertitel jetzt im Replaymode nicht angezeigt werden.


    EDIT:
    Habe gerade mal mit einem Film auf dem Ersten getestet, der auf Seite 150 im Teletext einen Untertitel hatte. Leider wurde mit ttextsubs nichts angezeigt.


    Gruss
    Marc

    >>>> x-vdr <<<< Installations-Skript für einen VDR mit Debian als Basis

    Einmal editiert, zuletzt von zulu ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!