the upload subtitles button is not working

's Avatar

sstavra

12 Dec, 2011 07:54 PM

Possibly it never worked. So either remove it or please inform the users that uploading srt files is impossible.
Attached is the Greek translation that I was trying to upload of this video
http://www.universalsubtitles.org/en/videos/ECrjrjPec2GO/fr/198440/

  1. Support Staff 1 Posted by m.shamraeva on 12 Dec, 2011 09:51 PM

    m.shamraeva's Avatar

    Hi,

    Uploading should work well for files in SRT format, as well as the other subtitle formats supported by UniversalSubtitles, so far as the file being uploaded is properly formatted.

    I can see at least two problems with the file you've attached:

    1. Lines 1-999 have spaces between the line number and the line break symbol. These spaces prevent subtitle blocks from being imported. Only lines starting from #1000, which do not have trailing spaces, get imported - you can see this in the revision history for Greek language.

    2. Some lines are duplicated - there is more than one block with the same number. Examples: lines #10 and #48.

    After removing the trailing spaces and duplicate entries (which can be done with the use of a text editor), please try uploading the file again - it should work fine.

    Happy subtitling!

    Margarita Shamraeva
    QA Analyst
    UniversalSubtitles team

  2. m.shamraeva closed this discussion on 12 Dec, 2011 09:51 PM.

  3. stelios re-opened this discussion on 12 Dec, 2011 11:32 PM

  4. 2 Posted by stelios on 12 Dec, 2011 11:32 PM

    stelios's Avatar

    Hi, thanks for responding.
    It is uploaded now.
    The error was the spaces between the line number
    and the line break symbol, as you pointed out.

    Because a translation does not necessarily produce
    the same number of blocks as the original.
    and I haven't found yet a way to handle non-latin srt texts using bash scripts
    that's why some blocks have the same number.
    This occasionaly happens while editing text.
    Same number in subsequent blocks doesn't count as an error
    while showing a video in vlc.
    It seems that vlc does not pay attention to the number sequence

    regards,
    Stelios

  5. 3 Posted by stelios on 13 Dec, 2011 12:09 AM

    stelios's Avatar

    Two other problems I spotted :

    1.
    The requirement with the upload is the absence of trailing spaces
    after the line number,
    but with downloading, the resulting file contains a carriage return in
    every newline !
    I understand the reasoning behind that, however it might not be at the
    right direction.

    2.
    The timecodes of the uploaded file are altered,
    I guess under the assumption that this is an attempted optimization.
    However, in cases the timecode range
    becomes unreasonably short and requires new editing.
    "Optimizing" timecodes for all blocks shouldn't be rather an option
    for the user?

  6. 4 Posted by stelios on 13 Dec, 2011 12:58 AM

    stelios's Avatar

    > However, in cases the timecode range
    > becomes unreasonably short and requires new editing.
    Well, unreasonably short is not true, but still the question is valid.

    > "Optimizing" timecodes for all blocks shouldn't be rather an option
    > for the user?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • stallman-sciencespo-freesociety.el.srt 158 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac