timeline = GES.Timeline.new_audio_video()
layer = timeline.append_layer()
- video_uri = "file://" + video_path
+ video_uri = Gst.filename_to_uri(video_path)
asset = GES.UriClipAsset.request_sync(video_uri)
clip = layer.add_asset(asset, 0, 0, asset.get_duration(), GES.TrackType.UNKNOWN)