Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Recording flv into mp4, but not recoding mkv #6185
Comments
|
mkv is most likely from youtube, and you are getting it due to bestvideo happens to be mp4 and bestaudio - webm. Those can't be merged into mp4 therefore merged into mkv. You may want to force bestaudio to m4a to avoid webm at all: |
|
That will work, thank you. I thought webm was a browser-based video playback alternative to flash? Did I mis-understand what it is? |
|
i noticed youtube can be a little nuts these days, some videos are vp9, vp8 or h264 and they might have opus, vorbis, mp3 or aac (m4a/mp4a) audio so the best container to save youtube is to use mkv, webm is only vp8/vp9 and vorbis/opus, mp4 is only h264 and aac (m4a/mp4a) the best codecs on youtube these days are
1 Vorbis (audio) so if the source is only in webm (vp9 and opus audio) it wont mux into mp4 |
I want to be able to record flv files into mp4.
So far, I have used this script:
But I discovered recently that if it is fetching a .mkv file (I think it was from vimeo), then it spends forever in ffmpeg trying to convert it.
I'd like to say "Convert a .flv file to .mp4".
I have no problem working with a .mkv instead.
How would I do that?