<div dir="ltr">Dear,<div><br></div><div style>What about using de NAME_FILE.LANG.extension as a hint and start checking the legend file content?</div><div style><br></div><div style>You could relatively easily use some n-gram (<a href="http://en.wikipedia.org/wiki/N-gram">http://en.wikipedia.org/wiki/N-gram</a>) technique to detect the language.</div>
<div style><br></div><div style>Best regards,</div><div style>Luiz.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 2, 2013 at 4:13 PM, Eduardo Piombino <span dir="ltr"><<a href="mailto:drakorg@gmail.com" target="_blank">drakorg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Support for this "extension" should not break anything. Regular subs without the prefix should be accepted as always, but subtitles that meet this naming convention, if any, should be considered as alternative subs for the same movie. That's all.</div>

<div><br></div><div>Regarding where it is accepted, as I stated, oppo player, and philips are aware of this convention (at least) and will decode the 2 letter prefix into the language (English for "en", Italian for "it", French for "fr", etc). I have seen some confussion for Spanish for example, where I've seen the "es", "esp", "sp" and "spa" prefixes. </div>

<div><br></div><div>However, if you stick to some naming convention for automatic decoding, lets say "es", and leave the default behaviour of leaving the prefix intact (without decoding) if it doesnt match any of the names in the convention, then the worst that can happen is that it will show up as "ESP", and you will still know what it is. It's a huge step forward, with no backdraws. You can even use this default behaviour to give the track any custom name like Walter also suggested.</div>

<div><br></div><div>If it can be extended or be improved further, no doubt of it, but it is a huge improvement over current state, where Track numbers don't do the job for describing its contents.</div><div><br></div>

<div>Here are two more threads on this subject, plus the one that Walter has already posted.</div><div><br></div><a href="http://superuser.com/questions/346599/what-is-naming-convention-for-subtitle-files" target="_blank">http://superuser.com/questions/346599/what-is-naming-convention-for-subtitle-files</a><div>

<a href="https://groups.google.com/forum/#!msg/mx-videoplayer/TjK8CZWtUhQ/WZDbNE18ogAJ" target="_blank">https://groups.google.com/forum/#!msg/mx-videoplayer/TjK8CZWtUhQ/WZDbNE18ogAJ</a></div><div><br><div>Best regards,</div>
<div>Eduardo</div><div><div class="h5">
<div class="gmail_quote"><br></div><div class="gmail_quote">On Sat, Feb 2, 2013 at 1:46 PM, Edward Wang <span dir="ltr"><<a href="mailto:edward.c.wang@compdigitec.com" target="_blank">edward.c.wang@compdigitec.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 13-02-02 11:44 AM, Eduardo Piombino <<a href="mailto:drakorg@gmail.com" target="_blank">drakorg@gmail.com</a>> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I dont think its in any RFC but at least its standarized. <br>
</blockquote></div>
Where? Do other media players support it?<br>
<br>
Also, does this patch break support for regular subtitles (without the language extension)?<div><div><br>
<br>
Regards,<br>
        Edward Wang<br>
______________________________<u></u>_________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/<u></u>listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards, <br><br>Luiz Vitor Martinez Cardoso<div>Celular: (11) 7351-7097 | Skype: grabberbr <br>engineer student at <a href="http://maua.br" target="_blank">maua.br</a><div>
<a href="http://maua.br" target="_blank"></a>intern marketing engineer at <a href="http://geindustrial.com.br" target="_blank">geindustrial.com.br</a><br>entrepreneur at <a href="http://adboxnetwork.com" target="_blank">adboxnetwork.com</a></div>
<div><br>"If you wanna be successful, you need total dedication, go for your last limit, give your best and love your love infinitely!"</div></div><div><br></div><div>"T<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">he only limits are the ones you place upon yourself</span>"</div>

</div>