Ttxtsubs-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 6: Zeile 6:
 
==Softwareanforderungen==
 
==Softwareanforderungen==
 
==Installation==
 
==Installation==
Siehe [[Plugin Installation]].
+
<pre>cd $SOURCEDIR/VDR
 +
zcat vdr-1.3.12-subtitles-0.3.3-and-ttxtsubs-0.0.5.diff.gz | patch
 +
patching file Makefile
 +
patching file dvbplayer.c
 +
patching file dvbsub.c
 +
patching file dvbsub.h
 +
patching file menu.c
 +
patching file osd.c
 +
patching file osd.h
 +
patching file osdcontroller.c
 +
patching file osdcontroller.h
 +
patching file rcontroller.c
 +
patching file rcontroller.h
 +
patching file recorder.c
 +
patching file recorder.h
 +
patching file remux.c
 +
patching file remux.h
 +
patching file vdrttxtsubshooks.c
 +
patching file vdrttxtsubshooks.h
 +
cd PLUGINS/src/ttxtsubs-0.0.5
 +
zcat vdr-ttxtsubs-0.0.5-charset_fix-custom_color-for-developer-vdr.diff.gz | patch
 +
patching file siinfo.c
 +
patching file siinfo.h
 +
patching file ttxtsubs.c
 +
patching file ttxtsubsdisplay.c
 +
patching file ttxtsubsdisplay.h
 +
patching file ttxtsubsglobals.h
 +
patching file ttxtsubsi18n.c
 +
patching file ttxtsubsrecorder.c
 +
</pre>
 +
Laut http://vdrportal.de/board/thread.php?threadid=17881 ist die '''siinfo.c''' für den Deutschsprachigen Raum anzupassen:
 +
<pre>#if 0
 +
  // Test - rewrite initial page 100 into subtitles page 150
 +
  if(pa->type == TTXT_INITIAL_PAGE &&
 +
    pa->mag = 0x1 &&
 +
    pa->page == 0x00) {
 +
    pa->type = TTXT_SUBTITLE_PAGE; // or TTXT_SUBTITLE_HEARING_IMPAIRED_PAGE ?
 +
-  pa->mag = 0x1;
 +
+  pa->mag = 0x7;
 +
-  pa->page = 0x50;
 +
+  pa->page = 0x77;
 +
  }
 +
#endif</pre>
 +
Dannach kann VDR wie gewohnt übersetzt werden.
  
 
==Probleme==
 
==Probleme==
Zeile 14: Zeile 57:
 
| ftp://ftp.nada.kth.se/pub/home/ragge/vdr
 
| ftp://ftp.nada.kth.se/pub/home/ragge/vdr
 
| Homepage des Plugins
 
| Homepage des Plugins
 +
|-
 +
| [2]
 +
| http://www.hut.fi/~rahrenbe/vdr
 +
| Patches
 
|}
 
|}

Version vom 3. September 2004, 12:29 Uhr

Inhaltsverzeichnis

Beschreibung

Dieses Plugin implementiert Anzeige, Aufnahme und Wiedergabe Teletext-basierter Untertitel mit dem OSD.

Hardwareanforderungen

Softwareanforderungen

Installation

cd $SOURCEDIR/VDR
zcat vdr-1.3.12-subtitles-0.3.3-and-ttxtsubs-0.0.5.diff.gz | patch
patching file Makefile
patching file dvbplayer.c
patching file dvbsub.c
patching file dvbsub.h
patching file menu.c
patching file osd.c
patching file osd.h
patching file osdcontroller.c
patching file osdcontroller.h
patching file rcontroller.c
patching file rcontroller.h
patching file recorder.c
patching file recorder.h
patching file remux.c
patching file remux.h
patching file vdrttxtsubshooks.c
patching file vdrttxtsubshooks.h
cd PLUGINS/src/ttxtsubs-0.0.5
zcat vdr-ttxtsubs-0.0.5-charset_fix-custom_color-for-developer-vdr.diff.gz | patch
patching file siinfo.c
patching file siinfo.h
patching file ttxtsubs.c
patching file ttxtsubsdisplay.c
patching file ttxtsubsdisplay.h
patching file ttxtsubsglobals.h
patching file ttxtsubsi18n.c
patching file ttxtsubsrecorder.c

Laut http://vdrportal.de/board/thread.php?threadid=17881 ist die siinfo.c für den Deutschsprachigen Raum anzupassen:

#if 0
  // Test - rewrite initial page 100 into subtitles page 150
  if(pa->type == TTXT_INITIAL_PAGE &&
     pa->mag = 0x1 &&
     pa->page == 0x00) {
    pa->type = TTXT_SUBTITLE_PAGE; // or TTXT_SUBTITLE_HEARING_IMPAIRED_PAGE ?
-   pa->mag = 0x1;
+   pa->mag = 0x7;
-   pa->page = 0x50;
+   pa->page = 0x77;
  }
#endif

Dannach kann VDR wie gewohnt übersetzt werden.

Probleme

Links

[1] ftp://ftp.nada.kth.se/pub/home/ragge/vdr Homepage des Plugins
[2] http://www.hut.fi/~rahrenbe/vdr Patches