Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for (and ability to recode to) Matroska (.mkv) #3228

Closed
Qazerowl opened this issue Jul 10, 2014 · 7 comments
Closed

Support for (and ability to recode to) Matroska (.mkv) #3228

Qazerowl opened this issue Jul 10, 2014 · 7 comments

Comments

@Qazerowl
Copy link

@Qazerowl Qazerowl commented Jul 10, 2014

The Matroska Multimedia Container (.mkv file) is a freely licensed multimedia container that supports every video and audio format and supports other features like multiple subtitles, 3D video, and chapters/bookmarks. This makes it objectively better than MPEG-4 (.mp4 file) in every way, except widespread compatibility.

Adding support for the .mkv container would allow any form of encoding to support 3D video and multiple subtitles, support a more open standard, and easily allow for consistency among those who use Matroska for all other videos.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 10, 2014

I don't know what do you want exactly, could you explain how do you expect youtube-dl to work?

Note: you should be able to recode the video to mkv, just by using the --recode-video mkv option.

@Qazerowl
Copy link
Author

@Qazerowl Qazerowl commented Jul 10, 2014

Well, you are right, youtube-dl already has what I was looking for. To be fair, the --help only lists mp4,flv,ogg, and webm as arguments for --recode-video.

@Qazerowl Qazerowl closed this Jul 10, 2014
jaimeMF added a commit that referenced this issue Jul 11, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 11, 2014

You are right, I have updated it.

@nwgat
Copy link

@nwgat nwgat commented Jan 21, 2015

i have a related question
do the reencode to mkv affect the video?
wouldn't remuxing be a better idea?

most flv streams are h264 with upto L4.1 and mkv supports that already since its made to contain anything

remuxing means that you DO not touch the video/audio, recoding means you will affect the quality of video/audio, so my question is, wouldnt it be useful to have a flv > mkv remux, you can do this with ffmpeg using ffmpeg -i input.flv -c copy -map 0 output.mkv as command

so i would like a --remux-mkv option that basicly just does this
takes the stream flv and passes it thru ffmpeg with the above options

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 21, 2015

@nwgat Open a new issue for that.

@rzr
Copy link

@rzr rzr commented Nov 14, 2015

@nwgat did you reported new issue about mkv support ? that one is related to mkv too :
#6185

Env var are welcome too

@chkuendig
Copy link

@chkuendig chkuendig commented May 18, 2016

isn't this easily achievable with some simple argumens?
--recode-video=mkv --postprocessor-args "-c copy -map 0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.