Monday, June 24, 2013

filing income tax return online in 2013

My previous posts on filing the Indian IT return online dealt with the gotchas for Assessment year 2012-13. For this Assessment year 2013-14, the technical issues regarding email attachments of last year are solved, but there was a new issue.

I had downloaded the excel utility from the IT efiling website and started the process of filling it in May. It had the feature of importing previous year's return, so I could avoid typing in lots of info. There was a small confusion regarding salary income, since at first we had been issued only part A of Form-16 - employer's TDS form and salary certificate. Once part B was issued, my queries were answered.

Then the excel utility was used to generate the xml file which we upload. But after uploading, got an error, complaining of wrong country code.

Tried generating the xml with another version of MS Office, still the same issue. Finally called their tollfree helpline, immediately got the answer, that an updated excel utility has been uploaded, I can download that and use it to generate the xml, since the country code for India had been changed from 11 to 91. OK, tried a shortcut of just editing the xml file to make that change, it worked. :)

Sunday, June 23, 2013

probable reason for live broadcast problems

Once or twice, while starting the live broadcast in a hurry, BUTT has shown no input. Restarting the system had been the solution. Today also I experienced the issue, but instead of restarting the machine, tried restarting BUTT and then reloading the JackPilot saved session - no go. Restarted Reaper and reloaded JackPilot saved session - that worked.

So I surmise that the problem is caused when BUTT starts to broadcast before Reaper has focus, when Reaper is in the background. At that time, the Reaper output to Jack is probably not available, and later when Reaper gets focus, it does not connect to Jack for some reason. So the solution is to restart Reaper and reload the Jack session.

Edit Dec 2013: One more possible reason: if Reaper is paused - audio does not come out even from live mics through the insert send! Either REC or STOP or PLAY is needed.

Wednesday, June 19, 2013

updated Twitter widget

Our schedule page and on-demand audio page Twitter widgets stopped working a couple of days ago. Apparently Twitter API changed. Updated with their new widget. Unfortunately font size is a bit too big, and is not configurable.

Monday, June 17, 2013

frame blending for low frame-rate clips with avisynth

Finally got a solution for frame blending with avisynth. Using Convertfps after importing the clip at the required low framerate, when no "zone" parameter is added, frames are automatically blended.

Imagesource("Sequence_%05d.png", 00163, 00251, 5)
#This is at 5 fps
Convertfps(30)

Sunday, June 09, 2013

distorting video using After Effects instead of Blender

Checking out if I can use After Effects to distort flat videos to be projected onto the dome (wihout buying the Fulldome plugin, of course :) - found this tutorial which does a bezier warp, which is probably what I need. Unfortunately this effect is not available in AE 4.2 which I have. AE 4.2 does have a "Basic 3D" effect, which can make the video trapezoidal.




I can make do with that for some videos at some locations, I suppose. Will explore using a "Cosmic Colors" frame as a reference.

Wednesday, June 05, 2013

moving the Sun and Moon against the fixed stars in Stellarium

Wanted to mimic the "Annular motion" of the planetarium instrument, where the stars remain fixed, but the Sun and Moon move across the Zodiac along the ecliptic. Googled Stellarium move sun moon fixed stars and so on, finally hit upon the setDate("+1 days sidereal")
function, which moves the time ahead by one sidereal day, i.e. stars will be at the same spot. Keyboard shortcut Alt + + and Alt + -

Trying it out, found that my Stellarium version 0.10.2 is quite finicky. If a function call is wrong, the script just doesn't run. setDate is case sensitive, and can be in the format
core.setDate("1926:11:23T04:21:01");
as also "2008-03-24T13:21:01" as given in the documentation. But got it working, finally, copying the syntax from the working landscapes.ssc script.

Tuesday, June 04, 2013

selecting a single constellation in Stellarium

Tried out the single constellation display option. My Stellarium version 0.10.2 behaves as follows when I choose the "Select single constellation only" option in Configuration/Tools :

When I select Sirius, Canis Major constellation lights up. If I then click on Betelgeuse, both Orion and Canis Major light up. Then if I select something which is not in any constellation, like the Moon, all the constellations light up. Next, if I click on Betelgeuse again, only Orion lights up. So, if I click on one star after another in successive constellations like in the zodiac, only those constellations will light up.

Friday, May 31, 2013

using After Effects instead of Blender for post-processing

In an earlier post, I'd mentioned using Blender for rotating fulldome frames. The rendering times for 2K frames with Blender was around 22 seconds per frame. Decided to try out Adobe After Effects instead. Dug out the old AE 4.1 box set which we'd purchased in 1999 or so. AE did the render of the 2K frame rotate faster than 1fps, since it's not doing any ray-tracing and instead just doing 2d transforms. Definitely a timesaver.

Saturday, May 25, 2013

fulldome frame from celestia using the cube2dome method

Inspired by Ryan Wyatt's article about making fisheye frames from partiview using 6 cube faces, and with the help of code from Selden to display the six different fields of view top, down, left, right, front and back, hacked out a series of screenshots from Celestia and stitched them together to make a fulldome domemaster fisheye image with the help of the archived version of Paul Bourke's cube2dome_linux. On my first try, the registration was not perfect:
Then I thought maybe this was because the frames were not perfectly square. In order to get exactly square pixels, I had to resize the Celestia window to get exactly equal width and height. The getscreendimension function gives the x and y, but there is no "setscreendimension". So I just used the example script at for getscreendimension and kept calling it after tweaking the window size till I got 1002 x 1002 - it could have been any square size, I suppose. Taking those screenshots and making a domemaster, this time it meshed perfectly:


But this is just one frame! So I have to decide whether to pursue this time-consuming route or just purchase the Software Bisque Theater edition as suggested as one of the alternatives to Uniview by Paul Bourke.

Wednesday, May 22, 2013

exporting clips from Celestia

Tried exporting video clips from Celestia. Running it on secondary display at 1920x1080, tried exporting at 1280x720 with Xvid codec and as uncompressed avi. The Xvid codec version seemed to be better, more quality rendering, at around 11 fps. The look on the dome of course would be the final test. The idea is to warp the exported video after cropping it to a square shape and see if lower third centre view would be good for globes and such.

Tuesday, May 14, 2013

list of astronomy software

This page has a useful list of Astronomy and Planetarium related software:

http://astronomyonline.org/astronomysoftware.asp

offline rendering of fulldome fisheye frames using partiview

Ryan Wyatt has documented how he rendered fulldome content using partiview and Paul Bourke's tga2dome - http://numerology.ryanwyatt.net/

Seems a bit process intensive. First rendering 6 TGA cubes per angular fisheye frame, then creating the fisheye, and then in our case, warping the fisheye. Probably easier for me to use pre-rendered content as of now. Would be interesting to do a study of whether this process takes more or less time than the Blender render method which was around 1-2 minutes per frame.

There are other partiview resources listed at http://virdir.ncsa.illinois.edu/partiview/

Celestia seems to be able to render multi-view images as given in this old forum post but is limited by the resolution of the output screen.

Friday, May 10, 2013

planetarium systems review

Over the last two days, I could see two different planetariums. Interacted with the staff, saw their features, equipment. Different feature sets, different costs.

Bangalore Planetarium - single projector mirrordome system. Mitsubishi UD8400 projector gives 6500 lumens. Unidirectional seating is achieved through leaving two-thirds of the 15 m theatre empty, seating only 120 instead of 200. They have fulldome shows as well as traditional shows using the star projector, but demand is more for the former. They are making new shows with the help of an animation studio in 3DS Max.

Their website is www.taralaya.org

Calicut Planetarium - Upgraded just last week to Carl Zeiss Powerdome fulldome setup, with all the bells and whistles including a hybrid opto-mechanical system which is supposed to come in a few months. They use 9 JVC DLA-RS65 projectors with the Powerdome system featuring Uniview which can render astronomical objects in realtime, and also save sequences, and allows for show creation by dragging and dropping sequences into a timeline. They drive their HDMI ports over fiber, with the control systems in a rack in another room. They have converted their seating to unidirectional, and are able to seat 200 in their 15 m dome.

Their website is www.rscpcalicut.org

Subjective review: I saw Dawn of the Space Age at Bangalore, and Realm of Light at Calicut. In both cases I was near the rear of the theatre. In both cases, I felt the brightness was quite adequate, though in Calicut I thought some of the dark parts were too dark - like the whale swimming part. Maybe some gamma issue. Could not make out any great improvement in clarity over the single projector setup at Bangalore, except for the area behind the audience - when we use a mirror-dome setup, the area immediately around the mirror is somewhat washed-out, distorted. When observed close to the screen, the pixelation is evident at Bangalore, as it is at our planetarium, but for most of the audience, it is not visible. This pixelation is not seen in the 9 projector setup. I could make out some boundary artifacts of the 9-projector stitch boundaries during the fade-to-black parts. The overall sharpness was probably limited by the 4k dome master, or maybe by all the realtime slicing done to send 9 separate video feeds. Our Space Opera show is quite comparable in terms of audience wow-factor :)

From the audience point of view, the 100x times more costly setup does not deliver that much extra bang for the buck. But from the planetarium executive's point of view, compelling show creation tools are a great asset. Being able to create detailed flythroughs in realtime is a great boon. But patience is a virtue, and if uniview can be licensed and used to export offline for a reasonable cost, we can get most of the advantages of that setup, too. Something like a front-end for the process intensive method of rendering using partiview described here.

Friday, April 26, 2013

wavegain for normalizing

Useful for people who want all the songs in their self-mastered album to sound similar in volume:
http://www.rarewares.org/others.php#wavegain

Simple commandline utility with a GUI frontend that creates batch files for use with the utility. Drawback is that it does not do what I do with SoundForge - normalize to arbitrary RMS values applying limiter/compressor transparently. It does have a -6 dB limiter option, but the way it works seems to be very different from what I'm used to - a much softer limiter, perhaps...

Monday, April 08, 2013

Tata photon backup network device for live audio stream

Plugging in the Tata photon to USB on the Mac in mandir causes problems with the USB midi device and so on. But connecting the tata photon to the USB port before booting, and leaving it connected to the USB throughout, is troublefree.

When I tried to switch back from Photon to LAN, BUTT did not reconnect. Also, I had to disconnect the LAN cable for the Photon to connect. So, if LAN does not work, the way out would be to use Photon till the end.

Monday, April 01, 2013

icecast bandwidth under-reported by awstats

Looks like the icecast bandwidth is under-reported by awstats.

Shoutstats is quite accurate, since it reports the number of connected listeners at any point of time.

Checking out the area under the curve as seen right now, even though yesterday was Sunday and shows less traffic as is usual on Sundays,


If we take the 1 hour units, we have the approximate numbers as the following list from left to right:

300
300
300
300
300
300

400
500
400
400
350
300

300
250
250
200
250
250

250
300
350
550
650
400

That comes to 8150 listener hours. Since our 1 hour of 24 kbps stream filesize is 10.8 MB, taking 11 MB per hour, this comes to 87.5 GB per day on a slow day. The numbers reported by awstat seem to be around half of this.

Friday, March 29, 2013

calculate the disk space based on file date

Contributed by PB:

du -h (current usage)

du -ch `find /path/to/files/ -mtime -365` (last one year)

du -ch `find /path/to/files/ -mtime -730` (last two years)


etc.

viewing our live streams on Android

There was a request from the team preparing a customized android tablet for radiosai to consider changing our embedded player to something based on html5 so that Android would play it. They suggested videojs.

But according to this stackoverflow post, it looks like videojs does not work with our Wowza server: a test page I made also did not work. Our jwplayer embed does have a html5 option, but that seems to work only on iOS devices - "Cupertino streaming".

Wowza forums recommend using RTSP for streaming to Android, and when I made a link like they suggested, that worked fine on my HTC Wildfire for recorded streams. So, perhaps the rtsp urls
rtsp://[our-server-ip-address]:1935/live/myStream
(where myStream is the stream name)
or
rtsp://[our-server-ip-address]:1935/vod/flv:our-filename.flv
is the way to go for Android.

Monday, March 25, 2013

using WinDirStat for disk cleanup

Earlier, I had FolderSize installed on my system, but it was sometimes troublesome in taking up system resources when I did not need it to be running and so on. So, uninstalled it, and now installed WinDirStat. Since it is a standalone application, I can run it only when I need to see the sizes of folders. Collects statistics reasonably fast, all local drives scanned in the time it took to write this post.

Friday, March 22, 2013

problem with HDMI output

Unfortunately, the cable which V gave me to test was probably not meant for HDMI -> VGA. I think it is meant for VGA -> HDMI. I connected my player to my projector with that cable, did not work, and when I put back my old cable which used to work, still not working. Had to run shows from laptop VGA out for a couple of days.

Borrowed a Mac mini from studio to test HDMI projector input, found it working. The Mac mini can play the video at 720p on the HDMI out without any glitches, but with 1080p, the video drops frames, runs at around 15 fps or so. Then, tried the bluray player once again, found it working now! Probably the issue was a loose cable.