On Tue, Jun 23, 2015 at 3:17 PM Rob Hallam <rob...@roberthallam.com> wrote:

> melt by default seems to produce h264-encoded videos using the 'High'
> profile; I would like to encode using the 'Main' profile. However,
> supplying profile=main, vprofile=main or even profile=Main or other
>

vprofile targets the video codec instead of all libavformat objects (audio
codec and muxer).


> profiles causes errors (as well as an incorrect file):
>

Messages are not necessarily errors. How do you know it is incorrect?


>
>     $ melt test1.mkv test2.mkv -mix 120 -mixer luma -consumer
> avformat:test-transition.mp4 crf=18 profile=main
>     (snip)
>     [libx264 @ 0x7f0bd00c7a20] [Eval @ 0x7f0bff71d0f0] Undefined constant
> or missing '(' in 'main'
>

MLT passes all options to ffmpeg libs as strings, and ffmpeg supports
expressions as values. Here it seems to be trying to evaluate the string
"main" as an expression.


>     [libx264 @ 0x7f0bd00c7a20] Unable to parse option value "main"
>

I do not know why libx264 complains about this - maybe a side effect of
above. Run melt with -verbose and you will see something like:
[libx264 @ 0x7ff7cd011200] profile Main, level 3.1


>     [libfaac @ 0x7f0bd00c8ec0] [Eval @ 0x7f0bff71d0a0] Undefined constant
> or missing '(' in 'main'
>     [libfaac @ 0x7f0bd00c8ec0] Unable to parse option value "main"
>

You did not specify profile as a video-only option, and libfaac accepts a
profile option as well, but it does not accept "main."


>     [libfaac @ 0x7f0bd00c8ec0] Channel layout not specified
>
>
Specify one if you want, but 2 channels is assumed to be stereo.


> (setting vprofile=main instead causes there to be no complaints from
> libfaac)
>
> you see?


> Searching for similar output yields old ffmpeg posts from ca 2011 when
> there were changes to their -profile handling. The only relatively
> contemporaneous results I could find related to this is
>
> http://forums.debian.net/viewtopic.php?f=6&t=117482
>
> although that was noted fixed in libmlt6 0.9.2-2 in Debian sid. For what
> it's worth, x264 --help reports available profiles as
> "baseline,main,high,high10,high422,high444".
>
> All that said I have a feeling I may be invoking melt incorrectly. I tried
> looking for an IRC channel, but #mlt no longer exists on irc.gimp.net and
> #mlt on Freenode seems to have a worldwide +b !
>
>


> Thanks in advance,
> Rob
>
>
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to