Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

cgarry

Members
  • Posts

    2,342
  • Joined

  • Last visited

Posts posted by cgarry

  1. Ah, well, there's always just one more gotcha :)  The Ut Video codec appears not to want to play if I tell it the file format is BGR24 rather than RGB24.

    Fortunately I believe the ffmpeg swscale library can convert from the former to the latter.  I just have to work out how to use it.

    James

    No it does not accept BGR24.  I just used a for loop to swap the pixels around, I found that easier than figuring out the swscale library!

    Chris

  2. I'm finding a huge number of out-of-date examples myself :(  Even the example code that is shipped with the source code for the version I have installed doesn't actually build without lots of warnings :(

    I'd probably opt for static-linking the ffmpeg libraries into the executable on Linux if I have to go down that route.  It's far easier to keep things under control that way and the cost in terms of size is hardly huge.

    It will definitely be open source.  I've earned my living from working with open source software for fifteen years or more and been a user of it in one guise or another for not far off twice that.  It would feel disrespectful not to give a little back.

    James

    I am planning to open source PIPP once I have reworked it to be a C++ QT application (rather than a C# GUI round a C++ application), plus tidied up some of my scruffy code!  Though finding the time to do this is the hard part.

    I have sent you a PM that you may or may not find useful!

    Cheers,

    Chris

  3. I had shied away from ffmpeg because the interface seems to change on such a regular basis.  I've downloaded  the demo code from the ffmpeg website and none of the different version actually compile against the libraries I have installed.  If I get it to work I might have to static link it.

    James

    It took me ages to get ffmpeg working on Windows, there are so many out of date examples out there on the internet.  Once I got it building all was fine as I distribute the DLLs with PIPP.  Ironically I build the Windows' ffmpeg DLLs on my Linux box because it is much easier.

    How would this would this work with Linux?  Would you build and distribute the ffmpeg libraries with your application or does it not work that way?

    Also, are you planning to make your program open source?

    Cheers,

    Chris

  4. With standard AVI libraries I could not figure out how to generate mono (DIB) AVI files that were not 3x the size the needed to be.  That is why I wrote my own class.  For the Ut Video codec (and MPEG-4) I just wrote a wrapper for ffmpeg and I am very pleased with how that worked.

    Chris

  5. Oh, irritatingly I've not managed to find an implementation of the Ut codec for Linux yet.  I've not looked that hard, but it would be handy if someone had already done it.

    James

    Ut codec support should easy enough with FFmpeg, that is what I used.  I can give you the AVI/SER file generation code from PIPP if you like, save you reinventing the wheel completely.

    Chris

  6. Great write up James, covering the process from beginning to end.

    I have noticed recently that enabling this option in PIPP (as you did) was more important than I realised for both lunar and solar imaging:

    * Processing Options->Enable Histogram Stretch

    Without this enabled I found that Reg6 would very often produce badly aligned images with multiple edges.

    I also find that for lunar images where the moon is not full, it is worth using this option to set which edge is in shadow:

    * Processing Options->Edge In Shadow (Lunar Images Only)

    This just helps PIPP to do a more consistent alignment between frames which seems to make life easier for Reg6.

    Cheers,

    Chris

  7. This is the case that my woman made me from scratch. We got a regular brief case from the local store, and went out to a fabric store and got some foam and some cloth to cover the foam. She then cut out a shadow board for all my filters, EPs, and what not and then sewed the cloth on.

    I also love that i have room for the manuals, journal, pens, and even hot-hands on the upper piece.

    and a lot of room for future growth!

    Its pretty great!

    Nice! What is the foam like? One of the problems I have is when I want to reorganise a case it is often cheaper to buy a new case rather than replace the foam.

    Cheers,

    Chris

  8. (I know DEC PE doesn’t exist but it almost look like one).

    DEC PE does exist in exactly the same way that RA PE exists. With a good polar alignment the DEC axis does very little and so DEC PE will not show. However, with a bad polar alignment the DEC axis will need to keep moving in one direction, albeit much slower than the RA axis, and PE will show up.

    Cheers,

    Chris

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.