Go Back   IceInSpace > Equipment > Astrophotography and Imaging Equipment and Discussions
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 13-03-2009, 04:11 AM
Randy Merritt (Randy)
Registered User

Randy Merritt is offline
 
Join Date: Mar 2009
Location: Phoenix
Posts: 1
Registax 4 Will Not Open my AVI Files (on Linux)

This may be old news for many to this forum but after spending several hours reading forums and blogs across 14(!) tabs in Firefox trying to find out why RegiStax 4 refused to input my AVI webcam file (even a small one:~!5MB) I’ve managed to solve the problem, and it never occurred to me that a Windows emulator would be the root cause (will we ever be rid of Windows?!). In my travels over the Web to try and find further info on this RegisStax failure I came across the notes from Ken Hough at http://www.astronomie.be/registax/linux.html that contained the key (in my case) comment:

“wine REQUIRES that AVI files are recorded as RGB. If a YUV encoded file is presented, an error message will be given that will include:

"Failed to start AVI decompression"

I’m running RegiStax under wine on Scientific Linux/KDE. For those of you running RegiStax natively under Windows you may not run nto this but for those who are trying to do it under Linux your frustration is borne from the unobvious -- Windows emulation (Bill Gates final revenge on Linux!?) For anyone new to webcam and RegiStax that may be running into this same message, I offer my notes below:


VirtualDub Notes
-------------------

Main Window
--------------
o File | Load Processing Settings...
- Video | Direct Stream Copy
- Audio | No Audio

o File | Capture AVI...


File Capture Window
----------------------
o File | Set Capture File...
o Video | Set custom format...
- Frame size -- 320 x 240, Data format -- 24-bit RGB[1]
o do the capture


After Capture
---------------
o File | Open video file...
o File | Save old format AVI... (select new, separate file)
[it is this separate file that is input to RegiStax]

exit VirtualDub


[1] it is Wine that limits avi files to RGB only!
Frame size depends on camera -- experiment


In the interest of making this process more robust and easier for new people getting interested in webcam astrophotography and RegiStax, the Ken Hough note and my outline would be a nice Appendix entry for the RegiStax User Manual. Does anyone know who “owns” responsibiity or access to the User Manual, a contact person, that I could work with to include this for the Linux community?
Reply With Quote
  #2  
Old 17-03-2009, 07:21 AM
Omaroo's Avatar
Omaroo (Chris Malikoff)
Let there be night...

Omaroo is offline
 
Join Date: Aug 2006
Location: Hobart, TAS
Posts: 7,639
Great reference Randy - thanks. I haven't needed to use Registax for quite a while, but may soon be going back to lunar mosaic gathering and need it again to process AVIs. I do run Linux, but run XP in a vBox VM rather than directly under Wine for those odd programs like Registax. It's an option for you anyway..
Reply With Quote
  #3  
Old 17-03-2009, 07:31 AM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,789
hi Randy

Don't forget Registax 5 is now released, and supports large AVI's too (finally!).

You can contact Cor through his website to submit info for a user manual.
http://www.astronomie.be/registax/

Cheers
Reply With Quote
  #4  
Old 17-03-2009, 08:23 AM
bojan's Avatar
bojan
amateur

bojan is offline
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 7,027
When I had a problem with AVI's generated by my Kyocera camera, I used one of video converter programs (there are a number of freeware available on web) . to convert AVI to AVI..
It seemed to be the same thing but after conversion, Registax managed to open and process the converted file.
Reply With Quote
  #5  
Old 17-03-2009, 08:34 AM
Omaroo's Avatar
Omaroo (Chris Malikoff)
Let there be night...

Omaroo is offline
 
Join Date: Aug 2006
Location: Hobart, TAS
Posts: 7,639
Quote:
Originally Posted by bojan View Post
When I had a problem with AVI's generated by my Kyocera camera, I used one of video converter programs (there are a number of freeware available on web) . to convert AVI to AVI..
It seemed to be the same thing but after conversion, Registax managed to open and process the converted file.
I guess that the point of the post is that he's found that Registax running under the Wine API in Linux has a colourspace issue Bojan. Why did you, as such, need to convert yours? Did the Kyocera produce dud AVI's?
Reply With Quote
  #6  
Old 17-03-2009, 09:18 AM
bojan's Avatar
bojan
amateur

bojan is offline
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 7,027
No idea...
Avi's from Kyocera were perfectly viewable by any codec used by windows, but Registax complained.
After conversion (the file size changed), Registax could handle them.
Reply With Quote
  #7  
Old 17-03-2009, 10:42 AM
luka's Avatar
luka
Unregistered User

luka is offline
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 1,164
Randy, thanks for the info. This explains few things...

Bojan, I suppose you had no choice, but AVI-to-AVI conversions should be avoided if possible (as should most of other conversions).
Sometimes only the header/keyframes are rewritten but usually the whole video is re-encoded (to a diferent codec, bitrate...) which leads to a loss of quality.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 03:59 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement