Jump to content

SkySurveyBanner.jpg.21855908fce40597655603b6c9af720d.jpg

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


Recommended Posts

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?

Link to comment
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
Link to comment
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

Link to comment
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?

Link to comment
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

Link to comment
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

Link to comment
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!! =(

Link to comment
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

Link to comment
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...

Link to comment
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

Link to comment
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...

Link to comment
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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.