Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: How extract teletext subtitles from recordings?



----- Original Message ----- 
From: "Ragnar Sundblad" <ragge@nada.kth.se>
To: <vdr@linuxtv.org>
Sent: Sunday, October 26, 2003 10:46 PM
Subject: [vdr] Re: How extract teletext subtitles from recordings?


> 
> --On den 26 oktober 2003 22:18 +0100 Pierre Briec <pbriec@free.fr> wrote:
> 
> > i've searched how can i get the subtiltes that are included inside the
> > vdr files, but i've found nothing except old patch.
> > Is there a tool that can extract the subtitles (with timing) to a text
> > file so then it can be use after with mplayer for example.
> 
> I have an ugly hack to do that, based on code ripped out
> of ttxtsubs. Page number is hardcoded and it is in general
> quite user unfriendly. Maybe you find it useful anyway.
> It can be found here.
> <ftp://ftp.nada.kth.se/pub/home/ragge/vdr/hacks/ttxtdump.tgz>
> 
> /ragge
> 
Hi ragge,

i've tried to compile this tool but i have several errors :( like
....
ISO C++ forbids range expressions in switch statements.
ttxtdump.cc: In function `int main(int, char**)':
ttxtdump.cc:217: `uint64_t' undeclared (first use this function)
ttxtdump.cc:217: parse error before `=' token
ttxtdump.cc:225: `bytes_read' undeclared (first use this function)
ttxtdump.cc:228: `uint32_t' undeclared (first use this function)
ttxtdump.cc:228: parse error before `;' token
ttxtdump.cc:245: `u' undeclared (first use this function)
ttxtdump.cc:245: parse error before `)' token
ttxtdump.cc:245: `ntohl' undeclared (first use this function)
ttxtdump.cc:261: parse error before `)' token
ttxtdump.cc:265: parse error before `)' token
ttxtdump.cc:270: warning: ISO C++ forbids range expressions in switch 
   statements
ttxtdump.cc:274: warning: ISO C++ forbids range expressions in switch 
   statements
ttxtdump.cc:285: parse error before `)' token
ttxtdump.cc:289: parse error before `)' token
ttxtdump.cc:293: parse error before `)' token
ttxtdump.cc:303: `get_time_stamp' cannot be used as a function
ttxtdump.cc:305: parse error before `)' token
ttxtdump.cc:316: parse error before `)' token
ttxtdump.cc:321: `printf' cannot be used as a function
make: *** [ttxtdump.o] Error 1
....

i'm using Debian and gcc/g++ 3.3.2
Can you help me?

Pierre



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index