VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Is there a way for me to "batch" rip ASS subtitles, convert them to SRT, then remux them back with the MKV file. I want to do this with 150 tv episodes.

    Is there an app or a !bash script that I can run in the folder that will do this, maybe with FFmpeg?

    Thanks for any help!
    Quote Quote  
  2. For Windows maybe this batch job:

    Code:
    if not exist SUBSRT md SUBSRT
    for %%g in (*.mkv) do (
    ffmpeg -i "%%g" -c:v copy -c:a copy -c:s srt "SUBSRT\%%g"
    )
    Quote Quote  
  3. Originally Posted by videobruger View Post
    For Windows maybe this batch job:

    Code:
    if not exist SUBSRT md SUBSRT
    for %%g in (*.mkv) do (
    ffmpeg -i "%%g" -c:v copy -c:a copy -c:s srt "SUBSRT\%%g"
    )
    OMG, You're my hero. This works perfectly and PLEX stops transcoding and goes back to direct stream since it's .SRT.

    Thank you so much!!
    Quote Quote  
  4. Originally Posted by videobruger View Post
    For Windows maybe this batch job:

    Code:
    if not exist SUBSRT md SUBSRT
    for %%g in (*.mkv) do (
    ffmpeg -i "%%g" -c:v copy -c:a copy -c:s srt "SUBSRT\%%g"
    )
    @videobruger, It looks like this is just converting the first ASS subtitle in the bunch. Is there a way for this script to convert all ASS subs that might be contained in the file (like if an MKV has English, Spanish, Korean, etc)
    Quote Quote  
  5. Change the batch job to

    Code:
    if not exist SUBSRT md SUBSRT
    for %%g in (*.mkv) do (
    ffmpeg -i "%%g" -map 0 -c:v copy -c:a copy -c:s srt "SUBSRT\%%g"
    )
    Quote Quote  
  6. Member crazy14muzic's Avatar
    Join Date
    Jan 2005
    Location
    USA Missouri
    Search Comp PM
    Quote Quote  
  7. The -c -c -c method had errors for me, never looked into why because I tried this and it worked.

    ffmpeg -i "%cFile%" "%cFile%.srt"
    If yer going with the flow, yer going down hill.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!