Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

How to Derotate Long Videos in WinJupos

This topic has been archived. This means that you cannot reply to this topic.
56 replies to this topic

#1 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

Posted 10 February 2014 - 12:40 PM

Since a few posts have asked about this, I wrote up a step-by-step description of how I use WJ to derotate long videos. If you notice any mistakes or have any suggestions, please let me know and I'll try to modify the instructions. I'll keep the current version on Google drive, which should be publicly accessible.

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 StrangeDejavu

StrangeDejavu

    Surveyor 1

  • *****
  • Posts: 1,985
  • Joined: 20 Mar 2013

Posted 10 February 2014 - 12:52 PM

Excellent post astrovienna, thanks for taking the time to put it together.

I think this deserves a sticky, or at least a mention in the Links of Interest thread. :waytogo:

#3 ToxMan

ToxMan

    Skylab

  • *****
  • Posts: 4,461
  • Joined: 23 Jan 2011

Posted 10 February 2014 - 12:53 PM

Thanks, Kevin. This will be very handy. I'll take longer videos next time. Looks like we might be in for a run of good seeing.

Paul

#4 Mike Phillips

Mike Phillips

    Skylab

  • *****
  • Posts: 4,070
  • Joined: 21 Feb 2006

Posted 10 February 2014 - 02:02 PM

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

#5 Gendo

Gendo

    Skylab

  • *****
  • Posts: 4,413
  • Joined: 12 Dec 2005

Posted 10 February 2014 - 02:13 PM

Thanks Kevin!! ;)

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 Sunspot

Sunspot

    Voyager 1

  • *****
  • Posts: 11,026
  • Joined: 15 Mar 2005

Posted 10 February 2014 - 02:19 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.

#7 DesertRat

DesertRat

    Fly Me to the Moon

  • *****
  • Posts: 6,266
  • Joined: 18 Jun 2006

Posted 10 February 2014 - 02:35 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

#8 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

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 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

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 thonybear

thonybear

    Vostok 1

  • -----
  • Posts: 182
  • Joined: 12 Apr 2011

Posted 10 February 2014 - 10:30 PM

Thank you for your great tip to WJP users!

#11 DesertRat

DesertRat

    Fly Me to the Moon

  • *****
  • Posts: 6,266
  • Joined: 18 Jun 2006

Posted 10 February 2014 - 10:37 PM

The video formats supported from the WJ manual are shown as below.

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

Attached Thumbnails

  • 6369529-wj_video_formats.jpg


#12 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

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 Mike Phillips

Mike Phillips

    Skylab

  • *****
  • Posts: 4,070
  • Joined: 21 Feb 2006

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 StrangeDejavu

StrangeDejavu

    Surveyor 1

  • *****
  • Posts: 1,985
  • Joined: 20 Mar 2013

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 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

Posted 21 February 2014 - 12:11 AM

Good to know, Mitch. Thanks for the update.

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 Space Cowboy

Space Cowboy

    Vanguard

  • -----
  • Posts: 2,314
  • Joined: 30 May 2010

Posted 21 February 2014 - 06:30 AM

I always thought you had to stack the reference frame (for measurement) from the mid section of each video or have I missed something?

#17 MvZ

MvZ

    Surveyor 1

  • *****
  • Posts: 1,891
  • Joined: 03 Apr 2007

Posted 21 February 2014 - 07:01 AM

(expect a beta version of AS!2 that supports the new Ser V3 format in two days)

#18 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

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 Space Cowboy

Space Cowboy

    Vanguard

  • -----
  • Posts: 2,314
  • Joined: 30 May 2010

Posted 22 February 2014 - 03:06 PM

Thanks Kevin that makes life a lot easier as I had decided de-rotating videos was too much hassle compared to de-rotating images. I shall give the video method another bash especially now the latest WJ allows larger avi files.

#20 StrangeDejavu

StrangeDejavu

    Surveyor 1

  • *****
  • Posts: 1,985
  • Joined: 20 Mar 2013

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.

Posted Image

#21 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

Posted 22 February 2014 - 03:43 PM

That looks good, Mitch. Good job cleaning up the edge. Sometimes I'm just too lazy to bother!

Kevin

#22 Bruce Waters

Bruce Waters

    Lift Off

  • -----
  • Posts: 14
  • Joined: 23 Aug 2010

Posted 04 March 2014 - 10:19 AM

Hi Kevin (and others),

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 astrovienna

astrovienna

    Soyuz

  • *****
  • topic starter
  • Posts: 3,508
  • Joined: 04 Dec 2006

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 Bruce Waters

Bruce Waters

    Lift Off

  • -----
  • Posts: 14
  • Joined: 23 Aug 2010

Posted 04 March 2014 - 12:06 PM

Thanks Kevin,

I will give that a try tonight.

Cheers,

Bruce

#25 hombrejota

hombrejota

    Sputnik

  • -----
  • Posts: 28
  • Joined: 05 Oct 2014

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.

:bawling: What am I doing wrong? This is making me crazy!




CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics