> 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. 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


------------------------------------------------------------------------------
Own the Future-Intel® 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