
How to Derotate Long Videos in WinJupos
#1
Posted 10 February 2014 - 12:40 PM
I would make a video tutorial, but a) I don't know how and b) I'd like to avoid becoming even more like that guy in You Suck at Photoshop.
Kevin
WinJupos Derotation of Video Frames (the “long video technique”)
1. Capture: I take 8 minutes per channel on Saturn and 5 minutes on Jupiter. Best to take SER videos, as WinJupos doesn't seem to like AVIs much greater than 2GB. (New versions of WJ may not have problems with large AVIs - I haven’t tried.) Important: To avoid a ton of data entry work later on, capture your videos using WinJupos file-naming conventions. This can be selected in Firecapture under Settings>Capture Settings.
2. AutoStakkert: stack the first video (or whichever one was best) normally.
3. WinJupos: Recording>Image Measurement. Open the image created in Step 2. Make sure the date and time are correct (these will auto-populate if you used WJ file-naming conventions). Click the Adj. sub-tab, and click Outline Frame>Automatic Detection. Make sure the outline of the planet matches up with the orientation - especially that the poles are correct, otherwise your videos will be super-rotated, not derotated! You can manipulate the outline with the n, p, backspace, page up, and page down keys of your keyboard. Get close, but don’t agonize over this, as high precision doesn’t seem to be necessary. WJ simply uses this step to determine the planet’s orientation and size so that it knows how to derotate the videos.
4. WinJupos: Tools>Derotation of video streams. Select the video, enter the start and end times (these fields will auto-populate if the video was captured using WinJupos file-naming conventions). Enter the image measurement file you created in Step 3. Select Corrected Video, and Start. WinJupos will create a new - derotated - video in the same folder. The derotation will be centered on the middle of the time period of the original video (the "reference time").
Repeat for each video. You can use the same image measurement file for all your videos as long as the planet didn't change orientation during the night, since all WinJupos uses it for is to detect the planet’s orientation and size. (Grischa has confirmed this.)
If you have a lot of videos to derotate, WinJupos can be run in batch mode. Instead of clicking Start after you set up each video for derotation, click the Save button and the data for that video will save as a DRS file. When all your videos have DRS files, go to the Administration tab, and select Macro. Click the “...” button and create a file (I just call it “batch”) and click Open. Click Edit, Insert, and select the DRS files you created. Click OK, then Start. WJ will start the derotation process. I find derotation of each 7-8GB video can take an hour. My processing machine is quite old, however.
5. AutoStakkert: Process the derotated videos normally.
The next two steps are only for mono cameras, as they deal with the RGB merge.
6. WinJupos: Recording>Image Measurement. Create new image measurement files for each image created by AutoStakkert. Remember that the time for each image is the center time of the video it was created from. Again, the fields will auto-populate if your original video was captured with WinJupos file-naming conventions.
7. WinJupos: Tools>Derotation of RGB frames. Enter the .ims file for each color, and compile. If you get color fringes or limb sparkles in your output image, try setting the LD (limb darkening) value to less than 1.0 for the color channel that shows a fringe. This may or may not help. I usually just clean up any fringe in Photoshop.
#2
Posted 10 February 2014 - 12:52 PM
I think this deserves a sticky, or at least a mention in the Links of Interest thread.

#3
Posted 10 February 2014 - 12:53 PM
Paul
#4
Posted 10 February 2014 - 02:02 PM
Mike
#5
Posted 10 February 2014 - 02:13 PM

If not a sticky, a mod could add a link to this thread in that "Best Threads in Solar System Imaging & Processing " stickied thread.
#6
Posted 10 February 2014 - 02:19 PM
Thanks!
Paul M.
#7
Posted 10 February 2014 - 02:35 PM
You might mention the options under Program -> Preferences -> Options as they relate to the stacking process. Ser format v3 should be supported by Autostakkert soon I suspect.
Glenn
#8
Posted 10 February 2014 - 10:21 PM
Ok...here's a question. Is there anyway to change the output location and filename for a derotated video? Also, I notice that the derotated video is stored as a .ser file. Is that the only option?
Thanks!
Paul M.
I don't think so, Paul. Those appear to be editable fields, but you can't actually change anything in them, including the output format. It may be that WJ outputs in the same format as the original video, but I haven't tested it to see.
Kevin
#9
Posted 10 February 2014 - 10:28 PM
Good work Kevin!
You might mention the options under Program -> Preferences -> Options as they relate to the stacking process. Ser format v3 should be supported by Autostakkert soon I suspect.
Glenn
To tell the truth, I've never used either of the options, and having looked at them, I'm not really sure what they mean. Do you know?
Kevin
#10
Posted 10 February 2014 - 10:30 PM
#11
Posted 10 February 2014 - 10:37 PM
Looks like WJ will output separate RGB channels for bayer cameras. Unitl Ser format 3 is widely supported anyway.
I usually have ser video, converted from avi or a native capture, for derotation of video streams.
Glenn
#12
Posted 11 February 2014 - 12:09 AM
I might be nervous nelly here, but the risk of loosing or corrupting a single run is too much for me to think about. I always shoot short runs very frequently instead!
Mike
Oh, that's not a problem for me, because when I screw up I go big and wreck the entire night! Like, say, when my filter wheel malfunctions and I get no blue data.

Kevin
#13
Posted 11 February 2014 - 10:34 AM
I might be nervous nelly here, but the risk of loosing or corrupting a single run is too much for me to think about. I always shoot short runs very frequently instead!
Mike
Oh, that's not a problem for me, because when I screw up I go big and wreck the entire night! Like, say, when my filter wheel malfunctions and I get no blue data.
Kevin
Haha! Seriously I don't mind sharing with anyone for their own http://creativecommo...s/by-nc-nd/4.0/
CC BY-NC-ND 4.0 style usage. IE, give credit and don't sell my stuff!

I just wanna know who's gonna bail me out when my stuff goes wrong?!

I probably spent too many years designing Enterprise Data, Voice Video networks for redundancy and fail-over. I'm surprised I don't own a second laptop and cfw for my other scopes yet!

Mike
#14
Posted 20 February 2014 - 11:26 PM
Best to take SER videos, as WinJupos doesn't seem to like AVIs much greater than 2GB. (New versions of WJ may not have problems with large AVIs - I haven’t tried.)
Bumping this topic to confirm the newest WinJupos handles large AVIs now. I just derotated a 37,000 frame red channel AVI at 4.42 GB with no hiccups. It took a 30 minutes, but it was seamless.

#15
Posted 21 February 2014 - 12:11 AM
I just wanna know who's gonna bail me out when my stuff goes wrong?!
You know you can always call on me, Mike! Don't count on my data being up to yours, though.
Kevin
#16
Posted 21 February 2014 - 06:30 AM
#17
Posted 21 February 2014 - 07:01 AM
#18
Posted 21 February 2014 - 12:48 PM
I always thought you had to stack the reference frame (for measurement) from the mid section of each video or have I missed something?
I remember reading that advice years ago, but it's not necessary. The time of the reference frame is irrelevant to WJ - it only uses the ref frame to determine the size and orientation of the planet. I just stack an entire 5 minute SER in AS2 and use that. It doesn't even have to be a particularly good image, it just needs to give WJ some guidance.
Kevin
#19
Posted 22 February 2014 - 03:06 PM
#20
Posted 22 February 2014 - 03:11 PM
I just derotated a 37,000 frame red channel AVI at 4.42 GB with no hiccups.
Here's the final product using Kevin's guide step-by-step. Each video was six minutes long, and ~5GB each. Final RGB is 33,200 stacked frames.

#21
Posted 22 February 2014 - 03:43 PM
Kevin
#22
Posted 04 March 2014 - 10:19 AM
This was a very useful tutorial and allowed me to get my first decent Winjupos image from a series of PIPP joined AVIs.
However, being a newbie, I must have missed something recently as Winjupos no longer saves avis for me but only sers.
At first, I thought it was my most recent files so I went back to my original AVIs which alloed me a winjupos procssed file that was an AVI.
When I reran that file, Winjupos only seems to export in ser.
Since I am using an ASI 120MC, I would rather not have to go through the individual processing if I didn't have to.
Any thoughts about what I have missed?
Thanks,
Bruce
#23
Posted 04 March 2014 - 11:34 AM
Since I am using an ASI 120MC, I would rather not have to go through the individual processing if I didn't have to.
Bruce, if you check the post from Glenn (DesertRat) above, you'll see the output format options. It sounds like your merged AVI is over 2GB, and WJ by default outputs 3 SERs - one for each color - at that size. It sounds like you can set WJ to ouptut a single RGB SER, but I don't think Emil has implemented support for that format yet in AS2, though it's coming. For now, since AS2 can run in batch mode, you can dump all three SERs into it and it will run without user intervention. You'll then need to re-merge the colors in WJ with Derotation of RGB Frames.
Kevin
#24
Posted 04 March 2014 - 12:06 PM
I will give that a try tonight.
Cheers,
Bruce
#25
Posted 07 October 2014 - 01:43 AM
I need your help guys!
I make all steps described in Astrovienna's guide in order to derotate a 5 minutes-3,3 GB RGB video in AVI format.
I measure an image obtained from processing the video with Autostakker 2. (Winjupo's tutorial says that must be from a part of maximun 2 minutes of the video. I have made it from the entire video. Is this important? Why?)
After measurement, I open the "De-rotation video streams" opcion in the menu and I complete all the steps listed by Astrovienna. Finally, when I click F12... nothing happens. F12 icon does not change and derotation does not start.
What am I doing wrong? This is making me crazy!