[FFmpeg-devel] [PATCH] lavf: JSON captions demuxer.
Clément Bœsch
ubitux at gmail.com
Sat Nov 24 22:22:59 CET 2012
On Wed, Nov 21, 2012 at 01:55:17PM +0100, Nicolas George wrote:
> Le decadi 30 brumaire, an CCXXI, Clément Bœsch a écrit :
> > Please add an entry in general.texi.
>
> Done.
>
> > > + at url{javascript:(function()%7bd%3Dwindow.open%28%22%22%2C%22sub%22%2C%22width%3D256%2Cheight%3D512%2Cresizable%3Dyes%2Cscrollbars%3Dyes%22%29.document%3B%20l%3Ddocument.getElementById%28%22languageCode%22%29.getElementsByTagName%28%22option%22%29%3B%20for%28i%3D1%3Bi%3Cl.length%3Bi++%29%7B%20d.body.appendChild%28p%3Dd.createElement%28%22p%22%29%29%3B%20p.appendChild%28a%3Dd.createElement%28%22a%22%29%29%3B%20a.appendChild%28d.createTextNode%28l%5Bi%5D.textContent%29%29%3B%20a.href%3D%22http%3A//www.ted.com/talks/subtitles/id/%22%20+%20talkID+%22/lang/%22+l%5Bi%5D.value%3B%20%7D%20%7d)();void%200, TED Talks captions}.
> > Erk…
>
> I agree.
>
> > Can't you point out a library like libquvi (if it supports this) or
> > something for such task?
>
> I do not think anything already exists: this is very specific.
>
> > Or maybe just add a script in tools/.
>
> It is a bookmarklet: people are supposed to store it in their bookmarks, and
> then activate it when they are on the relevant page. I can create
> tools/bookmarklets.html with a readable version of the javascript code, but
> it is the best I can think of.
>
And it looks OK in both html and manpage output?
I wonder if the best this to do won't be simple to ask TED web admins to
add a link to the file…
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121124/6a8dced6/attachment.asc>
More information about the ffmpeg-devel
mailing list