First time here and new to all this. Learning as I go.
There is a video stream I would like to save on my computer for future viewing.
I was able to retrieve the master.m3u8 file and therefore was able to retrieve the following:
(part of the URL)
I tested the URLs with VLC Network stream and was able to play them each successfully. Now my questions are:
1. Can I use the video and audio link in FFMPEG to create a video?
2. What command line do I use in FFMPEG to make this happen? I also don't want to sacrifice video and audio quality.
If not possible with FFMPEG, what is another way to go about this?
+ Reply to Thread
Results 1 to 3 of 3
It might work by directly downloading both streams to the output file simultaneously with ffmpeg :
ffmpeg -i "https://.../video/.../playlist.m3u8" -i "https://.../audio/.../playlist.m3u8" -c copy "X:\target path for output\output.mp4"
And there should be no need to reencode the audio (“-c:a aac”), which must be already in AAC format ; “-c copy” means that all streams shall be copied as-is, with no quality loss.
I don't know what “-strict experimental” is for, but if it's related to aac encoding it's also unnecessary.
Also, if you're new to this, “ffmpeg” alone works only if, either, the ffmpeg.exe file is in the same directory as the .bat file (if you're using a .bat script) or which is currently opened in the command prompt (if you're typing the command in the CMD command prompt, in which you can change the current folder with the “CD” command = change directory), or if the ffmpeg.exe is in the so-called Windows PATH — see here ; otherwise you have to type / copy the complete path, for instance, with quotation marks if there's at least once space somewhere.
"C:\command line tools\ffmpeg\ffmpeg.exe" -i ...
That would be an idea for a silly poll : how many copies of ffmpeg and ffmpeg related DLLs do you have on your current computer, and what is the total size taken by those ?
I have :
– ffmpeg.exe in “Streamlink” 47.2MB
– ffmpeg.dll in “Skype for Desktop” 2MB
– ffmpeg.dll in “ffdshow” 3.8MB
– ffmpeg.exe + avXXX DLLs in “FFmpeg for Audacity” 27MB
– ffmpeg.exe + avXXX DLLs in “DVDStyler” 61.0MB
– ffmpeg.exe + avXXX DLLs in “Shotcut” 21.3MB
– ffmpeg.exe 64bit & 32bit in “Hybrid” 110MB
– ffmpeg.exe in “multiAVCHD” 8MB
– ffmpeg.exe in “MTNHGUIPlus” 23.8MB
– ffmpeg.exe in “AVStoDVD” 26.5MB x 2 (two versions extracted, two identical copies of ffmpeg)
– ffmpeg.exe in “MeGUI” 49.4MB (plus several “obsolete” ffmpeg files)
– ffmpeg.exe in “youtube-dl-gui” 32.2MB
– ffmpeg.exe in “StaxRip” 88.6MB
– ffmpeg.exe in “MediathekView” 95.5MB (don't even remember what that is)
– ffmpeg.exe in “SeekTester” 19.6MB (don't remember either)
– ffmpeg.exe in “ffmpeg-20191226-XXX-win64” 61.9MB (hard-linked to the “CLI” folder)
– ffmpeg.exe in “ffmpeg-20191226-XXX-win32” 47.5MB (hard-linked to the “CLI” folder)
Total (not even counting all the instances of avcodec and whatnot) : 751.8MB.
Last edited by abolibibelot; 15th Dec 2020 at 14:51.