Announcement

Collapse
No announcement yet.

Jacks MPD Analysis

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Not a StreamFab Issue Jacks MPD Analysis

    Hello Jack, I actually wanted to ask you this in a private message, it's not possible.

    Please check again whether your code for the analysis file is correct. The file closes so quickly that I can't read anything. At the end it says “pause”.


    Some RTL+ videos are analyzed at a lower bit rate. It mostly affects newer uploads. Normally it is always 7800. Please check whether it is a DRM change! Zurück in die Zukunft: Wir retten den DeLorean - Filme online anschauen | RTL+ (https://plus.rtl.de/video-tv/filme/zurueck-in-die-zukunft-wir-retten-den-delorean

    #2
    Echo off
    REM **************************************
    REM Analyze Manifest w/StreamFab or yt-dlp
    REM
    REM (c) 2023-11-22 - jpp72
    REM **************************************
    setlocal ENABLEDELAYEDEXPANSION
    set /P "url=Please enter the URL of the video to analyze: "
    Echo.
    Echo 1: StreamFab
    Echo 2: yt-dlp
    Echo.
    set /P "analyze=Please select the tool to use for the analysis: "
    IF %analyze%==1 GOTO streamfab
    IF %analyze%==2 GOTO ytdlp
    echo Analyzing provided URL...
    :streamfab
    "C:\Program Files\DVDFab\StreamFab\YoutubeDL\YoutubeToMP3Proce ss.exe" --allow-u -F "%url%"
    GOTO done
    :ytdlp
    yt-dlp.exe -U --allow-u -F --cookies-from-browser edge "%url%"
    GOTO done
    :done
    pause​​

    Comment


      #3
      jpp72

      Comment


        #4
        Originally posted by Sebastian001 View Post
        Hello Jack, I actually wanted to ask you this in a private message, it's not possible.

        Please check again whether your code for the analysis file is correct. The file closes so quickly that I can't read anything. At the end it says “pause”.


        https://forum.dvdfab.cn/forum/softwa...t433287​
        You must be doing something wrong. Are you using Windows 10 or Windows 11? Sounds to me like you may be using something other than windows because the 2nd command is actually waiting for you to give it a URL and the last command "pause" should show you a "Press any key to continue"

        I create scripts several times a week and after i created that one, i now use it too. So yeah, it works.

        If you ARE on windows, tell me how you saved the script, what it is named (including extension), and how you are running it

        Comment


          #5
          Windows 11

          I always try 1 StreamFab. Number 2 doesn't work at all. After I enter 1, the program works, lists the results and goes to!

          Click image for larger version

Name:	image.png
Views:	245
Size:	32.7 KB
ID:	435271


          Click image for larger version

Name:	image.png
Views:	221
Size:	14.0 KB
ID:	435272

          Comment


            #6
            Maybe it's Windows related? My Windows is set to German MPD_Analysis.zip

            Comment


              #7
              If I copy the code from #2 there is no pause:

              Click image for larger version

Name:	script_pause.jpg
Views:	225
Size:	201.7 KB
ID:	435276

              so remove pause in script and write it manually.​

              Comment


                #8
                hmm, I just wrote "echo" at the end... What can I say now the window stays open for me :-)

                Click image for larger version

Name:	image.png
Views:	232
Size:	25.1 KB
ID:	435278

                Click image for larger version

Name:	image.png
Views:	216
Size:	205.4 KB
ID:	435279

                Comment


                  #9
                  Can I also insert the direct MPD link into StreamFab?

                  Comment


                    #10
                    Originally posted by Sebastian001 View Post
                    Can I also insert the direct MPD link into StreamFab?
                    This doesn't work for me.

                    Also, how should SF find the license server?
                    (SF doesn't know that it has to get the key from tvnow)​

                    Comment


                      #11
                      Originally posted by Germania View Post

                      This doesn't work for me.

                      Also, how should SF find the license server?
                      (SF doesn't know that it has to get the key from tvnow)​
                      OK

                      Comment


                        #12
                        Originally posted by Sebastian001 View Post
                        Windows 11

                        I always try 1 StreamFab. Number 2 doesn't work at all. After I enter 1, the program works, lists the results and goes to!
                        ​For number 2 to work, you need to have yt-dlp.exe and you need to add whatever folder it is in to your %PATH% environment variable (or save yt-dlp.exe to the same folder as the MPD_analysis.cmd


                        Originally posted by Sebastian001 View Post
                        hmm, I just wrote "echo" at the end... What can I say now the window stays open for me :-)

                        It's probably because there was no windows Carriage Return/Line Feed after the pause. VBulletin probably removed it when i pasted the code.

                        The reason it works now is because you pressed enter and then added echo. If you remove echo and don't backspace to get the cursor at the end of the "e" in "pause", it will still work

                        Comment


                          #13
                          It's probably because there was no windows Carriage Return/Line Feed after the pause. VBulletin probably removed it when i pasted the code.
                          Just a thought, and I have no idea if it will make a difference, what if you paste the script using the Code tags? That would be the # symbol to bring that up. Maybe that adds the CR/LF?

                          Comment


                            #14
                            I must note that, I went back to the original message and see that Jack did use the Code tags when he posted the script. I don't know if that means that VBulletin messes with the CR/LFs even with Code tags, or the text editor that Sebastian used to copy the code removed them.
                            This reminds of the real old days of Windows when you could use NotePad for code, but don't ever try to use WordPad.

                            Comment

                            Working...
                            X