[MPlayer-cvslog] r33993 - trunk/sub/subreader.c
compn
tempn at twmi.rr.com
Tue Aug 16 02:47:03 CEST 2011
On Mon, 15 Aug 2011 23:32:15 +0200, Reimar Döffinger wrote:
>On Mon, Aug 15, 2011 at 11:30:33PM +0200, Reimar Döffinger wrote:
>> On Mon, Aug 15, 2011 at 10:19:39PM +0200, reimar wrote:
>> > Author: reimar
>> > Date: Mon Aug 15 22:19:39 2011
>> > New Revision: 33993
>> >
>> > Log:
>> > Fix reading of aqr/subrip09 subtitles.
>> > NULL return would indicate EOF, thus the "clear subtitle" entries
>> > would cause sub file parsing to stop.
>> > In addition the wrong sub end times would be used with CONFIG_SORTSUB.
>>
>> Btw. if someone knows how to get the automatically generated (via
>> text-to-speech) subtitles I'd be interested.
>
>Obviously the other way round. Aka voice recognition.
>I have the feeling that sometimes voice recognition is better than
>my hearing, at least when it's a foreign language, high dynamic range
>and I prefer to not risk waking the neighbours.
just running a packet sniffer finds where it downloads. not sure how to
automate that.
google says this might help:
http://www.google.com/events/io/2011/static/presofiles/the_youtube_caption_api_speech_recognition_and_webvtt_captions_for_html5.pdf
http://code.google.com/apis/youtube/2.0/reference.html
heres a sample captions from speech2text url:
http://www.youtube.com/api/timedtext?signature=E98408D9CC660FD38530CDDFDE10ABB098B98A0B.E4242F446760AD6E94DFE9EC4F31D8C2609649AF&expire=1313478000&asr_langs=en%2Cja&hl=en&type=track&name=&v=Uo5Rhn8zuPA&format=1&sparams=asr_langs%2Ccaps%2Cexpire%2Cv&kind=asr&key=yttt1&lang=en&ts=1313454834109&caps=asr
which i can wget fine (it might be a time-limited url).
generally i havent seen the speech2text be very accurate. i hope it gets
better.
-compn
More information about the MPlayer-cvslog
mailing list