1. Download our Official Android App: Forums for Android!

quick advance delay in subtitle while watching video

Discussion in 'Android Apps & Games' started by manit123, Jan 19, 2014.

  1. manit123

    manit123 Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    2
    Joined:
    Jan 19, 2014

    Jan 19, 2014
    2
    0
    25
    Hi , guys .
    I have used mplayer in linux that has an interesting feature of going to next & previous subtitle using 'y' & 'g' keys respectively.
    Have you see any video player app that gives this facility ?
    Let us say , subtitle file is unsynced in such a way that dialogue appears late & increasingly late than expected .
    In that case . advancing or delaying the video will not help because subtitles can never get synced. Ofcourse , it is fault of subtitle creator .
    In such a scenario , I press 'y' key as soon as character in video speaks.
    It is like navigating in subtitle stream . Here also , subtitles never get synced , but I have to be alert & press once at every sound bite .
    In some android video player apps , I have seen option to increase or decrease subtitle advance/delay . I found that cumbersome too , because you have to continually press the key till you do not see the next subtitle .

    I am beginning to learn creating app from Creating an Android Project | Android Developers

    I have the following idea.
    Create two windows (stacked vertically) - one in which video plays & other in which subtitles appear .
    For my simplicity , say I will just use srt files as subtitles.
    The subtitle window (let us call it w2) has button 'g' on left & 'y' on right .
    Subtitle window will display subtitles by getting current time from video window (let us call it w1) & display corresponding lines from srt.
    When user clicks on 'y' button in w2 then subtitle from srt is displayed. Also app measures difference between w1 time & new subtitle time. So that , it starts showing subtitles with that delay/advance from w1 time.


    I require your valuable feedback to accomplish above scenario & point me in the right direction.
    If you think - idea is interesting enough , then it is yours . I am happy to assist.
    Thank You for listening.
    Eagerly waiting for your reply.
     

    Advertisement

Share This Page

Loading...