Skip to content
Snippets Groups Projects
Commit 9a3e800a authored by James Henstridge's avatar James Henstridge
Browse files

README: with a profile written into the project, we don't need to specify it to render

parent 347daa64
No related branches found
No related tags found
No related merge requests found
......@@ -82,11 +82,10 @@ before rendering.
## Render Video
If everything looks good, the project can be rendered to a video. The
following should produce an mp4 file suitable for upload to YouTube:
following should produce an MP4 file suitable for upload to YouTube:
```
ges-launch-1.0 --load presentation.xges -o presentation.mp4 \
--format 'video/quicktime,variant=iso:video/x-h264,profile=high:audio/mpeg,mpegversion=4,base-profile=lc'
ges-launch-1.0 --load presentation.xges -o presentation.mp4
```
Or alternatively, it can be rendered as WebM:
......
......@@ -122,7 +122,7 @@ class Presentation:
# Add an encoding profile for the benefit of Pitivi
profile = GstPbutils.EncodingContainerProfile.new(
'bbb-render', 'bbb-render encoding profile',
'MP4', 'bbb-render encoding profile',
Gst.Caps.from_string('video/quicktime, variant=(string)iso'))
profile.add_profile(GstPbutils.EncodingVideoProfile.new(
Gst.Caps.from_string('video/x-h264,profile=high'), None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment