Including multimedia for Mac OS
The package used to load multimedia is not included in the previous recipe. So, we need to modify the previous recipe if we want to use the GStreamer. In this recipe, we are going to create a package of an app that loads a video.
Getting ready
We will use an app within multimedia. We are going to utilize the same code of the app used in the recipe Including multimedia for Windows in this chapter, that is, the code in e2.py
file.
This app needs the file GOR.mov
, which is the video that will be played. Also, it is highly recommended to read the previous recipe as the packaging process is explained in detail there.
How to do it…
Again, we are going to work directly in the terminal of the PyInstaller directory. We will create a package for an app that plays a video. To complete this recipe, follow these steps:
Locate the directory that has the files:
e2.py
andGOR.mov
, something like:/Users/Me/Documents/e2app/
Go to the PyInstaller directory.
Create the folder and specification...