Announcement

Collapse
No announcement yet.

StreamFab 6.1.2.9 - Roku no subtitles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    StreamFab 6.1.2.9 - Roku no subtitles

    This is not a recent change, but I've noticed the Roku downloader doesn't download subtitles and doesn't show any available for selection, despite them being available to select during playback in the browser.

    A good example is: Force 10 from Navarone (1978).

    Click image for larger version

Name:	StreamFab.jpg
Views:	671
Size:	23.5 KB
ID:	427230
    Click image for larger version

Name:	Roku.jpg
Views:	498
Size:	9.2 KB
ID:	427231

    #2
    We will check, please provide a copy of the latest StreamFab.log file too, thanks.

    Comment


      #3
      Originally posted by Mona View Post
      We will check, please provide a copy of the latest StreamFab.log file too, thanks.
      My log was too large, so I deleted it and ran just a download for the referenced movie. Log file is attached.
      Attached Files

      Comment


        #4
        Originally posted by rytomi View Post

        My log was too large, so I deleted it and ran just a download for the referenced movie. Log file is attached.
        OK.

        Comment


          #5
          Problem still exists in 6.1.3.0.

          Comment


            #6
            Problem still exists in 6.1.3.1.

            Comment


              #7
              This is an issue that is common with StreamFab when it comes to Closed Captions.

              Several streaming providers have subtitles encoded as Closed Captions instead of true rich/text subtitles. Roku is special as it has both regular text subs and DTVCC Transport subs. Force 10 is using Closed Captions.

              Click image for larger version

Name:	image.png
Views:	518
Size:	31.0 KB
ID:	428055

              In my experience, if you save to .mkv, StreamFab will not give you those DTVCC Transport subtitles (probably wrong remux command). This was the case when Discovery+ was using DVTCC. Now they use MPEG-DASH Subtitles but StreamFab still can't handle those for some baffling reason, even after i explained how to extract the subs to WebVTT and convert them to .srt. Anyway, back to the issue at hand...

              Basically what you need is a player that can read those EAI-608 and EAI-708 tracks. I use Kodi and it works fine because i provided the developers sample files so they could implement that feature. You're welcome

              I do know VLC can play the Closed Captions too but if you use something other than VLC or Kodi, you can extract the Closed Captions to a .srt file. All you need is ffmpeg.

              Back when Discovery+ was using CC, i would batch extract subs with this command file:

              Code:
              @Echo off
              REM ****************************
              REM Extract CC from MP4 (ffmpeg)
              REM ****************************
              setlocal ENABLEDELAYEDEXPANSION
              for /r %%l in (*.mp4) do ffmpeg -hide_banner -f "lavfi" -i "movie=filename=%%~nxl[out+subcc]" -codec:s subrip "%%~nl.srt"
              pause​
              So if you save that file to a .bat or .cmd, you can run it inside a directory that contains multiple .mp4 files and you will get multiple .srt files.

              If you want to run it on a single file, the command-line for Force 10 from Navarone would be:

              Code:
              ffmpeg -hide_banner -f "lavfi" -i "movie=filename=Force 10 From Navarone.mp4[out+subcc]" -codec:s subrip "Force 10 From Navarone.srt"
              Click image for larger version

Name:	image.png
Views:	350
Size:	97.7 KB
ID:	428056

              This will create a file called Force 10 From Navarone.srt and you will have an srt file with positioning and style info.

              I am afraid you will need to do this manually since StreamFab never implemented my fix for CC subtitles and, in 2 days, it will have been exactly 1 year since i explained how to do it for MPEG-DASH subtitles.

              Comment


                #8
                Originally posted by jpp72 View Post
                This is an issue that is common with StreamFab when it comes to Closed Captions.

                Several streaming providers have subtitles encoded as Closed Captions instead of true rich/text subtitles. Roku is special as it has both regular text subs and DTVCC Transport subs. Force 10 is using Closed Captions.

                Click image for larger version

Name:	image.png
Views:	518
Size:	31.0 KB
ID:	428055

                In my experience, if you save to .mkv, StreamFab will not give you those DTVCC Transport subtitles (probably wrong remux command). This was the case when Discovery+ was using DVTCC. Now they use MPEG-DASH Subtitles but StreamFab still can't handle those for some baffling reason, even after i explained how to extract the subs to WebVTT and convert them to .srt. Anyway, back to the issue at hand...

                Basically what you need is a player that can read those EAI-608 and EAI-708 tracks. I use Kodi and it works fine because i provided the developers sample files so they could implement that feature. You're welcome

                I do know VLC can play the Closed Captions too but if you use something other than VLC or Kodi, you can extract the Closed Captions to a .srt file. All you need is ffmpeg.

                Back when Discovery+ was using CC, i would batch extract subs with this command file:

                Code:
                @Echo off
                REM ****************************
                REM Extract CC from MP4 (ffmpeg)
                REM ****************************
                setlocal ENABLEDELAYEDEXPANSION
                for /r %%l in (*.mp4) do ffmpeg -hide_banner -f "lavfi" -i "movie=filename=%%~nxl[out+subcc]" -codec:s subrip "%%~nl.srt"
                pause​
                So if you save that file to a .bat or .cmd, you can run it inside a directory that contains multiple .mp4 files and you will get multiple .srt files.

                If you want to run it on a single file, the command-line for Force 10 from Navarone would be:

                Code:
                ffmpeg -hide_banner -f "lavfi" -i "movie=filename=Force 10 From Navarone.mp4[out+subcc]" -codec:s subrip "Force 10 From Navarone.srt"
                Click image for larger version

Name:	image.png
Views:	350
Size:	97.7 KB
ID:	428056

                This will create a file called Force 10 From Navarone.srt and you will have an srt file with positioning and style info.

                I am afraid you will need to do this manually since StreamFab never implemented my fix for CC subtitles and, in 2 days, it will have been exactly 1 year since i explained how to do it for MPEG-DASH subtitles.
                So if I am to understand you correctly here... Are you saying that to get the subtitles on Roku downloads I need to:
                1) Change to download as MP4 instead of MKV so StreamFab doesn't lose the stream in remux
                2) Extract the CC via FFMPEG (and directly convert to SRT?)
                3) Remux the SRT back into the file as MKV via MKVToolNix or similar

                Am I understanding that correctly?

                Comment


                  #9
                  Originally posted by rytomi View Post

                  So if I am to understand you correctly here... Are you saying that to get the subtitles on Roku downloads I need to:
                  1) Change to download as MP4 instead of MKV so StreamFab doesn't lose the stream in remux
                  2) Extract the CC via FFMPEG (and directly convert to SRT?)
                  3) Remux the SRT back into the file as MKV via MKVToolNix or similar

                  Am I understanding that correctly?
                  Yes that is exactly right. Obviously step 3 is not necessary but that's what i do for everything i download from Discovery+. I actually have a step 4 where i convert it to H265 with VidCoder but definitely Steps 1-3 are things you should do to get the proper .mkv you want

                  Comment


                    #10
                    Originally posted by jpp72 View Post

                    Yes that is exactly right. Obviously step 3 is not necessary but that's what i do for everything i download from Discovery+. I actually have a step 4 where i convert it to H265 with VidCoder but definitely Steps 1-3 are things you should do to get the proper .mkv you want
                    Do you know if there's a way to have the SRT file created without all the "font" data?
                    Every line of my SRT file looks like this:
                    Code:
                    <font face="Monospace">{\an7}Daddy, look at the lake!</font>
                    which makes the subtitle always appear at the very top-left of the screen. I can open each file and do a find/replace in notepad, but it'd be nice to have the script just not put it in there.

                    Comment


                      #11
                      Originally posted by rytomi View Post

                      Do you know if there's a way to have the SRT file created without all the "font" data?
                      Every line of my SRT file looks like this:
                      Code:
                      <font face="Monospace">{\an7}Daddy, look at the lake!</font>
                      which makes the subtitle always appear at the very top-left of the screen. I can open each file and do a find/replace in notepad, but it'd be nice to have the script just not put it in there.
                      there's a script here post #26 - https://forum.videohelp.com/threads/...from-srt-files

                      Comment


                        #12
                        Originally posted by rytomi View Post

                        Do you know if there's a way to have the SRT file created without all the "font" data?
                        Every line of my SRT file looks like this:
                        Code:
                        <font face="Monospace">{\an7}Daddy, look at the lake!</font>
                        which makes the subtitle always appear at the very top-left of the screen. I can open each file and do a find/replace in notepad, but it'd be nice to have the script just not put it in there.
                        Ya that is pretty annoying if you don't use a player that can overwrite Styles and Positioning.

                        I use Kodi so i don't have that problem.

                        At least i am glad you get the subs now.

                        On another note, The Stream Detector is now available in the Chrome Webstore. It used to be you could only run it in Developer Mode so you had to download the source, unpack it and load it unpacked but now it's super easy to install.

                        IMHO, it is THE best way to find manifests. It can also detect subtitles so although stream downloaders will mux the WebVTT subtitles into the MP4 video track, this extension can list the links and makes them super easy to download.

                        Once you have the .vtt subtitles, you can convert them to plain .srt with Subtitle Edit or any of the dozens of online or command-line converters available.

                        So if you install that extension and go to Force 10 From Navarone, it will give you the link to the subtitles without having to download the whole video in MP4 and then extract them from the video. Much, much faster.

                        Comment

                        Working...
                        X