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)
Video: https://.../sep/video/10107b9b/playlist.m3u8
Audio: https://.../sep/audio/343d2c58/playlist.m3u8
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?
Thanks guys!
+ Reply to Thread
Results 1 to 3 of 3
-
-
It might work by directly downloading both streams to the output file simultaneously with ffmpeg :
Code: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.
Code:"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.
Similar Threads
-
how to download a portion of video from m3u8 that has separate video audio.
By adi111 in forum Video Streaming DownloadingReplies: 8Last Post: 5th Aug 2020, 14:53 -
How to use ffmpeg in node and make a list of urls to be download
By TeRrOkToR in forum Video Streaming DownloadingReplies: 0Last Post: 21st Jun 2019, 19:19 -
HLS download stops halfway on ffmpeg
By ayxaaron in forum Video Streaming DownloadingReplies: 1Last Post: 29th Nov 2016, 13:34 -
Error in Download of Stream with ffmpeg HLS
By 4lb3rt0 in forum Video Streaming DownloadingReplies: 0Last Post: 25th Sep 2016, 09:11 -
Download HLS video with FFMPEG
By capples3 in forum Video Streaming DownloadingReplies: 0Last Post: 29th Jan 2016, 16:37