+ Reply to Thread
Results 1 to 7 of 7

Thread: ASS to SRT

  1. #1

    ASS to SRT

    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. #2

    Re: ASS to SRT

    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. #3

    Re: ASS to SRT

    Quote 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. #4

    Re: ASS to SRT

    Quote 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. #5

    Re: ASS to SRT

    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. #6
    Member crazy14muzic's Avatar
    Join Date
    Jan 2005
    Location
    USA Missouri
    Posts
    106

    Re: ASS to SRT

    Quote Quote  

  7. #7

    Re: ASS to SRT

    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  

+ Reply to Thread

Similar Threads

  1. Convert 2 .srt languages in 1 .ass
    By islogged in forum Subtitle
    Replies: 4
    Last Post: 24th Nov 2020, 12:16
  2. batch file remux .srt or .ass
    By Tylerr in forum Subtitle
    Replies: 1
    Last Post: 16th Dec 2019, 02:09
  3. Convert sub to srt/smi/psb/ssa/ass/son with Subresync
    By FireWalker in forum User guides
    Replies: 14
    Last Post: 12th Jul 2019, 01:03
  4. TTML/CC to ass with positions?
    By Hakunamatata67 in forum Subtitle
    Replies: 2
    Last Post: 25th May 2019, 02:36
  5. Replies: 3
    Last Post: 26th Jan 2018, 06:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts