Celestia 1.7.0 Development Thread

The place to discuss creating, porting and modifying Celestia's source code.
john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1221by john71 » 22.01.2022, 19:39


Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 1 month

Post #1222by onetwothree » 23.01.2022, 08:31

That's was initial attempt, but then we faced some issues with it and due to lack of windows devs and unfriendliness of ffmpeg to newcomers I reverted ffmpeg on windows.

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1223by john71 » 23.01.2022, 09:39

I know it is a stupid question, but...why can't you use the 1.6.2.2 video recording code?

It is just PERFECT, it produces compressed and beautiful video.

If it works, why change it?

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1224by cartrite » 23.01.2022, 13:20

One day we will figure this out. Right now I'm just comfortably numb. :wink: About a 0.15 bac. But I did get ffmpeg to build on windows but was getting link errors to unavailable symbols. Last night was the end of a brutal week at work. In the next few days I'll give another shot at getting ffmpeg to work on windows.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1225by john71 » 03.02.2022, 18:53

OK, the new version seems to be working (except the video recording, which is still flipped).

Are there any new functions we can try?

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1226by cartrite » 03.02.2022, 20:11

I was able to build ffmpeg into the celestia-qt version by editing qtappmain but there is still a few problems. It does get the images right side up but the windows player can't play them. Mplayer on linux can. Still scatching my head with winmain.cpp to get it to work with celestia-win.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1227by john71 » 03.02.2022, 20:24

That would be very nice!

By the way, can the anti-aliasing be improved?

In it's current state it is a little bit blocky...

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1228by cartrite » 03.02.2022, 20:51

I'm a long ways from that. I just finally got it going. The video plays on windows with vlc player but not windows media player or the movie tv player. I don't have a clue yet as to what code needs to go into winmain.cpp yet.

I'm also seeing some more problems. Although the lossless option works for all window sizes, the h.264 works with 640x480 and lower. Anything higher and the capture never happens. It can also freeze celestia if another capture is attempted. So this will take more time until I figure out what's going on.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1229by john71 » 03.02.2022, 23:11

I hope that the full HD Lagarith and Huffyuv codecs will work, because they have the best quality/size ratio (they are lossless, but compressed formats).

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1230by cartrite » 03.02.2022, 23:33

I can see why they abandoned ffmpeg on windows systems. I'm seeing a lot of problems. But I only see 2 codec options. x264 and what they call lossless (FFVH). It's been a long time but I think 1.5 and 1.6 used to have a lot more.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1231by john71 » 04.02.2022, 08:04

Well, even the flipped video is better, than being restricted to those two.

But please answer this: how can the 1.6.2.2 video capture code work in Windows?

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1232by cartrite » 04.02.2022, 09:59

A lot of code has changed since then. Code that works in 1.6 simply will not work in 1.7.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1233by john71 » 04.02.2022, 12:28

cartrite wrote:Code that works in 1.6 simply will not work in 1.7.

Ok, so the OLD video recording code is not working with the NEW Celestia graphic code.

But why? What did change so dramatically?

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1234by cartrite » 04.02.2022, 13:32

VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1235by john71 » 12.02.2022, 11:01

By the way is the 1.7 code ready? Is it a pre-release code? Should we start testing it with all our add-ons?

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 1 month

Post #1236by onetwothree » 12.02.2022, 14:22

What do you mean by readiness? Please define.

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1237by john71 » 12.02.2022, 18:08

Ready=it has all the new - mostly bug free - features which make it substantially different from a 1.6.x release.

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 9 months
Location: Suzhou, China

Post #1238by Markerz » 13.02.2022, 11:32

john71 wrote:Should we start testing it with all our add-ons?
if you want to test add-ons, one good way to test your add-ons at the moment is via mobile versions. they use the master branch code, the same code a 1.7.0 release would be built with. and in my opinion is quite stable.

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 3 months

Post #1239by john71 » 13.02.2022, 11:49

I will try that thanx, but it is nearly impossible to transfer all my add-ons to a mobile phone.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #1240by cartrite » 13.02.2022, 12:56

john71 wrote:By the way is the 1.7 code ready? Is it a pre-release code? Should we start testing it with all our add-ons?

This is the whole purpose of development. You should test all your add ons and report any problems so the problems can be fixed . If possible.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Development”