Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make-xges error #12

Closed
r4pt0r66 opened this issue May 9, 2021 · 1 comment
Closed

make-xges error #12

r4pt0r66 opened this issue May 9, 2021 · 1 comment

Comments

@r4pt0r66
Copy link

r4pt0r66 commented May 9, 2021

I'm getting the following error with make-xges:

Traceback (most recent call last):
  File "./make-xges.py", line 428, in <module>
    sys.exit(main(sys.argv))
  File "./make-xges.py", line 423, in main
    p = Presentation(opts)
  File "./make-xges.py", line 52, in __init__
    self.add_slides(self.opts.annotations)
  File "./make-xges.py", line 201, in add_slides
    asset = self._get_asset(os.path.join(self.opts.basedir, path))
  File "./make-xges.py", line 64, in _get_asset
    asset = GES.UriClipAsset.request_sync(file_to_uri(path))
GLib.Error: gst-resource-error-quark: Resource not found. (3)

I've implemented the fix described in issue-741507162; the presentation doesn't inlude deskshare.webm.

Output of download.py when downloading /deskshare/deskshare.webm is now: HTTPError: 404. In my outdir deskshare.webm is 0 bytes.

@r4pt0r66
Copy link
Author

Turns out somelines in my copy of download.py were malformed; have no idea how that happened:

for imgurl in {img.get('{http:# www.w3.org/1999/xlink}href') for img in doc.iterfind('.# {http:# www.w3.org/2000/svg}image')}:

should've been:
for imgurl in {img.get('{http://www.w3.org/1999/xlink}href') for img in doc.iterfind('.//{http://www.w3.org/2000/svg}image')}:

Then got this error with make-xges.py:
ERROR from element internal-encodebin: Couldn't create encoder for format audio/mpeg, mpegversion=(int)4, base-profile=(string)lc Debugging info: gstencodebin.c(1171): _post_missing_plugin_message (): /GESPipeline:gespipeline0/GstEncodeBin:internal-encodebin

Soved with:
sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav

Not sure if all of those packages are needed, but it did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant