Closed sugizo closed 8 months ago
trying to execute command taken from this github to get portrait or vertical video
python3 /mnt/c/stellarium-to-video/stellarium-to-video.py \
-ts P6M -dt P1D -o "/mnt/c/Users/sugizo/Downloads/vertical.mp4" \
-t /mnt/c/stellarium-to-video/script/planet_track.ssc \
-sz 1080x1920 \
-v 180,30,70 \
-d 1961-10-08T12:00:00+01:00 \
-l Freiberg -c "Dance of Planets"
result
expected result video generated same like on github repo portrait (vertical.mp4)
the video already tested upload to youtube, but it won't goes to short video youtube (although the duration is 7 secs) the video goes to normal video (landscape, horizontal)
best regards
Same as #21; You cannot mix a linux environment with a windows version of stellarium which happens when you use WSL.
think you got it wrong, no stellarium windows version installed on windows
there only stellarium that is installed on wsl debian (installed from debian repo via apt install -y stellarium)
the case is not just like that, i've report two different ssc which is take from example on github,
1st case. the Analemma output is no sun trail 2nd case, the dance planets is correct (have planets trail), but the desire portrait vertical output is not achieved
if you think it's on wsl side problem, then the output on 2nd case, the dance planet don't have planet trail (is still make sense)
Whatever stellarium version wsl installs will most certainly not run under gnome in wsl. This means "-wsz" is off the table. "-wsz" only works on windows natively or on linux with gnome. It is using a hack to change the windows size of stellarium whilst bypassing a window manager limitation that prevents me from making the stellarium window larger than the screen. I have no intention of providing a similar hack for every conceivable os/window manager combination.
Lifting this limitation requires stellarium to be able to write screenshots larger than the screen which is technically already possible but cannot be set up via its scripting API or its ini file. So this script cannot use this feature. Use the script natively on windows with powershell and a windows version of stellarium or use it natively on Linux with gnome.
Closing this here;I have filed this as #26; There is a chance that there is a workaround
env wsl debian (windows subsidiary linux)
prerequisites
execute
result
https://github.com/beltoforion/stellarium-to-video/assets/2418295/ee14c9d0-51b5-4272-9a94-ebf87845ee17
expected result video generated same like on github repo analemma (output.mp4) have sun orbit trail
best regards