A basic wrapper library for the ffmpeg CLI tool.
This is a very basic example taking an input file (filename.mkv
), selecting the streams for use, setting codec information, and finally running the command producing the output file (test.mkv
).
from pymv import Pymv
mov = Pymv()
mov.Input('filename.mkv') \
.Map(0,0).Map(0,1)
mov.Video.Codec('copy')
mov.Audio.Codec('aac') \
.Channels(2)
mov.Output('test.mkv')
mov.Run()
More examples can be found in the tests folder.
There's a lot of work that needs to be done and can be found in the TODO file.