Ttxtsubs-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Installation)
(Installation)
Zeile 6: Zeile 6:
 
==Softwareanforderungen==
 
==Softwareanforderungen==
 
==Installation==
 
==Installation==
<pre>cd $SOURCEDIR/VDR
+
<pre>
 +
cd $SOURCEDIR/VDR
 
zcat vdr-<VDR-VERSION>-subtitles-<PLUGIN-VERSION>-and-ttxtsubs-<PLUGIN-VERSION>.diff.gz | patch
 
zcat vdr-<VDR-VERSION>-subtitles-<PLUGIN-VERSION>-and-ttxtsubs-<PLUGIN-VERSION>.diff.gz | patch
 
zcat vdr-ttxtsubs-<PLUGIN-VERSION>-charset_fix-custom_color-for-developer-vdr.diff.gz | patch
 
zcat vdr-ttxtsubs-<PLUGIN-VERSION>-charset_fix-custom_color-for-developer-vdr.diff.gz | patch
 
</pre>
 
</pre>
 +
 
Laut http://vdrportal.de/board/thread.php?threadid=17881 ist die '''siinfo.c''' für den Deutschsprachigen Raum anzupassen:
 
Laut http://vdrportal.de/board/thread.php?threadid=17881 ist die '''siinfo.c''' für den Deutschsprachigen Raum anzupassen:
<pre>#if 0
+
 
 +
<pre>
 +
#if 0
 
   // Test - rewrite initial page 100 into subtitles page 150
 
   // Test - rewrite initial page 100 into subtitles page 150
 
   if(pa->type == TTXT_INITIAL_PAGE &&
 
   if(pa->type == TTXT_INITIAL_PAGE &&
Zeile 22: Zeile 26:
 
+  pa->page = 0x77;
 
+  pa->page = 0x77;
 
   }
 
   }
#endif</pre>
+
#endif
 +
</pre>
 +
 
 
Ggf ist noch das "include-dir" zu erzeugen, keine Angst das geht einfacher als es sich anhört :-))
 
Ggf ist noch das "include-dir" zu erzeugen, keine Angst das geht einfacher als es sich anhört :-))
 +
 
<pre>
 
<pre>
 
cd $SOURCEDIR/VDR
 
cd $SOURCEDIR/VDR
 
make include-dir
 
make include-dir
 
</pre>
 
</pre>
 +
 
Dannach kann VDR wie gewohnt übersetzt werden.
 
Dannach kann VDR wie gewohnt übersetzt werden.
  

Version vom 23. November 2004, 13:37 Uhr

Inhaltsverzeichnis

Beschreibung

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

Ttxtsubs-plugin.jpg

Hardwareanforderungen

Softwareanforderungen

Installation

cd $SOURCEDIR/VDR
zcat vdr-<VDR-VERSION>-subtitles-<PLUGIN-VERSION>-and-ttxtsubs-<PLUGIN-VERSION>.diff.gz | patch
zcat vdr-ttxtsubs-<PLUGIN-VERSION>-charset_fix-custom_color-for-developer-vdr.diff.gz | patch

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

Ggf ist noch das "include-dir" zu erzeugen, keine Angst das geht einfacher als es sich anhört :-))

cd $SOURCEDIR/VDR
make include-dir

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.saunalahti.fi/~rahrenbe/vdr/patches Patches