Page 1 of 1
recording video in Celestia update: theora 1.0 stable
Posted: 08.11.2008, 15:03
by duds26
Xiph.org has released libtheora1.0
The first stable release of libtheora!
press release:
https://www.theora.org/news/ Download:
https://www.theora.org/downloads/ (Celestia currently uses a beta version of libtheora.)
Using the first stable version would improve stability and speed of recorded video's in celestia.
There is also a new naming scheme for ogg files:
ogv for video
oga for audio
ogx for all kinds of stuff
(There is now also Dirac possible in ogg, it's a wavelet-based codec that has also lossless compression.)
(It's worth to take a look at that codec too.)
https://en.wikipedia.org/wiki/Dirac_%28video_compression_format%29
Re: recording video in Celestia: update theora 1.0 stable
Posted: 08.11.2008, 15:59
by cartrite
Thanks for the info duds26.
I just built the svn 4538 Celestia-kde against the new libtheora1.0. I was still using libtheora-1.0alpha7. But I haven't did a video capture with Celestia KDE for quite some time.
All went well with the build but I noticed that the aspect ratio isn't right in MPlayer unless the clip is maximized. In Totem and Kaffeine it didn't look right no matter what. It looked good in real player 10. I did the video capture with 4:3 aspect ratio using 1024x768 resolution.
So maybe the theora code in Celestia needs to be updated too?
Actually, I just rebuilt the svn 4538 against the older libtheora-1.0alpha7 and it looks the same in all players I tried with the newer lib. So I guess this was always like this.
cartrite
Re: recording video in Celestia update: theora 1.0 stable
Posted: 08.11.2008, 19:02
by duds26
Don't forget that the players can also have an older version of libtheora. Or have a default scaling behaviour that's not aspect-ratio conserving.
And what version of KDE are you using? May by there are bugs in KDE that make Totem and Kaffeine not work right.
That could cause the problems you mention.
(In MPlayer it is at least possible to have it right, so that is something that can serve as a starting point.)
And have you tried it in Windows or Mac or multiple Linux distributions.
Also does it look right with vlc?
(Just asking with as much players as possible.)
Re: recording video in Celestia update: theora 1.0 stable
Posted: 08.11.2008, 20:10
by cartrite
Both theora versions give the same results no matter which player I use. It is impossible to tell which theora produced the clip.
KDE version is 3.4. I haven't tried the ogg clip with any other distribution of Linux, Mac or Windows.
Here is what I see.
mplayer-video1.jpg
mplayer-video2.jpg
celestia-video.jpg
cartrite
Re: recording video in Celestia update: theora 1.0 stable
Posted: 09.11.2008, 02:06
by cartrite
If I play the clip with mplayer
Code: Select all
mplayer -monitoraspect 3.75:3 test1.ogg
The aspect ratio looks right.
cartrite
Re: recording video in Celestia update: theora 1.0 stable
Posted: 09.11.2008, 09:48
by t00fri
Why not discussing the replay on
vlc,
http://www.videolan.org/the
very versatile cross-platform player that many people prefer these days?
Besides Windows and MAC OS, Videolan offers specialized vlc distributions for as much as
12 Linux flavors, including OpenSuse, of course. For each OS, the installation only takes one minute and is entirely trivial.
vlc has always been strong on replaying
ogg/theora... vlc implements the latest theora libraries, since vlc and theora people actively collaborate.
Notably, a
great mozilla-firefox plugin is part of the vlc distribution, that represents the only media device many people will ever need.
Fridger
Re: recording video in Celestia update: theora 1.0 stable
Posted: 09.11.2008, 10:09
by t00fri
Here is how my Firefox 3.0.3 plugin listing looks like, with just ONE media player (VLC).
It looks exactly the same in Linux and Windows on my various machines. Also vlc plays a LOT of internet radio and TV stations...
VLC Multimedia Plug-in
File name: libvlcplugin.so
Version 0.9.6 Grishenko, copyright 1996-2007 The VideoLAN Team
audio/mpeg MPEG audio mp2,mp3,mpga,mpega Yes
audio/x-mpeg MPEG audio mp2,mp3,mpga,mpega Yes
video/mpeg MPEG video mpg,mpeg,mpe Yes
video/x-mpeg MPEG video mpg,mpeg,mpe Yes
video/mpeg-system MPEG video mpg,mpeg,mpe,vob Yes
video/x-mpeg-system MPEG video mpg,mpeg,mpe,vob Yes
audio/x-mpegurl MPEG audio m3u Yes
video/mp4 MPEG-4 video mp4,mpg4 Yes
audio/mp4 MPEG-4 audio mp4,mpg4 Yes
audio/x-m4a MPEG-4 audio m4a Yes
application/mpeg4-iod MPEG-4 video mp4,mpg4 Yes
application/mpeg4-muxcodetable MPEG-4 video mp4,mpg4 Yes
video/x-msvideo AVI video avi Yes
video/quicktime QuickTime video mov,qt Yes
application/x-ogg Ogg stream ogg Yes
application/ogg Ogg stream ogg Yes
application/x-vlc-plugin VLC plug-in vlc Yes
video/x-ms-asf-plugin Windows Media Video asf,asx Yes
video/x-ms-asf Windows Media Video asf,asx Yes
application/x-mplayer2 Windows Media Yes
video/x-ms-wmv Windows Media wmv Yes
video/x-ms-wvx Windows Media Video wvx Yes
audio/x-ms-wma Windows Media Audio wma Yes
application/x-google-vlc-plugin Google VLC plug-in Yes
audio/wav WAV audio wav Yes
audio/x-wav WAV audio wav Yes
audio/3gpp 3GPP audio 3gp,3gpp Yes
video/3gpp 3GPP video 3gp,3gpp Yes
audio/3gpp2 3GPP2 audio 3g2,3gpp2 Yes
video/3gpp2 3GPP2 video 3g2,3gpp2 Yes
video/divx DivX video divx Yes
video/flv FLV video flv Yes
video/x-flv FLV video flv Yes
video/x-matroska Matroska video mkv Yes
audio/x-matroska Matroska audio mka Yes
application/xspf+xml Playlist xspf xspf Yes
Everything just plays fine.
Fridger
Re: recording video in Celestia update: theora 1.0 stable
Posted: 09.11.2008, 11:17
by duds26
It's probably the players working on an older version of libtheora.
MPlayer plays it well so it's not a problem with the video itself.
(In a couple of weeks, months, update your openSUSE to the newest version (I mean the 11.1 which is not out yet) and look if those players still have that problem. Because then the devs have got the time to implement the stable version of libtheora. (I hope they will do that this fast, but it probably will take longer. )
What version of OpenSUSE are you using?
It's not the most recent I suspect.
EDIT: saw on another topic that it's openSUSE 10.2
EDIT: saw that it's also mentioned in signature
Re: recording video in Celestia: update theora 1.0 stable
Posted: 09.11.2008, 11:19
by duds26
cartrite wrote:Thanks for the info duds26.
I just built the svn 4538 Celestia-kde against the new libtheora1.0. I was still using libtheora-1.0alpha7. But I haven't did a video capture with Celestia KDE for quite some time.
All went well with the build but I noticed that the aspect ratio isn't right in MPlayer unless the clip is maximized. In Totem and Kaffeine it didn't look right no matter what. It looked good in real player 10. I did the video capture with 4:3 aspect ratio using 1024x768 resolution.
So maybe the theora code in Celestia needs to be updated too?
Actually, I just rebuilt the svn 4538 against the older libtheora-1.0alpha7 and it looks the same in all players I tried with the newer lib. So I guess this was always like this.
cartrite
It is your distribution that is a little outdated.
Luckely there is a simple solution, updating or waiting for the next version.
(both cases don't require much work)
The Theora code in Celestia will need updating anyway because there is a new naming scheme.
e.g. video's now have to end on .ogv with MIME-type: video/ogg
Re: recording video in Celestia update: theora 1.0 stable
Posted: 09.11.2008, 13:02
by cartrite
I rebuilt mplayer with libtheora1.0 and now the captured videos play fine. The older mplayer was built against the older libtheora-1.0alpha7. I also tried vic and that also plays fine.
cartrite