Glam Prestige Journal

Bright entertainment trends with youth appeal.

The .m3u8 file calls out multiple mp4.m3u8 files (with varying resolution) and two m4a.m3u8 file (audio aac, high & low resolution); when I attempt to convert I am losing the audio.. if I convert only the audio stream, I lose the video.. how do I combine them ?

(example of what I am using is below reference file, URLS are examples only)

Example : target stream -
-- When you download that file you get :

#EXTM3U #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-medium",NAME="audio",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="../../audio/0a4fc9a0/playlist.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-high",NAME="audio",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="../../audio/11dce46e/playlist.m3u8"

#EXT-X-STREAM-INF:CLOSED-CAPTIONS=NONE,BANDWIDTH=1913048,AVERAGE-BANDWIDTH=1456000,RESOLUTION=960x540,FRAME-RATE=29.970,CODECS="avc1.64001F,mp4a.40.2",AUDIO="audio-medium" ../11dce46e/playlist.m3u8 #EXT-X-STREAM-INF:CLOSED-CAPTIONS=NONE,BANDWIDTH=491755,AVERAGE-BANDWIDTH=411000,RESOLUTION=426x240,FRAME-RATE=29.970,CODECS="avc1.640015,mp4a.40.2",AUDIO="audio-medium" ../13253a14/playlist.m3u8 #EXT-X-STREAM-INF:CLOSED-CAPTIONS=NONE,BANDWIDTH=718123,AVERAGE-BANDWIDTH=619000,RESOLUTION=640x360,FRAME-RATE=29.970,CODECS="avc1.64001E,mp4a.40.2",AUDIO="audio-medium" ../0a4fc9a0/playlist.m3u8 #EXT-X-STREAM-INF:CLOSED-CAPTIONS=NONE,BANDWIDTH=3468973,AVERAGE-BANDWIDTH=2575000,RESOLUTION=1280x720,FRAME-RATE=29.970,CODECS="avc1.640020,mp4a.40.2",AUDIO="audio-high" ../0ebb9cde/playlist.m3u8


If I attempt to use ffmpeg -i -c copy file.mkv

I get an error message : keepalive request failed for ' with error: 'Server returned 403 Forbidden (access denied)' when opening url, retrying with new connection

If I attempt to use ffmpeg -i //0a4fc9a0/playlist.m3u8 -c copy file.mkv

I get the video file as an .mkv with no audio

same result for other URLS in the master.m3u8

If I attempt to use ffmpeg -i 13253a14/playlist.m3u8 -c copy file.mkv

I get the audio file as an .mkv with no video.

How do I pull them both and combine them ?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy