How to Combine/Join MP4 & M4A Files Using N_m3u8DL-RE & FFMPEG

5 months ago
29

If you have questions about using N_m3u8DL-RE or FFMPEG, please email me rather than leaving a comment on the video. For some reason, the comments are not displaying on the videos, even though I am getting the notifications. Please email me directly @ realcordcutters at outlook dot com.

This video shows how to join together a video-only .mp4 file and an audio-only .m4a file into one combined file with both audio & video using FFMPEG.

N_m3u8DL-RE command line to run is below. Replace HERE with the m3u8 or mpd url.
N_m3u8DL-RE "HERE" --save-name "test"

You can download N_m3u8DL-RE from here: https://github.com/nilaoda/N_m3u8DL-RE/releases

FFMPEG command line to run is below. Replace VIDEOFILENAME with the full name and extension of the .mp4 video only track; replace AUDIOFILENAME with the full name and extension of the .m4a audio only track. Also, this is setup with the two files in the same directory as FFMPEG; move them in Windows to the FFMPEG directory if they are downloaded to a different one.
ffmpeg -i VIDEOFILENAME -i AUDIOFILENAME -c:v copy -c:a copy test.mp4

See my other videos for the specific steps required to download/save replays or live events on ESPN, ESPN+, FOX, etc. using streamlink or youtube-dl or N_m3u8DL-RE below.

*2024 Updated Videos Playlist (Streamlink & youtube-dl): https://www.youtube.com/playlist?list=PLrxbwp-MGBfTmoXt8rzuS5rs6CFID9ImU
*2023 Updated Videos Playlist (Streamlink & youtube-dl): https://www.youtube.com/playlist?list=PLrxbwp-MGBfRBQe6gJj85tsyL8ELzzTnD
*2022 Updated Videos Playlist (Streamlink & youtube-dl): https://www.youtube.com/playlist?list=PLrxbwp-MGBfTCtbkAYqb8FJPQM5IoIJTD
*youtube-dl Playlist: https://www.youtube.com/playlist?list=PLrxbwp-MGBfTrVbydndth41II0gpXTWkd
*Streamlink Playlist: https://www.youtube.com/playlist?list=PLrxbwp-MGBfRMtXKzN8T8XwxbeMiA7DRK
*N_m3u8DL-RE Playlist: https://www.youtube.com/playlist?list=PLrxbwp-MGBfSPSWlg0jZOZhgbpZGRStRO

Loading comments...