Skip to content

Commit

Permalink
Add MKV support allowing h264 w/ alt. sound codecs (#1657)
Browse files Browse the repository at this point in the history
Added 1 line for moviepy to be able to use FFMPEG to make matroska mkv files that can handle a variety of sound codecs as well has h264 video codecs. It has allowed me to output a mkv with h264 video and pcm_s16le audio :-)
  • Loading branch information
abramhindle authored Nov 10, 2021
1 parent 0335428 commit 662b26e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moviepy/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def deprecated_func(*args, **kwargs):

extensions_dict = {
"mp4": {"type": "video", "codec": ["libx264", "libmpeg4", "aac"]},
"mkv": {"type": "video", "codec": ["libx264", "libmpeg4", "aac"]},
"ogv": {"type": "video", "codec": ["libtheora"]},
"webm": {"type": "video", "codec": ["libvpx"]},
"avi": {"type": "video"},
Expand Down

0 comments on commit 662b26e

Please sign in to comment.