Class: Videojoiner::FFMpeg::JoinerProcess
- Inherits:
-
Object
- Object
- Videojoiner::FFMpeg::JoinerProcess
- Includes:
- Runnable
- Defined in:
- lib/videojoiner/ffmpeg/joiner_process.rb
Class Method Summary collapse
Class Method Details
.make_ffmpeg_config(video_list, config_file) ⇒ Object
21 22 23 24 25 |
# File 'lib/videojoiner/ffmpeg/joiner_process.rb', line 21 def make_ffmpeg_config( video_list, config_file ) File.open( "#{config_file}","w" ) do |file| video_list.each_pair{ |source, value| file.puts( "file '#{source}'" ) unless value[ :status ] == "invalid" } end end |