Code Monkey home page Code Monkey logo

ser-player's Introduction

SER Player

A simple video player for playing SER files used for solar, lunar and planetary astronomy-imaging.

SER Player is a C++ application using the Qt cross-platform framework so that it can be built for Windows, macOS and Linux.

SER File Format Specification: http://www.grischa-hahn.homepage.t-online.de/astro/ser/SER%20Doc%20V3b.pdf

Project Goals

Some simple goals that hopefully get accross my intentions for this project.

  • Produce a lightweight and intuative video player application for .ser files.
  • Avoid feature creep and over complication in order to keep SER Player distinct from PIPP. New features may be added if they are not duplicating PIPP's functionality.
  • SER Player must remain cross-platform and support at least Windows, macOS and Linux.

Building SER Player for Linux

Building using the Terminal

This section has some basic notes on building the application for Linux using the terminal. The instructions below are for variations of Debian Linux and will need to be modified for other Linux distributions. On Debian these packages need to be installed: qt5-qmake, qtbase5-dev and libpng-dev.

  • Terminal $ cd ser-player
  • Terminal $ export QT_SELECT=5 (This selects the QT5 version of qmake over the QT4 version)
  • Terminal $ qmake CONFIG+=release (Or qmake DEFINES+=DISABLE_NEW_VERSION_CHECK CONFIG+=release)
  • Terminal $ make

The directory ser-player/bin/ will now contain the application executable. To install the application use the following:

  • Terminal $ sudo make install

After this SER Player should be fully installed to the desktop and associated with .ser files so they can be double-clicked to view them in SER Player. To uninstall SER Player use the following:

Terminal $ sudo make uninstall

Building SER Player for Windows

This section has some basic notes on building the application for Windows. These notes assume a Windows PC is being used to build the application.

  • Install Qt v5.4.1 or later and Qt Creator
  • Open Qt project file ser-player\ser_player.pro with Qt Creator
  • Select Release instead of Debug.
  • Do Build Menu->Run qmake to run qmake.
  • Do Build Menu->Build All to build the application.
  • The directory *ser-player\bin* will contain the application executable and many DLL files required for it to run.

With the application built we next need to build an installer. This is done using the NSIS Windows installer creation program.

  • Download and install NSIS 3.01
  • Start NSIS and click on Compile NSI scripts.
  • This will open a MakeNSISW window.
  • Open file ser-player\ser_player_nsis\ser_player64.nsi with the MakeNSISW window. The simplest way is to drag the file and drop it in the window. This is for the 64-bit version of SER Player. Use the ser_player32.nsi file for the 32-bit version.
  • This will run the NSIS installer creator and generate the installer file of this form: ser-player\ser_player_nsis\SER_Player_Windows_x64_v1.7.1.79.exe

This installer file can now be use to install SER Player on your system.

Building SER Player for macOS

This section has some basic notes on building the application for macOS. These notes assume a Mac running macOS is being used to build the application.

  • Install Qt v5.4.1 or later and Qt Creator
  • Open Qt project file ser-player\ser_player.pro with Qt Creator
  • Select Release instead of Debug.
  • Do Build Menu->Run qmake to run qmake.
  • Do Build Menu->Build All to build the application.
  • This Apple disk image (.dmg) file ser_player\bin\SER-Player.dmg will created.

This disk image file contains the SER-Player application and can install in the usual way.

ser-player's People

Contributors

cgarry avatar lock042 avatar probonopd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ser-player's Issues

Cannot compile on opensuse

Error:
QPainterPath path« hat unvollständigen Typ und kann nicht definiert werden

Adding this include into frame_slider.cpp fix the problem for me:
#include <QPainterPath>

Is ser-player messing up my ser file

This may be related to issue #8.

Like issue #8, I made a ser file using INDI-based software. This was a movie of Jupiter in the night sky, through my telescope. The file was 5 minutes long, about 2.1GB. I tried to load it in ser-player. Ser-player told me that there was something wrong with the file, but that the program might be able to correct it for me. I let it do so, and then the movie played in ser-player, showing me the five minute movie of Jupiter.

But my next step was to try to use Autostakkert to stack the frames into a perhaps better still image of the planet. It didn't work, Autostakkert did load the ser file, but instead of an image of the planet, it shows me a large red rectangle on top of a large black rectangle with no Jupiter visible.

Two questions:

  1. Was the correction performed by ser-player the cause of the inability to load the file into Autostakkert?
  2. Is there a way to undo the correction that ser-player performed, going back to the raw original format?

Auto-start playback when a SER file is loaded.

When a SER file is loaded the player is in the stopped state and the play button must be pressed to play the file. Most actual video players will automatically start playing when a video file is opened and SER Player should be updated to behave in this way to.

SER Player exe??

I am trying to download the SER-Player 64bit Windows version but the site gets redirected and doesnt download anything. Is there a download link you can provide for this?

Exported SER file does not contain timestamps

Include Frame Timestamps option was selected, but the output file still doesn't contain any timestamps.
SER Player 1.7.3. under Ubuntu 18.04
If any additional details are required just let me know!

Problem on the automatic pixel depth detection

There's a problem on the automatic ser pixel depth detection on the SER player. I've developed my own program to capture the video and write in ser file, and I'm very sure the bitdepth has been set at 16-bit. My camera is PlayerOne Mini-m and I do understand it's not true 16-bit - but from the attached picture we can see the automatic pixel depth detected it as 13-bit and notice the bright area has been displayed "negated" due to the incorrect bit depth. Yet pipp is able to process the same SER file correctly. I read the code comments and understand the automatic depth detection was intended to fix many software bug that may have writtern the SER file incorrectly. I'd suggest an option allowing the users to toggle the automatic detection may have solve all these problems.

image

desktop file does not pass desktop-file-validate on Ubuntu trusty

The desktop file does not pass desktop-file-validate on Ubuntu trusty which is required for inclusion in the AppImageHub central directory of available AppImages.

ser-player.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
ser-player.desktop: error: value "Video;AudioVideo" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character

I would have sent a PR but I see that the desktop file is three times in this repository:
https://github.com/cgarry/ser-player/search?utf8=%E2%9C%93&q=%22Desktop+Entry%22

Can you combine these three into one, and use cp commands as needed?

Anyhow, this is how it would need to be changed:

[Desktop Entry]
Type=Application
Name=SER Player
Name[da]=SER Afspiller
Name[fr]=Lecteur SER
Comment=A video player and processing utility for SER files
Comment[da]=En video afspiller og billedprocessing utility for SER format
Comment[de]=Video Player und Verarbeitungswerkzeug für SER-Dateien
Comment[es]=Un reproductor de Video y utilidad de procesamiento para archivos SER
Comment[fr]=Un utilitaire de lecture et de traitement de vidéos SER
Exec=ser-player %f
Icon=ser-player
MimeType=video/ser;
Terminal=false
Categories=Video;AudioVideo;

Thank you very much for your consideration.

Reference:
AppImage/appimage.github.io#173

PIPP site dead.

Hello,
I'm writing to you because your site hosting PIPP software is no longer available which leads me to believe PIPP is abandonware at this point which is a shame because it's a great and very useful piece of software that many people still use - but as it gets older it's compatibility will go down and capabilities will start to lag behind other software. I would hate for all your work you did to date to be lost.
Would it be possible to restore the site? Alternatively if you're not interested in developing PIPP anymore maybe you could open source the project on GitHub? I'm sure there's some people in the astro community that would be interested in continuing your work - similarly to how it happened with DeepSkyStacker which went open source in 2018.
Anyway I hope you are well.

Window start-up size with large frames

Seen on Windows:
When a SER with a large frame size is opened in SER Player the Window is slightly too large for the screen. It looks like some of the Window is below the taskbar at least.

Changing the zoom level to 100% at this point actually makes the scale change to 100% even though this means the window is even.

This can also be demonstrated by loading a SER file and setting the zoom level too 300% then setting the level to 300% again.

PIPP and Ser-Player sites have died :-(

Chris,

As far as I can determine, you are the author of (the most excellent!) PIPP. I wonder if you realise that in the last month the site at https://sites.google.com/site/astropipp has died. So all the links across the internet to PIPP have now died :-(

(luckily I got my download just before it went but I see lots of posts in Astro forums about the demise of the site now).

Help diagnose issue with INDI produced SER files

So this is probably not an issue with the SER player itself, but I would appreciate any insight it finding why 16bit RGGB bayered frames aren't displayed correctly in the SER player. Unfortunately, the only 16bit Touptek camera I have here cannot reach focus so I can't share clear images, but for this purpose it's quite sufficient.

When the images are streaming to KStars, they're displayed correctly. Of course, INDI downsamples them to 8bit, so this could be why they show up as fine.

Screenshot_20201106_205215

However, this 2-frame file looks like an RGB mess in the SER player:

https://www.dropbox.com/s/bd13lbtoyxuqo5w/indi_record_2020-11-06%4016-44-32.ser?dl=0

I doubled checked the INDI driver and it appears everything is in order. Endianess is fine, header is OK, data appears to be fine. So any clue what's wrong exactly?

Remember window positions and sizes

I've been using SER Player a lot lately (on Linux), during multi-hour planetary imaging sessions, to quickly check the just-recorded videos for proper focus & seeing - it's very helpful! It would be great if the positions & sizes (and maximized state) of the main program window and the Processing window were remembered and restored on next launch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.