MEncoder Issues (Updated 20 Apr 2011)

Discuss issues related to PS3 Media Server development (only for programmers)

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby Raptor399 » Tue Nov 08, 2011 7:26 pm

Thanks for keeping the MPlayer devs informed!
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby SubJunk » Tue Nov 08, 2011 10:57 pm

BTW Raptor, do you want my patch for your OS X build?
SubJunk
 
Posts: 1210
Joined: Fri Mar 27, 2009 5:25 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby Raptor399 » Tue Nov 08, 2011 11:33 pm

SubJunk wrote:BTW Raptor, do you want my patch for your OS X build?

Sure, I'd love to keep the OS X build as close to the Windows build as possible. Where can I find the patch?

Although you mention a SVN revision number for FFmpeg and we compile it from Git based on a date. I'm not entirely sure what to do with that on the OS X side. :-)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby SubJunk » Wed Nov 09, 2011 12:46 am

Attached is the patch I use. I don't build FFmpeg so I don't know about that. I do know that a recent update causes a bug with PMS, at least in Windows, so I'm not updating it until that's fixed.
Attachments
r34332.zip
(6.8 KiB) Downloaded 63 times
SubJunk
 
Posts: 1210
Joined: Fri Mar 27, 2009 5:25 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby Raptor399 » Wed Nov 09, 2011 11:42 pm

Bah, I can't get mencoder to build any more for some reason - with or without patch. :-(

Code: Select all
Undefined symbols for architecture i386:
  "_VDADecoderDecode", referenced from:
      _ff_vda_decoder_decode in libavcodec.a(vda.o)
  "_VDADecoderCreate", referenced from:
      _ff_vda_create_decoder in libavcodec.a(vda.o)
  "_VDADecoderDestroy", referenced from:
      _ff_vda_destroy_decoder in libavcodec.a(vda.o)
  "_kVDADecoderConfiguration_Width", referenced from:
      _ff_vda_create_decoder in libavcodec.a(vda.o)
  "_kVDADecoderConfiguration_Height", referenced from:
      _ff_vda_create_decoder in libavcodec.a(vda.o)
  "_kVDADecoderConfiguration_SourceFormat", referenced from:
      _ff_vda_create_decoder in libavcodec.a(vda.o)
  "_kVDADecoderConfiguration_avcCData", referenced from:
      _ff_vda_create_decoder in libavcodec.a(vda.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
Fatal error occurred, aborting build.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby SubJunk » Thu Nov 10, 2011 4:35 am

Sometimes FFmpeg revisions cause MPlayer to break so it can take a few days for MPlayer to catch up. I don't know if that's what happened here but it's my guess
SubJunk
 
Posts: 1210
Joined: Fri Mar 27, 2009 5:25 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby Raptor399 » Thu Nov 10, 2011 9:16 am

SubJunk wrote:Sometimes FFmpeg revisions cause MPlayer to break so it can take a few days for MPlayer to catch up. I don't know if that's what happened here but it's my guess

That is true, but that wasn't the case here. I had to add --disable-vda to the FFmpeg configure line to overcome the problem.

Most problems building arise because I build for the "i386" architecture. Builds tend to go more smoothly if I build for "x86_64".

I'm wondering... Are there still 32 bit i386 Macs out there running OS X 10.6+? Isn't 10.6+ completely 64 bit anyway?
In other words: is compiling for "i386" really worth the hassle? It might even be detrimental for the performance on current Macs, so I would rather compile for "x86_64" if that is better.

Oh, and committed the new binaries (i386) in r984. :-)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby SubJunk » Thu Nov 10, 2011 10:21 am

Ah cool, nice one
SubJunk
 
Posts: 1210
Joined: Fri Mar 27, 2009 5:25 am

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby macfixme » Sun Nov 13, 2011 6:36 pm

Raptor399 wrote:
SubJunk wrote:Sometimes FFmpeg revisions cause MPlayer to break so it can take a few days for MPlayer to catch up. I don't know if that's what happened here but it's my guess

That is true, but that wasn't the case here. I had to add --disable-vda to the FFmpeg configure line to overcome the problem.

Most problems building arise because I build for the "i386" architecture. Builds tend to go more smoothly if I build for "x86_64".

I'm wondering... Are there still 32 bit i386 Macs out there running OS X 10.6+?

Sure enough. Quite a lot, anything that didn't qualify for 10.7 Lion is still running 32 bit kernels anyway.
Isn't 10.6+ completely 64 bit anyway?

10.7+ is 64bit only.
In other words: is compiling for "i386" really worth the hassle? It might even be detrimental for the performance on current Macs, so I would rather compile for "x86_64" if that is better.

Why not dual architecture, i.e. i386 + x86_64?
User avatar
macfixme
 
Posts: 6
Joined: Sun Nov 13, 2011 4:49 pm

Re: MEncoder Issues (Updated 08 Nov 2011)

Postby Raptor399 » Mon Nov 14, 2011 12:07 am

macfixme wrote:
In other words: is compiling for "i386" really worth the hassle? It might even be detrimental for the performance on current Macs, so I would rather compile for "x86_64" if that is better.

Why not dual architecture, i.e. i386 + x86_64?

You're welcome to change the build-pms-binaries.sh for that. There's already enough compilation pain for one architecture in there, let alone for unified builds. I'm not going to touch that with a 10 foot pole. But you are welcome to give it a shot and post the result.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

PreviousNext

Return to Developers

Who is online

Users browsing this forum: No registered users and 0 guests