video_static.liq
# Log to stdout set("log.file",false) set("log.stdout",true) # Disable real-time processing, # to process with the maximun speed set("root.sync",false) # Enable video set("frame.video.channels",1) # The video source using a static image s = video.image(width=240,height=240,x=40, "/tmp/bla.ppm") # The audio song. audio = single("/tmp/bla.mp3") # The special metadata function, that # also triggers the shutdown.. def end_meta(_) = shutdown () [("title","prout")] end # This is the blank source bl = map_metadata(insert_missing=true, update=false,end_meta,blank()) # And the final source: the sequence song # and blank added with the video of the # static image.. final = add([sequence([audio,bl]),s]) # Output to a theora file, reopen on # new metadata.. output.file.theora(reopen_on_metadata=true, "/tmp/$(title).ogv",final)Download