]> git.sesse.net Git - mlt/commit
Add an automatic profile feature to melt.
authorDan Dennedy <dan@dennedy.org>
Sun, 29 Aug 2010 06:10:34 +0000 (23:10 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 7 Oct 2010 05:19:14 +0000 (22:19 -0700)
commitb9947f19e3bb0b9ee0a26aec912f646fdf667307
tree488f68aee4720bd65e6a9a447bfc6ed72986976e
parent07e438b9a3142329fdcab42d6038edf831f25191
Add an automatic profile feature to melt.

Here are the main use cases this feature provides:
- Given a regular (non-mlt-xml) media file, melt reads the media
attributes and generates an equivalent MLT profile. This makes it easier
to transcode without changing or specifying resolution, aspect, and
framerate.
- Given a MLT XML file containing a profile attribute or element, melt
loads the specified profile. A composition typically contains profile-
without you having to remember.
- Given a MLT XML containing a profile but also specifying a -profile
option, melt automatically uses the 'consumer' producer with the
requested profiles. This is similar to the above case, but when
explicitly choosing a profile different than the composition one should
use the consumer producer. This just makes melt smarter and more
automatic.
src/melt/melt.c
src/modules/melt/producer_melt.c