Wrecked Games
September 10, 2010, 09:36:07 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We're just that awesome.
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: bad audio playback while playing movie  (Read 2137 times)
sal
Newbie
*
Posts: 1



View Profile
« on: August 31, 2007, 06:21:34 PM »

I'm planning to use theora and managed to compile the latest version of it from ogre3d addons. After some tweeks I managed to have CEGUI_TheoraDemo running (using CEGUI 0.5 and Ogre3D 1.4.3)... video plays ok but the audio plays quite strange: some "pops", distorted noises all along the playback. I've played the ogg file through VLC and audio goes fine: no noise on it!

I'm using ffmpeg2theora with default options.... and tried out with small (3mb) mpeg1 files. I've tried FMod and OpenAl but none played audio stream nicely...

Is there any advice to get audio OK on ogg video files?
  - Video source type restriction - is there a type that works better?
  - Is there other conversion utility?
  - Is there a size that is know to play ok?

Thanks in advance...
Logged

__________________________________________
"This... is... SPARTAAAA!"
SAL
pjcast
Administrator
Veteran
*****
Posts: 2547



View Profile WWW
« Reply #1 on: September 07, 2007, 08:08:12 AM »

I can't say for sure what the issue is. Maybe you should try release mode, perhaps it will run more smoothly. Besides that, if the bit rate of audio/video is too high, the libtheora decoder will choke... I think VLC uses a more optimized port of the decoder so can handle it much better.
Logged
pjcast
Administrator
Veteran
*****
Posts: 2547



View Profile WWW
« Reply #2 on: September 07, 2007, 08:12:04 AM »

I should say that libTheora has nothing to do with the audio, but it can stall the decoding since I only used one thread for both streams. Perhaps you should try the latest Theora lib, I know it has MMX enabled by default, probably some other useful things. I think that will require newer libOgg and libVorbis... Hopefully that doesn't mean any code changes for theora video plugin.
Logged
juliusctw
Newbie
*
Posts: 4


View Profile
« Reply #3 on: October 08, 2007, 08:17:02 AM »

i have exactly the same problem, did you ever figure out what the problem was?

what is the release mode?
« Last Edit: October 08, 2007, 08:22:33 AM by juliusctw » Logged
pjcast
Administrator
Veteran
*****
Posts: 2547



View Profile WWW
« Reply #4 on: October 11, 2007, 06:17:20 PM »

I've heard no news on this post. Perhaps simply a debug issue?
Logged
Ice
Regular
*
Posts: 21


View Profile
« Reply #5 on: March 01, 2008, 07:29:15 AM »

Plugin works just fine for me
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!