LanX has asked for the wisdom of the Perl Monks concerning the following question:

Looking at the quality of these recordings I wonder if it's possible to automatically synchronize and mix two video inputs.

A simple video shot from behind and a screencast with voice directly recorded from the presenter from his laptop/headset.

The sound input in both videosources should be sufficient to synchronize and blend both videos automatically.

I'm not sure if players like flash allow interactive buttons, such that the user could switch or zoom between both inputs .

Anyone with sufficient video know how?

I wanna try it out in one of the comming perl workshops...

Doing manually would restrict the usability with such non-profit events...

Cheers Rolf

  • Comment on (OT) Blending videosources of perl talks...

Replies are listed 'Best First'.
Re: Blending videosources of perl talks...
by Corion (Patriarch) on Aug 19, 2010 at 21:54 UTC

    So far, I've done simple video blending using OpenGL together with ffmpeg to decode the video stream(s) and re-encode the output stream. I haven't seen any convenient (free / open source) video editor to easily mix two video streams or do a split-screen setup. You could use http://youtubedoubler.com/ or a setup like this.

    As a solution for conferences, I would go for "live recording" of such talks by simultaneously recording the presenters screen and one or two video sources, and also having a director who selects what screen to "show" when. Then, the mix of the final video can be generated offline from the (synchronized) stream sources. This would address the fact that there is far too little time outside of conferences to polish the content produced there.

      I just had a look at the site of of the player used

      http://developer.longtailvideo.com/trac/wiki/Player5PluginsBuilding

      As far as I understand one can script the player with Actionscript and interact with JS.

      That means a simple webpage with two "raw" videos side by side, which are simultanously started and controlled with JS-Buttons should be possible.

      AFAIK VLC is already a sufficient and cross plattform solution to record a screencast from a laptop.

      Like this it's only a question of synchronizing the videos by the audio track when uploading.

      Having external JS-Controls to interact could even help the audiance to further tune the synchronization.

      I think that could be a good KISS solution for the start... :)

      Cheers Rolf

      UPDATE: As a bonus it should even be possible to synchronize a PDF or S5 presentation as long as the timecodes of slide changes are logged while presenting.

      Avidemux seems to fit the ticket (runs on many OS, scriptable ...)

        I don't see how Avidemux lets me cut and rearrange two videos in an interactive way, or blend between the two videos. The page you mentioned also mentioned CineFx, which looks promising but is dead since 2008.

Re: (OT) Blending videosources of perl talks...
by ww (Archbishop) on Aug 19, 2010 at 23:54 UTC
    Did you look at Cinelerra, linked fron the Avidemux page (under the head "Open source software similar to Avidemux")?
    "Cinelerra is a highly advanced and professional video editing, but still remains open source. Cinelerra solves three main tasks: capturing, editing and compositing."
    It may not satisfy all your requirements (depending, in part, on your background in AV editing), but seems to be worth a look.