O'Reilly logo

Python Multimedia Beginner's Guide by Ninad Sathaye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - audio/video track mixer

We will develop a program that generates a video output file, by mixing an audio and a video track. Think about what change we will need to incorporate when compared to the audio/video track separation utility developed earlier. In that application, two filesink elements were required as two output files were created. Here, we need the opposite. We require two filesrc elements containing the audio and video data and a single filesink element that will contain both the audio and the video track.

  1. Download the file AudioVideoMixing.py from the Packt website. We will review some of the important methods of class AudioVideoMixer.
  2. The constructPipeline method, as usual, builds the GStreamer pipeline with all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required