VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. I wanted to use the command line to record and simultaneously bring up vlc and play the the internet audio stream.
    If you go here:
    https://forum.videohelp.com/threads/395456-How-to-use-ffmpeg-to-simultaneously-downloa...ghlight=jagabo

    and look at the last post (post 14) the problem is solved using Streamlink .However, I now have a different computer, and the saved audio file (file.aac) now goes to an inconvenient place (Windows/system32). How can I get the audio file to save, for example, on the root of the C drive? ( See screenshot 1 for the details of this computer.)
    Note: the radio station changed the url, so now this Streamlink" code works:
    Code:
    streamlink "hlsvariant://https://ais-sa1.streamon.fm/7648_48k.aac/playlist.m3u8" best -r "file.aac"
    (screenshot 3 shows the Streamlink command line.)

    Also, I have another question. With the previous computer, I could put an audio stream url in the address bar, play the audio and record the stream. However, on this computer, although I can play the audio stream, but the "Save audio as" is greyed out. (See screenshot 2 that illustrates the problem). How can I ungrey the "save audio" option and record the audio this way?
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	27
Size:	184.4 KB
ID:	76002  

    Click image for larger version

Name:	Clipboard02.jpg
Views:	36
Size:	74.2 KB
ID:	76003  

    Click image for larger version

Name:	Clipboard03.jpg
Views:	80
Size:	150.2 KB
ID:	76005  

    Last edited by jimdagys; 4th Jan 2024 at 19:34.
    Quote Quote  
  2. In your terminal run:

    Code:
    cd %USERPROFILE%
    or just avoid running cmd as administrator, which will default the working directory to %USERPROFILE%.
    Quote Quote  
  3. Ok, thank you, that worked (cd %USERPROFILE%). The audio download on this computer will then appear in:
    C:\Users\User
    See screenshot 1

    Another way to change the download location (in this case to the root of the c drive) is to open the cmd and type in:
    cd.. <enter>
    cd.. <enter>
    See screenshot2
    Streamlink is different from other cmd software (like youtube-dl). You don't need to navigate in the cmd window to the software executable to run it.
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	16
Size:	47.2 KB
ID:	76024  

    Click image for larger version

Name:	Clipboard02.jpg
Views:	17
Size:	43.9 KB
ID:	76025  

    Quote Quote  
  4. Originally Posted by jimdagys View Post
    Another way to change the download location (in this case to the root of the c drive) is to open the cmd and type in:
    cd.. <enter>
    cd.. <enter>
    See screenshot2
    Well, of course, cd stands for change directory, so every cd command will change the current working directory.

    Originally Posted by jimdagys View Post
    Streamlink is different from other cmd software (like youtube-dl). You don't need to navigate in the cmd window to the software executable to run it.
    It's not different, it's simply "installed" or more specifically, the executable path is added to the system variable PATH, so it can be run from everywhere. You can do this with any executable.
    Quote Quote  



Similar Threads

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