r9 - 05 Jul 2005 - 09:25:21 - TorstenSpindlerYou are here: MLT Wiki >  MLT Web  > Questions
  • I'm trying to do the following: Display a blue transparent rectangle over the first few hundred of frames and over the last. On the rectangle some text is written, but this can be ignored. The second transition isn't working with this toast.westley.
    • Answer is to check the in and out properties carefully.

  • How to center a text in a video?
    • inigo colour:red -filter watermark:"+LinuxTag~Flop Bobber.txt" composite.progressive=1 producer.align=centre composite.valign=c composite.halign=c

  • A saved video is jerky, seems like only few frames are really written to the file
    • inigo goes for real time whenever possible - if there's not enough cpu power this is a problem
    • use option real_time=0

  • When changing the font for pango it is rather small.
    • Use the producer.size property
    • inigo colour:red -filter watermark:"+Flop.txt" composite.progressive=1 producer.font="DIN-Light" producer.size=48

  • How to repeat the very first frame of a video for 200 frames?
    • The split can be used here together with swap, that reverses frame order
    • inigo file -split 0 -swap -repeat 200 -swap
    • -split 0 is the first frame, -swap reverses frame order so it becomes last frame, repeat operates on the last frame, swap restores original frame order
    • Another approach: inigo file.avi out=0 -repeat 200 file.avi in=1

  • How to reverse a movie, e.g. have it playing backward?
    • Somewhat awkward: Create jpgs for each frame and make movie in reverse order
    • inigo INPUT.VIDEO -consumer avformat:images%05d.jpg real_time=0
    • inigo -group in=0 out=0 `ls -r` -consumer avformat:reverse.mpeg qscale=0.01 real_time=0
    • Warning: If the argument list gets to long this might not work?

  • Is it possible to do multiple composites?
    • On 2005-06-26 the following example was working:
    • inigo colour:blue -attach watermark:"+hello.txt" producer.size=266 composite.alpha_a=0 -attach watermark:colour:red composite.alpha_b=0 composite.or=1

  • Not really a question, some doc on the 'transition as filter' thing
simple usage is something like: inigo file.ogg -track file2.ogg -attach transition:mix start=0.5
more advanced stuff can be done if you hand author a westley like:
 <?xml version="1.0" encoding="utf-8"?>
 <westley title="Audio Mix">
   <producer in="0" out="499">
     <property name="markup">Audio Mix</property>
     <property name="mlt_service">pango</property>
     <property name="meta.fx_cut">1</property>
  <filter mlt_service="transition" transition="mix">
       <property name="start">0.5</property>
     </filter>
   </producer>
 </westley>
 then the mix can go on it's own track (but needs in/out/length specification of course) like:
 inigo file.ogg -track file2.ogg -track mix.westley out=4999

  • shotcut-nle crashes with segfault. A backtrace with gdb reveals arts/sdl problems
    • Use SDL_AUDIODRIVER=dsp
-- TorstenSpindler - 20 May 2005
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
MLT Wiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding MLT Wiki? Send feedback