theora performance

*nix specific usage questions
tsr
Blank Cone
Blank Cone
Posts: 25
Joined: 24 Nov 2006 03:47

theora performance

Postby tsr » 07 Aug 2007 04:54

Hi guys. :)

Its been a couple of years that I have been using VLC to fulfill my streaming needs, and I have not been able to get over the fact that my server does not have enough CPU power to stream theora video on the fly. I know that theora has been in an experimental (i.e. "lets develop it further") stage, and I assume that the ffmpeg team is responsible for the development of this codec, rather than the VLC team. But I have been wondering... will I ever be able to stream theora video on my weak AMD XP 3000+ CPU ? Any insights, anyone ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: theora performance

Postby Jean-Baptiste Kempf » 07 Aug 2007 08:38

Theora is not developped by ffmpeg but by theora guys (Ogg/Xiph.org). You should have enough power, but VLC may be a bit broken with theora transcoding.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tsr
Blank Cone
Blank Cone
Posts: 25
Joined: 24 Nov 2006 03:47

Re: theora performance

Postby tsr » 08 Aug 2007 12:04

oh, thanks for the input.
i now remember that i got the info about theora being in a "development" state from xiph.org, but i confused it with ffmpeg. either way, i have not yet heard from either source about an optimized theora encoder.
so is it really true that my servers CPU should be able to handle on-the-fly theora encoding ? if so, do you happen to know any scriptable commandline tools that allow streaming/encoding theora ? a complicated mplayer decoding/other tool encoding/yet something else for streaming solution would be quite fine by me.

Lucas Malor
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Jun 2007 19:42
Contact:

Re: theora performance

Postby Lucas Malor » 01 Jul 2011 19:00

Well, now Theora is no more at experimental stage, and I must say VLC is very slow to play them too. ffmpeg's fault?

PS: to encode to theora:

Code: Select all

ffmpeg -i INPUT -f ogg -vcodec libtheora -acodec libvorbis -b 866000 -ab 80000 OUTPUT.ogv
For better results, raise -b parameter.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: theora performance

Postby Rémi Denis-Courmont » 01 Jul 2011 22:18

VLC uses the official libtheora to encode and decode Theora. It might be that FFmpeg is faster. You can select the encoder or decoder in VLC explicitly if you want.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lucas Malor
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Jun 2007 19:42
Contact:

Re: theora performance

Postby Lucas Malor » 05 Jul 2011 16:20

I changed Stream output -> Muxers to ffmpeg but it is still slow. Was I wrong?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: theora performance

Postby Rémi Denis-Courmont » 05 Jul 2011 17:10

It's about ENCODERS, not MUXERS.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lucas Malor
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Jun 2007 19:42
Contact:

Re: theora performance

Postby Lucas Malor » 08 Jul 2011 17:28

Ok, I changed it in the Transcode prefs and it seems a bit faster indeed. Anyway for what I know this means ffmpeg is applied to all codecs, not only to theora. How can I do this?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests