Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Theora sound problem  (Read 2963 times)

0 Members and 1 Guest are viewing this topic.

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Theora sound problem
« on: November 08, 2007, 11:41:43 AM »

Hi all,

WME seems to have a problem playing the sound in my Theora videos.

When I click the video in ProjectMan, the preview screen says "Error Loading Sound", and this is what "ProjectMan.log" says:

10:39: ov_open_callbacks failed, result=-132
10:39: Error creating sound buffer for file 'video\vid2.ogg'
       returned: E_FAIL
10:39: Error loading sound 'video\vid2.ogg'
       returned: E_FAIL

The source file was an uncompressed AVI with WAV audio, and I've tried creating the Theora with VLC and ffmpeg2theora (0.19) - same problem.

The Theoras play fine in VLC and Window Media Player - just not in WME.

Any ideas?

Thanks.
« Last Edit: November 08, 2007, 11:51:19 AM by TheDerman »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Theora sound problem
« Reply #1 on: November 08, 2007, 11:59:06 AM »

ProjectMan won't play Theora videos, it can only play the sound (Vorbis) ogg files. How about in-game, do the videos play?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Re: Theora sound problem
« Reply #2 on: November 08, 2007, 12:22:12 PM »

Ooops - sorry - I didn't think it would play the video, but I guess I assumed it would play the sound from the video in the preview window, since it said "error playing sound".

Anyway - the sound doesn't play in the game either - the video plays, but not the sound.  :(

I'm just using this to play the video:

Code: WME Script
  1. Game.PlayTheora("video\vid2.ogg");
  2.  
« Last Edit: November 08, 2007, 12:25:31 PM by TheDerman »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Theora sound problem
« Reply #3 on: November 08, 2007, 12:43:34 PM »

As long as the sound is encoded with Vorbis (is it?) it should play.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Re: Theora sound problem
« Reply #4 on: November 08, 2007, 01:57:04 PM »

Must have been something to do with VLC - I changed some things in the audio settings, converted the video again, and now the audio plays.  8)

Thanks.
Logged
 

Page created in 0.056 seconds with 22 queries.