On Tue, Mar 26, 2013 at 8:50 AM, Dan Dennedy <d...@dennedy.org> wrote:
> On Tue, Mar 26, 2013 at 5:55 AM, Brian Matherly <pez4br...@yahoo.com> wrote:
>>> I need to touch up some videos I made with:
>>
>>>
>>> melt -verbose -progress -profile dv_ntsc test.mlt -consumer
>>> avformat:test.mp4 threads=2 progressive=1 properties=x264-medium
>>> vb=1024k acodec=libmp3lame ab=128k
>>>
>>> I don't have the sources listed in test.mlt (they are in a truck being
>>> shipped, eta friday)
>>>
>>> So starting with test.mp4 which was encoded using the above
>>> parameters, what is a good way to remove some dead air?
>>>
>>> The two I need so far:
>>> 1. cut the last 10 min off  cut out from  0:30:36 to the end
>>> 2. remove from 0:50:14 - 0:55:06
>>>
>>> mplayer -identify says
>>> ID_VIDEO_FPS=29.970
>>>
>>> I am good using that to calc in/out frames if I need to, but doesn't
>>> melt now take h:m:s for in/out ?
>>
>> in/out are in units of frames.
>
> Actually, it takes now frame units, timecode, or clock value strings.
> If you are using HH:MM:SS, which is a clock value, then you have to
> also include a decimal sub-second field to differentiate it from a
> timecode value HH:MM:FF.

Sorry, meant HH:MM:SS:FF.
The reason the number of "fields" is not used is because fields are optional.
HH:MM:SS.MS is for clock value.

>>  So just calculate the number of frames for your in/out points. I assume 
>> your timecodes above are in HH:MM:SS format.
>>
>> For #1 above:
>>    ( ( 30 x 60 ) + 36 ) x 29.97 = 55024
>> So you would run:
>>    melt test.mp4 out=55024 -consumer avformat:test2.mp4
>>
>> For #2 above:
>>    ( ( 50 x 60 ) + 14 ) x 29.97 = 90329
>>    ( ( 55 x 60  ) + 6 ) x 29.97 = 99080
>> So you would run:
>>    melt test.mp4 out=90329 test.mp4 in=99080 -consumer avformat:test2.mp4
>>
>> ~BM
>
> --
> +-DRD-+

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to