Menu

Problem with a video ...

Feedback
zenmike
2016-04-21
2017-11-29
  • zenmike

    zenmike - 2016-04-21

    I would need during a lesson at the planetarium to project a video on the dome, while using Stellarium. To do this I wrote the following script (use the 0.14.1 version):

    core.loadVideo("../scripts/video/SolarSystem/moon.mp4","moon",100,70,true,0.5);
    core.playVideo(true);

    The script should be running properly, but nothing appears on the screen.
    Where am I doing wrong? :-(
    Thanks to those who can help me!

     
  • Alexander V. Wolf

    It may look odd, but, please, try use version 0.14.81.0 because series 0.14 has a problems for media support (0.14.81.0 is from series 0.15).

     
  • zenmike

    zenmike - 2016-04-21

    Ok I'll try! Thank you a lot! :-)

     
  • zenmike

    zenmike - 2016-05-21

    Hi Alexander,
    I tried to install the latest version of stellarium you recommended, and then to launch a mp4 videos present in the "scripts" folder of the program, but will not start ...

    The syntax I used is correct?

    core.loadVideo("../scripts/moon.mp4","moon",100,70,true,0.5);
    core.playVideo(true);

    Many thanks for your help!

     

    Last edit: zenmike 2016-05-21
    • gzotti

      gzotti - 2016-05-21

      How does "will not start" look like? Is there a message in the logfile?

      Or:
      http://stellarium.org/doc/head/classStelMainScriptAPI.html#ae7fcb80524b5d460554538b067513e3e
      says:
      Parameters
      filename the name of the file to load, relative to the scripts directory.

      Therefore: does this work?
      core.loadVideo("moon.mp4","moon",100,70,true,0.5);
      core.playVideo(true);

       
  • zenmike

    zenmike - 2016-05-21

    Hi gzotti,
    in my log file i have this error:
    [StelVideoMgr] Video object with ID "Moon" already exists, dropping it
    and the video does not appear on stellarium screen ...

    The syntax core.playVideo("Moon",true) are correct?

     
  • gzotti

    gzotti - 2016-05-21

    If you read the docs in the given link you see the video should start playing immediately with show=true. Calling playVideo("Moon"); should be enough, unless you want to pause at end.
    The error message refers to the nth time you reloaded the video.
    There may be another error message when attempting loading for the first time after start of Stellarium. Maybe try another video, some codecs may not be available.

     
  • Anonymous

    Anonymous - 2017-11-29

    Hi,

    I am interested in playing back FullDome films with Stellarium. Is this possible with the video play built into Stellarium - using mirror dome distortion?

    Thanks in advance.

     
    • gzotti

      gzotti - 2017-11-29

      Please try it out. I rather think it will be a rectangular screen insert, like ScreenImages, and will not be re-distorted.

       
  • Anonymous

    Anonymous - 2017-11-29

    I built Stellarium on MacOS 10.11, but I can only get audio playback from video - not video itself... will test with official build.

     
    • gzotti

      gzotti - 2017-11-29

      Depends on installed and used codecs, and can be quite picky. Worked on Windows with MP4 (h264) files. We can never test anything on Mac because no developer has one.

       
  • Alex Mitchell

    Alex Mitchell - 2017-11-29

    Hey gzotti, I was able to log into SF. (I'm the two Anonymous postings above)

    I was able to test this on my Arch Linux install (up to date), exactly the same issue (Video text shows playing video- as per the test script). I can see that the video is playing from the output from Terminal --verbose.

    This is just the standard install from Arch Repo: 0.16.1-1 (in EXTRA).

    I was going to 'roll my own' on Arch - however there are no complaints in the terminal - or warnings?

    Possibly the script is wrong I am using.

     
    • gzotti

      gzotti - 2017-11-29

      Hmm, seems videoplayer is indeed broken again. It works on V0.15, but I also have only short flash of black box on current trunk :-( Rarely used feature... Must see what happens and why? Or anybody else, QtMultimedia experts please go ahead?

       
MongoDB Logo MongoDB