Jump to content

Stargazers Lounge Uses Cookies

Like most websites, SGL uses cookies in order to deliver a secure, personalised service, to provide social media functions and to analyse our traffic. Continued use of SGL indicates your acceptance of our cookie policy.

sgl_imaging_challenge_celestial_motion.thumb.jpg.a9e9349c45f96ed7928eb32f1baf76ed.jpg

JamesF

Beginner's guide to stacking planetary images with AutoStakkert!2

Recommended Posts

MJPEG is definitely not good for planetary imaging.  JPEG is (sometimes very) lossy, so you'll struggle to get a decent image out of it.

James

Share this post


Link to post
Share on other sites
  • Uhm ok...then I'm gonna have to still use avchd and convert it into avi without losing quality. Another thing: I've read that PIPP accept avchd but when I tried to import the file there it just says I can't...any suggestion?

Share this post


Link to post
Share on other sites

also i really don't understand why mjpeg is lossy? from what i'm reading everywhere an mjpeg avi has quality:

"In multimedia, Motion JPEG (M-JPEG or MJPEG) is a video compresison format in which each video frame or interlaced field of a digital video sequence is compressed separately as a  JPEG image" ...isn't great for stacking?

Share this post


Link to post
Share on other sites

AVCHD is, as far as I'm aware, layered on top of MPEG.  If you take a raw video frame, convert it to MPEG and then convert it back you won't get what you started with, so data has been lost.

JPEG is poor in two ways.  First it's 8-bit only, so if you have more than eight bits of data they'll get thrown away.  Second it's lossy compression.  In my experience MJPEG is generally used where there's insufficient bandwidth for the full frame even with lossless compression, so the raw frame to JPEG conversion will be lossy too.  In fact, if you look up JPEG on Wikipedia the first sentence says "JPEG ... is a commonly used method of lossy compression".

Thinking about the way that JPEG actually works at an algorithmic level and how stacking works it seems highly unlikely to me that JPEG images are ever going to stack as well as raw frames.  If you think of stacking as a process for reducing the random element of noise then I think it might not be unreasonable to view JPEG conversion as actually modifying the noise in a manner that makes it harder to reliably remove the random component.

James

Edited by JamesF

Share this post


Link to post
Share on other sites

well, all i have is avchd =( I've seen that many of u use PRISM VIDEO CONVERTER, which is fortunately supports AVCHD (.mts) ...do u think prism is great to convert into avi??? whichc quality will i have?

Share this post


Link to post
Share on other sites

I don't use it, so I'm afraid I can't help with that one.

James

Share this post


Link to post
Share on other sites

H.264 is MPEG4 I believe.  It's almost always lossy compression too.

Unless you can find out exactly how the camera firmware works and decide what format you want from that I think you might just have to accept that you're never going to get stunning results this way and work on the things you can change, such as accuracy of focusing

James

Share this post


Link to post
Share on other sites

H.264 is MPEG4 I believe.  It's almost always lossy compression too.

Unless you can find out exactly how the camera firmware works and decide what format you want from that I think you might just have to accept that you're never going to get stunning results this way and work on the things you can change, such as accuracy of focusing

James

ok than can u suggest me into what type of avi i have to convert my file? i mean, which codec should i use?

Share this post


Link to post
Share on other sites
  • Uhm ok...then I'm gonna have to still use avchd and convert it into avi without losing quality. Another thing: I've read that PIPP accept avchd but when I tried to import the file there it just says I can't...any suggestion?

PIPP should support avchd files, it certainly does for all the files I tested.  What is the error you are getting?

Thanks,

Chris

Share this post


Link to post
Share on other sites

I've seen that u import a dib file into pipp, which is the same codec of the output...i will try some converter that can do avchd into dib then

Share this post


Link to post
Share on other sites

PIPP should support avchd files, it certainly does for all the files I tested.  What is the error you are getting?

Thanks,

Chris

yeah it should, but look:

5VwkIjJ.png

Share this post


Link to post
Share on other sites

I've seen that u import a dib file into pipp, which is the same codec of the output...i will try some converter that can do avchd into dib then

It looks like I have lost the .mts extension from PIPP's video type list at some point. Could you try changing the filename to end in .mov instead of .mts and see if PIPP is happy with it then?  That just tricks PIPP into accepting the file.

Cheers,

Chris

Share this post


Link to post
Share on other sites

It looks like I have lost the .mts extension from PIPP's video type list at some point. Could you try changing the filename to end in .mov instead of .mts and see if PIPP is happy with it then?  That just tricks PIPP into accepting the file.

Cheers,

Chris

Didn't work =( It's the latest pipp's release, i don't know why it doesn't accept mts!! =(

Share this post


Link to post
Share on other sites

Didn't work =( It's the latest pipp's release, i don't know why it doesn't accept mts!! =(

I have sent you a PM with a link to an updated version of PIPP that should handle .mts files again.  Could you try this version and let me know if it works for you?

Cheers,

Chris

Share this post


Link to post
Share on other sites

I have sent you a PM with a link to an updated version of PIPP that should handle .mts files again.  Could you try this version and let me know if it works for you?

Cheers,

Chris

it works!!!!!!!!!! <3 thank u so much! So you work with avchd files too? what do u think about the quality? especially after the conversion in avi dib by pipp...

Share this post


Link to post
Share on other sites

That is great news.  Thanks for testing that version of PIPP, I will get it released in case it is causing others are having the same problem.

I don't use avchd files myself, but I know of a few guys who have used it.  Although the 'planetary imaging rules' say that using lossy video is a bad idea, I have seen some very nice results created from DSLRs using lossy videos.

I had a quick play with your video and I could not get any more detail out of it than you did.  As soon as I applied any kind of wavelets to the stacked image it just exploded with onion rings.  I am not sure why this happens but the low levels in the video (around 30%) almost certainly do not help.

Cheers,

Chris

Share this post


Link to post
Share on other sites

That is great news.  Thanks for testing that version of PIPP, I will get it released in case it is causing others are having the same problem.

I don't use avchd files myself, but I know of a few guys who have used it.  Although the 'planetary imaging rules' say that using lossy video is a bad idea, I have seen some very nice results created from DSLRs using lossy videos.

I had a quick play with your video and I could not get any more detail out of it than you did.  As soon as I applied any kind of wavelets to the stacked image it just exploded with onion rings.  I am not sure why this happens but the low levels in the video (around 30%) almost certainly do not help.

Cheers,

Chris

Yeah I probably made a very bad video itself...gonna try again with some other settings on the camera, and do at least 3 minutes...

Share this post


Link to post
Share on other sites

From http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC:

H.264 is typically used for lossy compression in the strict mathematical sense, although the amount of loss may sometimes be imperceptible. It is also possible to create truly lossless encodings using it — e.g., to have localized lossless-coded regions within lossy-coded pictures or to support rare use cases for which the entire encoding is lossless.

Yes, H.264 can be lossless, but I have never come across this in the real world.  You capture file is certainly not lossless, it is far too small for that to be the case.

I would choose 'AVCHD FINE' as it will be better quality, though I am pretty sure it will still be lossy.

Cheers,

Chris

Share this post


Link to post
Share on other sites

LoL, just made a test, so... 1080p avchd FINE was 38mb for 2 minutes video, i just made a 2 minutes video but choosing "normal" and it's 300MB!!! How so? Is it because maybe it uses a lossless codec?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.