Author Topic: MVE playback  (Read 6346 times)

0 Members and 1 Guest are viewing this topic.

Offline CaptJosh

  • 210
For some reason, FS2 Open is not playing the MVE files in linux. I just did a CVS download and build today and it doesn't seem to matter where I put the MVE files, I don't get playback. What am I missing?
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline BlackDove

  • Star Killer
  • 211
  • Section 3 of the GTVI
    • http://www.shatteredstar.org
Probably the fact that SCP reads .avi's?

 

Offline Muriac

  • 25
For some reason, FS2 Open is not playing the MVE files in linux. I just did a CVS download and build today and it doesn't seem to matter where I put the MVE files, I don't get playback. What am I missing?

Oh man I thought it was just me! I have the same problem on OS X. I'll go file a bug report right now.

 

Offline CaptJosh

  • 210
Probably the fact that SCP reads .avi's?

You had better doublecheck with taylor on that. The Linux version is supposed to read MVEs.

NEXT!
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 
Probably the fact that SCP reads .avi's?

You had better doublecheck with taylor on that. The Linux version is supposed to read MVEs.

NEXT!

AFAIK: NO!
He PLANNED it, but it ISN'T!
And it also still can't play AVIs or other Videos.

So just be patient... Or become a programmer and help out ;)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Until I get the Windows support for MVEs worked out it's not hitting CVS.  Until it's in CVS it won't be in CVS builds.  For those that want it I do have a patch which will add MVE support to CVS code, but you will have to do the builds yourself.  The MVE code only works 100% under Linux and OS X, the audio is still fubar under Windows.

AVI support is still in the works, it's mainly a license issue at this point (have to make totally sure what gets used is LGPL and not GPL).  MVE support is still an issue of code for now, but it may still get refused for CVS even when it's ready since it's also a lisense issue, and one that's not easily dealt with.  MVE support may never be an official SCP thing and could only ever show up in special builds.

 

Offline CaptJosh

  • 210
Well, I would be interested in the link to that patch. If you are not allowed to post it here, please PM me with it.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 
What options do we have?
I think totally free is just matroska?
MPEG4 is just free for private or personal use isn't it?

2 days ago I just tried the new h264 and converted some Freespace videos - -'

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
The problem with ffmpeg is that we can only use the LGPL'd parts of it.  That's most of the good stuff of course, the libs just have to be cleaned out of any GPL peices before we can use it.  This isn't difficult, I just haven't had the time to get it all properly compiled for each platform and the code completed.

 

Offline Steel01

  • 25
What is wrong with the GPL?
It is also for free and open-source projects.
Snips from Hackers Defend Liberty (Definitions for hacker):
But I like rescuing good words from sad bad fates, and so I cling to Eric Raymond's definition:
    "1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary...
    "7. One who enjoys the intellectual challenge of creatively overcoming or circumventing limitations.

I also like tinkerer, as defined by Freedom to Tinker:
    "Your freedom to understand, discuss, repair, and modify the technological devices you own."

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
The GPL is great, I don't have a problem with it.  The FS2 source code isn't GPL compatible though so we can't use GPL'd code with it.  Right now we are using code that is LGPL or some form of BSD based license, but we can't use GPL.

 

Offline Steel01

  • 25
Now I'm curious. What part of the FS2 code is not GPL compatible?
Snips from Hackers Defend Liberty (Definitions for hacker):
But I like rescuing good words from sad bad fates, and so I cling to Eric Raymond's definition:
    "1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary...
    "7. One who enjoys the intellectual challenge of creatively overcoming or circumventing limitations.

I also like tinkerer, as defined by Freedom to Tinker:
    "Your freedom to understand, discuss, repair, and modify the technological devices you own."

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Pretty much none of it.  None of the original code at least.  Some of new things (the FS2NetD stuff) is under the Artistic license which is compatible with both the GPL and non-GPL.  The FS2 code is owned by Volition though and they retain the rights to it.  Rights to the code (including distribution) are restricted and that is not compatible with the GPL.  FS2 code is open source, but it's not free for the taking.  We can't mix GPL and non-GPL software since the end result would have to fall under the terms of the GPL and that would violate the terms of the FS2 code release.

But I'm not a lawyer so my understanding of license compatiblity is limited at best.  I've been around long enough to have a basic understanding though.

 

Offline Lindley

  • 23
Silly legal mumbo-jumbo. Needlessly restricting "compatibility" even further than it technically needs to be restricted.....

 

Offline CaptJosh

  • 210
Hate to do this too y'all, but something is now broken with the mve source code and trying to compile it in with current CVS.

I get this output at the end of the compile process:
Code: [Select]
In file included from cutscene/mveplayer.cpp:33:
sound/ds.h:177:27: AL/al.h: No such file or directory
sound/ds.h:178:28: AL/alc.h: No such file or directory
In file included from cutscene/mveplayer.cpp:33:
sound/ds.h:226: error: 'ALuint' is used as a type, but is not defined as a
   type.
cutscene/mveplayer.cpp:65: error: 'ALenum' is used as a type, but is not
   defined as a type.
cutscene/mveplayer.cpp:70: error: syntax error before `[' token
cutscene/mveplayer.cpp:71: error: 'ALuint' is used as a type, but is not
   defined as a type.
cutscene/mveplayer.cpp:72: error: syntax error before `[' token
cutscene/mveplayer.cpp: In function `void mve_audio_createbuf(unsigned char,
   ubyte*)':
cutscene/mveplayer.cpp:248: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:248: error: `AL_INVALID' undeclared (first use this
   function)
cutscene/mveplayer.cpp:248: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
cutscene/mveplayer.cpp:267: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:267: error: `AL_FORMAT_STEREO16' undeclared (first use
   this function)
cutscene/mveplayer.cpp:269: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:269: error: `AL_FORMAT_MONO16' undeclared (first use
   this function)
cutscene/mveplayer.cpp:273: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:273: error: `AL_FORMAT_STEREO8' undeclared (first use
   this function)
cutscene/mveplayer.cpp:275: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:275: error: `AL_FORMAT_MONO8' undeclared (first use this
   function)
cutscene/mveplayer.cpp:280: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:286: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:286: error: `alGenSources' undeclared (first use this
   function)
cutscene/mveplayer.cpp:290: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:290: error: `AL_GAIN' undeclared (first use this
   function)
cutscene/mveplayer.cpp:290: error: `alSourcef' undeclared (first use this
   function)
cutscene/mveplayer.cpp:291: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:291: error: `AL_POSITION' undeclared (first use this
   function)
cutscene/mveplayer.cpp:291: error: `alSource3f' undeclared (first use this
   function)
cutscene/mveplayer.cpp:292: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:292: error: `AL_VELOCITY' undeclared (first use this
   function)
cutscene/mveplayer.cpp:293: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:293: error: `AL_DIRECTION' undeclared (first use this
   function)
cutscene/mveplayer.cpp:294: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:294: error: `AL_ROLLOFF_FACTOR' undeclared (first use
   this function)
cutscene/mveplayer.cpp:295: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:295: error: `AL_SOURCE_RELATIVE' undeclared (first use
   this function)
cutscene/mveplayer.cpp:295: error: `AL_TRUE' undeclared (first use this
   function)
cutscene/mveplayer.cpp:295: error: `alSourcei' undeclared (first use this
   function)
cutscene/mveplayer.cpp:297: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:297: error: `ALuint' undeclared (first use this
   function)
cutscene/mveplayer.cpp: In function `void mve_audio_play()':
cutscene/mveplayer.cpp:309: error: `ALint' undeclared (first use this function)
cutscene/mveplayer.cpp:309: error: syntax error before `,' token
cutscene/mveplayer.cpp:311: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:311: error: `AL_SOURCE_STATE' undeclared (first use this
   function)
cutscene/mveplayer.cpp:311: error: `status' undeclared (first use this
   function)
cutscene/mveplayer.cpp:311: error: `alGetSourcei' undeclared (first use this
   function)
cutscene/mveplayer.cpp:313: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:313: error: `AL_BUFFERS_QUEUED' undeclared (first use
   this function)
cutscene/mveplayer.cpp:313: error: `bqueued' undeclared (first use this
   function)
cutscene/mveplayer.cpp:317: error: `AL_PLAYING' undeclared (first use this
   function)
cutscene/mveplayer.cpp:318: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:318: error: `alSourcePlay' undeclared (first use this
   function)
cutscene/mveplayer.cpp: In function `void mve_audio_stop()':
cutscene/mveplayer.cpp:329: error: `ALint' undeclared (first use this function)
cutscene/mveplayer.cpp:329: error: syntax error before `=' token
cutscene/mveplayer.cpp:333: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:333: error: `alSourceStop' undeclared (first use this
   function)
cutscene/mveplayer.cpp:334: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:334: error: `AL_BUFFERS_PROCESSED' undeclared (first use
   this function)
cutscene/mveplayer.cpp:334: error: `p' undeclared (first use this function)
cutscene/mveplayer.cpp:334: error: `alGetSourcei' undeclared (first use this
   function)
cutscene/mveplayer.cpp:335: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:335: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:335: error: `alSourceUnqueueBuffers' undeclared (first
   use this function)
cutscene/mveplayer.cpp:336: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:336: error: `alDeleteBuffers' undeclared (first use this
   function)
cutscene/mveplayer.cpp:337: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:337: error: `alDeleteSources' undeclared (first use this
   function)
cutscene/mveplayer.cpp: In function `int mve_audio_data(unsigned char, ubyte*)
   ':
cutscene/mveplayer.cpp:356: error: `ALint' undeclared (first use this function)
cutscene/mveplayer.cpp:356: error: syntax error before `,' token
cutscene/mveplayer.cpp:357: error: `ALuint' undeclared (first use this
   function)
cutscene/mveplayer.cpp:359: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:359: error: `bprocessed' undeclared (first use this
   function)
cutscene/mveplayer.cpp:359: error: `alGetSourcei' undeclared (first use this
   function)
cutscene/mveplayer.cpp:362: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:362: error: `bid' undeclared (first use this function)
cutscene/mveplayer.cpp:362: error: `alSourceUnqueueBuffers' undeclared (first
   use this function)
cutscene/mveplayer.cpp:368: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:373: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:376: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:376: error: `alSourcePlay' undeclared (first use this
   function)
cutscene/mveplayer.cpp:403: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:404: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:404: error: `alGenBuffers' undeclared (first use this
   function)
cutscene/mveplayer.cpp:407: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:407: error: 'struct MVE_AUDIO_T' has no member named '
   format'
cutscene/mveplayer.cpp:407: error: `alBufferData' undeclared (first use this
   function)
cutscene/mveplayer.cpp:409: error: 'struct MVE_AUDIO_T' has no member named '
   source_id'
cutscene/mveplayer.cpp:409: error: 'struct MVE_AUDIO_T' has no member named '
   audio_buffer'
cutscene/mveplayer.cpp:409: error: `alSourceQueueBuffers' undeclared (first use
   this function)

CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Hate to do this too y'all, but something is now broken with the mve source code and trying to compile it in with current CVS.

I get this output at the end of the compile process:
Looks like you're just missing openal-devel.

 

Offline CaptJosh

  • 210
I wasn't missing it when I compiled last time.

*checks on his installed software packages*
...
*swears loudly at his stupid b***h of a computer*
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
I just upgraded to FC5 when it came out a couple of days ago and did the exact same thing.  I knew for sure it was a compiler problem, then I realized that I forgot to "sudo yum install openal-devel". ;)

 

Offline CaptJosh

  • 210
In my case, it was a SuSE 9.3 reinstall after adding a promise SATA card and an 80 gig SATA drive, while switching my linux boot drive and the drive mounted as /home to the one PATA channel on the card. I couldn't fix the initrd because I don't know enough yet. I was sure I had reinstalled everything, but obviously I missed that package.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

  
OK so now MVE playback does work in linux (svn from today) but the sound shutters like hell, is there anything I can do about it?
I have to admit that I never played Freespace 2 til the end and I'd like to play through it in Linux but without the "reward" of seeing the cutscenes it's not that much fun.

Any hits would be appreciated.