Page 1 of 1

How to merge m4a audio with webm video, or how to convert m4a to webm?

Posted: Sat May 25, 2019 6:35 am
by delusionxb
I'm using youtube-dl to download audio and video files separately from youtube, then use ffmpeg to merge them.
Howerver, sometimes there is only m4a audio available, while the video file of best quality is webm format. So my question
is: how to merge m4a audio file with webm video file using ffmpeg?

And is this merging is not possible, is there a way to convert m4a audio to webm audio by ffmpeg?
Anyone has an idea about this? Thank you in advance.