Skip to content

video playing (Movie class) doesn't work on Linux #2242

Closed

Description

@akosmaroy

Hi,

I'm trying to load & play a video on Linux, Ubuntu 13.04, but it doesn't work:

 A library relies on native code that's not available.
 Or only works properly when the sketch is run as a 32-bit  application.

unfortunately this is the only error message I get, it doesn't say what library would be missing, etc. I'm using processing 2.1 64 bit.

the code is very simple:

import processing.video.*;
Movie myMovie;

void setup() {
  size(200, 200);
  background(0);
  myMovie = new Movie(this, "/tmp/ize.mpg");
  myMovie.loop();
}

void draw() {
  image(myMovie, 0, 0);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
  m.read();
}

Activity

  1. akosmaroy commented on Nov 30, 2013

    @akosmaroy
    Author

    the issue is solved by installing the following packages:

    sudo apt-get install libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev  
    libglib2.0-dev
    

    it would be nice to have a more descriptive error message or documentation on the video reference page, explaining what needs to be done :)

  2. REAS commented on Nov 30, 2013

    @REAS
    Member

    This type of documentation goes on the Wiki, which is mentioned on the main Video documentation page: http://wiki.processing.org/w/Video_Issues

    Unfortunately, we don't anything for 2.0, but we'd be grateful if you could contribute the information there.

  3. akosmaroy commented on Dec 1, 2013

    @akosmaroy
    Author

    sounds like a good idea. looking at the Wiki, I can't find a way how to register, and editing seems to be allowed only for registered people. If I can get the rights, I'd be happy to extend this page with the necessary information

  4. REAS commented on Dec 1, 2013

    @REAS
    Member

    There's a note about how to contribute at the top of the Wiki main page in bold text.
    http://wiki.processing.org/w/Main_Page

  5. akosmaroy commented on Dec 1, 2013

    @akosmaroy
    Author

    I see, sent you an e-mail

  6. REAS commented on Dec 2, 2013

    @REAS
    Member

    Great. Thank you. I just created an account for you.

  7. ferrouswheel commented on Dec 26, 2013

    @ferrouswheel

    I also ran into this. Thanks @akosmaroy for the solution! 👍

  8. yurikleb commented on May 19, 2018

    @yurikleb

    This ZIP works well, tested on Ubuntu 18 and 16, 64bit:
    processing/processing-video#84

  9. github-actions commented on Jun 15, 2021

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  10. locked as resolved and limited conversation to collaborators on Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions