Including multimedia for Linux
Again, we need to include the GStreamer to play videos or sounds in our packaged app. In this recipe, we are taking a simple app that plays a video and generate package with it.
Getting ready
We will use an app within multimedia. We are going to utilize the same app that we used in the Including multimedia for Windows and Including multimedia for Mac OS recipes in this chapter. It uses the e2.py
code. Also, do read those recipes for further information.
This app needs the file GOR.mov
which is the video that needs to be played. Also, it is highly recommended to read the previous recipe as the packaging process is explained in depth there.
How to do it…
Again, we are going to work directly in the terminal in the PyInstaller directory. We will create a package for an app that plays a video. To complete this recipe, follow the next steps:
Locate the directory that has the files, e2.py and GOR.mov, something like:
/home/Me/Documents/e2app/
Go to the PyInstaller directory...