Forum:Subtitle Wiki

REJECTED PROJECT. PROYECTO RECHAZADO

This page is written mostly in English, but also includes sections in Spanish.


 * Esta página está escrita sobre todo en inglés, pero también contiene secciones en español.

And if we do a wiki for subtitle files? I mean, upload there [SSA] and [SRT] codes that have a free license? They can be made by the users or got in some other place (with the appropiate permission)

Also, I was thinking on a code for an HTM page that overlaps subtitles files over Flash animations (with some special orders to adapt to the pause/load buttons, etc.). Subtitles and special orders could be uploaded on that wiki.

What do you think? --Nethac DIU 18:15, 29 January 2007 (UTC)

>Maybe you get some ideas for the implementation from http://www.dotsub.com


 * Thanks for the site. The goal is the same, but I didn't find any online translating. And the online testing doesn't seem to work.


 * And if you check the bottom of this page, you'll see I finally got a way. A bit crappy, but there is, and I think I know the way to make it better. Thanks anyways. --Nethac DIU 18:45, 4 March 2007 (UTC)

>And btw. there is a "Subtitle Wiki" but not with the intention to upload subtitles http://www.subtitle-wiki.com


 * Raarg! I don't know Deutsch! :)--Nethac DIU 18:45, 4 March 2007 (UTC)

I think it's a neat idea. Not sure exactly how you'd implement it, or the problems you might face with copyrights, but it would be kinda like some of the lyric sites that are out there. MR.R 02:16, 30 January 2007 (UTC)

I like it a lot. Everyday we have more video in our navigating. Love to see the nice "simple word technologies" getting from the user-layman to the internet-screens. Some suggestion for the forseeable future: people could also edit -inside- some other script. That is for example you have the transcription or subtitles of what is said, and you can "reply" or even just make quickly a new subtitles file with the new comments marked as your lines. From that get a subtitle file that has comments of people over video. Maybe in different "screens" if there are too many. And here people could list their comments centrally, host them, or discuss them again. I am learning PHP, mediawiki, hooks and stuff, and on a personal-academic project. I might just come back here and learn some more from you soon. Best of suns! pablo2garcia 01:16, 1 February 2007 (UTC)


 * About copyrights... really don't know. I don't think is very problematic, but we can always ask the author of the video.


 * And about the implementation... I have a little problem:

   Flash Subtitler  div {text-align:center} 

 function tecla(Evento) { if (window.event) {keynum = Evento.keyCode}   // IE else if (Evento.which) {keynum = Evento.which} // Netscape/Firefox/Opera

if (keynum == 13) {startAp;} }

function startAp { fCode = '' fCode += '' fCode += '' document.getElementById("SWFPlace").innerHTML = fCode document.getElementById("TextPlace").innerHTML = "TESTING WEEI " }

Div to be replaced by subtitles Div to be replaced by a SWF Flash Path: 

 </BODY>


 * That is a basic and bad version of the code I was thinking about (it only loads the Flash and puts a fix text). Try it (copy-paste the code into a text file, then change the extension to .htm, open it and enable JavaScript) and you will see the text is covered by the Flash. No z-index value works.


 * I see it difficult, but if someone that understands HTML, CSS and JS could help me...


 * (I could write an extension for Firefox, but don't know how at the moment, and a bit lazy to learn :)--Nethac DIU 19:30, 31 January 2007 (UTC)


 * Well, the code is still not working, and neither does putting an applet over or embedding the flash in an applet. My three two options are: subtitles out of the screen (only for SRT), and a browser extension. What method do you think it is the best and, works it or not, do you think this is a good idea (I only got two comments)?--Nethac DIU 20:29, 15 February 2007 (UTC)


 * Y si no les importa, voy a poner esto también en español: intento crear una wiki de subtítulos tipos [SSA] y [SRT], los cuales se puedan cargar encima de cualquier vídeo Flash o de YouTube, o bien sirvan para archivos de vídeo normales (pero para eso habrá que descargarlos). También intente crear una página web con el código para poner los subtítulos encima, pero no funciona, por lo que puedo probar a hacer extensiones de navegador (aún no aprendí), un applet o simplemente ponerlos fuera (sólo para SRT).


 * ¿Qué opinan?--Nethac DIU 20:29, 15 February 2007 (UTC)


 * EDIT: I forgot. This wiki will be multi-lingual, if it is possible.


 * Me olvidaba. Esta wiki será multilingüe, si es posible.


 * Almost all edits are mine... alright, another question, any idea for the name and logo? And by the way - i didn't say them - the idea about the comments is good. But I would have to do a separates section...
 * Casi todas las ediciones son mías... bueno, otra pregunta, ¿alguna idea para el nombre y el logotipo? Y por cierto, no lo dije, la idea de los comentarios es buena. Pero tendría que hacer una sección aparte...


 * If someone's interested, I finally got a HTML page version. Code below (I license this code and its modifications under dual license CC and GFDL, permission to do derivative works with attribution and to use commercially. If you don't know what does that mean, you can use freely while you acknowledge me and publish your improvements under the same license).


 * To test, save a HTM page (copying it from elsewhere or saving this), open with the Notepad and replace the code with this. Save and open. (JavaScript must be enabled)


 * Si hay alguien interesado, por fin conseguí una versión en página HTML. Abajo el código. (licencio este código y sus modificaciones bajo licencia dual CC y GFDL, con permiso para hacer trabajos derivados con atribución y para uso comercial. Si no sabe que significa eso, puedes usarlo libremente mientras me acredites y publiques tus mejoras bajo la misma licencia)


 * Para probarlo, guarde una página HTM (copiándola de otro sitio o guardando ésta), ábrela con el Bloc de notas, y cambia el código por este. Guarde y abra. (Javascript deberá estar activado).

<div style="overflow:auto; heig ht:30em"> <HTML> <TITLE>Subtitling page</TITLE> <style type="text/css"> div {text-align:center; margin-left:10%; margin-right:10%} .TextPlace {height:4em} </HEAD> <BODY>

<br style="clear:both"> Thanks to <a href=http://www.google.com>Google</a>, for looking for some methods <a href=http://www.w3schools.com>W3schools</a>, for some... methods <a href=http://www.javascripter.net/faq/convert2.htm>www.javascripter.net/faq/convert2.htm</a>, where I looked the parseInt function, and <a href=http://getfirebug.com>FireBug</a>, an extension for <a href=http://www.mozilla-europe.org>FireFox</a>

Flash Path: <input type=text id=FPath value="" size=50 onkeypress="tecla(event)"> Subtitles script (only SRT): <textarea id='SubtitleArea' rows=5 cols=40> <input type=button id=entervSite value="Press this button or enterv to load" onclick="startAp">

tiempo = 0 lpointer = 0 enterv = false tempos = ""

function convert { sourcecodel = document.getElementById('SubtitleArea').value + "\n\n" machpointer = 0; lpointer = 0; tempos = ""; noofenters = 0 tempos = "" codema = new Array do { if (sourcecodel.substring(machpointer,machpointer+1) == "\n") { entervb = false noofenters++ if (noofenters > 2 && sourcecodel.substring(machpointer+1,machpointer+2) != "\n") {entervb = true; sourcecodel = sourcecodel.substring(0,machpointer) + " " + sourcecodel.substring(machpointer+1,sourcecodel.length); tempos += "<"} if (enterv == true) {noofenters = 0} if (entervb == false) {codema[lpointer] = tempos; tempos = ""; lpointer++} enterv = true } else { enterv = false tempos += sourcecodel.substring(machpointer,machpointer+1) } machpointer++ } while (machpointer < sourcecodel.length) lpointer = 0; machpointer = 0 do { if (codema[lpointer] == undefined || codema[lpointer] == "") {machpointer++} else {machpointer = 0} if (lpointer % 3 == 0 || codema[lpointer] == "") {codema[lpointer] = undefined} lpointer++ } while (machpointer < 3) lpointer = 0; machpointer = 0; lpointerb = 0; codemb = new Array do { if (codema[lpointer] != undefined) { codemb[lpointerb] = codema[lpointer]; machpointer = 0; lpointerb++ } else {machpointer+=1} lpointer++ } while (machpointer < 3) // delarraynos(codema); lpointer = 0; machpointer = 0 codemc = new Array do { tempos = codemb[lpointer] codemc[lpointer] = parseInt(tempos.substring(0,2)) * 36000 + parseInt(tempos.substring(3,5)) * 600 + parseInt(tempos.substring(6,8)) * 10 + parseInt(tempos.substring(9,10)) codemc[lpointer] += "|" while (codemc[lpointer].length < 7) {codemc[lpointer] = "0" + codemc[lpointer]} codemc[lpointer] += codemb[lpointer+1] codemc[lpointer+1] = parseInt(tempos.substring(17,19)) * 36000 + parseInt(tempos.substring(20,22)) * 600 + parseInt(tempos.substring(23,25)) * 10 + parseInt(tempos.substring(26,27)) codemc[lpointer+1] += "|" while (codemc[lpointer+1].length < 7) {codemc[lpointer+1] = "0" + codemc[lpointer+1]} codemc[lpointer+1] += " " lpointer += 2 } while (codemb[lpointer] != undefined) lpointer = 0 tiempo = 0 }

function TimerS { ActualizT = setTimeout ("TimerS", 100); tiempo++ if (tiempo == parseInt(codemc[lpointer])) { document.getElementById("TextPlace").innerHTML = codemc[lpointer].substring(7,codemc[lpointer].length) lpointer++ } }

function startAp { fCode = '' fCode += '<PARAM NAME=src VALUE="' + document.getElementById('FPath').value + '">' fCode += '<EMBED src="' + document.getElementById('FPath').value + '" quality=high bgcolor=#FFFFFF WIDTH="400" HEIGHT="400"' fCode += 'NAME="SWFFileB" ALIGN="centerv" TYPE="application/x-shockwave-flash"' fCode += 'PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>' document.getElementById("SWFPlace").innerHTML = fCode document.getElementById("TextPlace").innerHTML = " " convert TimerS }

function tecla(Evento) { if(window.event) { keynum = Evento.keyCode }   // IE else if(Evento.which) { keynum = Evento.which } // Netscape/Firefox/Opera

if (keynum == 13) {startAp} }

</BODY>


 * I think at the moment doesn't have any bug, but don't letting use overlapped subtitles (you can't put one from 2 to 3 seconds and other from 2.5 to 3.5, for example). For an example, you can use as Flash path  (the author, John Cooney, very good at that, gave me permission) and as subtitle script the script below.


 * Creo que de momento no tiene ningún fallo, aparte de no dejar usar subtítulos uno encima de otro (no se puede poner uno de 2 a 3 segundos y otro de 2,5 a 3,5, por ejemplo). Para un ejemplo, se puede escribir en Flash path  (el autor, John Cooney, muy bueno en eso, me dio permiso) y como script de subtítulos el de abajo.

<div style="overflow:auto; heig ht:30em"> 1 00:00:01,000 --> 00:00:10,000 At the moment, I can only put subtitles since the Flash starts. De momento, sólo puedo poner subtítulos desde que el Flash empieza.

2 00:00:11,000 --> 00:00:14,000 So I'm just going to write some times. O sea que voy a escribir unos cuantos tiempos.

3 00:00:14,000 --> 00:00:14,500 14 seconds

4 00:00:15,000 --> 00:00:15,500 15 seconds

5 00:00:16,000 --> 00:00:16,500 16 seconds

6 00:00:17,000 --> 00:00:18,000 I got bored. Me aburrí. --Nethac DIU 00:09, 17 February 2007 (UTC)