Class: Wco::Newsoverlay

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Paranoia, Mongoid::Timestamps, Utils
Defined in:
app/models/wco/newsoverlay.rb

Overview

ffmpeg \

-i combined.mp4 \
-i overlay_1.mp4 \
-i overlay_2.mp4 \
-filter_complex \
"[1:v]setpts=PTS-STARTPTS+1.55/TB[v1];
 [2:v]setpts=PTS-STARTPTS+5.55/TB[v2];
 [0:v][v1]overlay=0:0:eof_action=pass[tmp];
 [tmp][v2]overlay=0:0:eof_action=pass[vout]" \
-map "[vout]" \
-map 0:a? \
-c:v libx264 \
-c:a copy \
combined_2.mp4

Constant Summary collapse

PAGE_PARAM_NAME =
'newsoverlays_page'

Method Summary

Methods included from Utils

#export, included