Stream issues - FFmpeg and MEncoder crash

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Stream issues - FFmpeg and MEncoder crash

Postby comar » Mon Jan 16, 2012 6:50 pm

Everytime I try to stream some encoded video to my ps3 I'm getting the message that the archive is corrupted. And in my macbook appears that both ffmpeg and Mencoder stopped running for no reason. I'm using OSX 10.5.8 and the PMS 1.50.0.
Is there a solution for this?

Thanks.
comar
 
Posts: 3
Joined: Mon Jan 16, 2012 6:42 pm

Re: Stream issues - FFmpeg and MEncoder crash

Postby Raptor399 » Mon Jan 16, 2012 9:35 pm

PMS 1.50.0 for OSX ships with a broken FFmpeg that might cause your problems.
FFmpeg was rolled back to the 1.40.0 version in r1006.

You can try installing PMS 1.50.0, then download the latest version of FFmpeg (right mouse button on "view raw file", then Save Link As "ffmpeg").
Copy the saved file over the installed (broken) FFmpeg using a Terminal:
Code: Select all
cp ffmpeg /Applications/PS3\ Media\ Server.app/Contents/Resources/Java/osx
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Stream issues - FFmpeg and MEncoder crash

Postby comar » Tue Jan 17, 2012 2:32 am

Thanks for your help, but two things.
I copied the ffmpeg file to that folder but I can't open it on the terminal. It's shown as an text file.

And when I open the MEncoder file on the same folder I get the message that it stopped running and this log file:

/Applications/PS3\ Media\ Server.app/Contents/Resources/Java/osx/mencoder ; exit;
dyld: unknown required load command 0x80000022
Trace/BPT trap
logout
comar
 
Posts: 3
Joined: Mon Jan 16, 2012 6:42 pm

Re: Stream issues - FFmpeg and MEncoder crash

Postby comar » Tue Jan 17, 2012 3:59 am

I think I made some progress but I still get the message that the file is corrupted when I try to stream. I think it is a problem with the MEncoder.
Here is the log file:

[New I/O server worker #1-1] INFO 00:57:26.800 No IP filter specified, access granted to /10.0.1.5
[pool-3-thread-1] INFO 00:57:26.825 Checking ip:10.0.1.5 for Playstation 3
[pool-3-thread-1] INFO 00:57:26.932 Renderer Playstation 3 found on this address: 10.0.1.5
[main] INFO 00:57:27.103 The server should now appear on your renderer
[New I/O server worker #1-2] INFO 00:57:32.934 Checking shared folder: /Users/Marco/Movies
[New I/O server worker #1-4] INFO 00:57:48.260 Starting transcode/remux of Game.of.Thrones.S01E02.The.Kingsroad.HDTV.XviD-FQM.avi
[osx/mencoder] INFO 00:57:48.452 Process /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/mencoder has a return code of 1! Maybe an error occurred... check the log file
comar
 
Posts: 3
Joined: Mon Jan 16, 2012 6:42 pm

Re: Stream issues - FFmpeg and MEncoder crash

Postby Raptor399 » Tue Jan 17, 2012 8:19 am

Sounds like the file is corrupt.
After you saved the file to your Downloads folder, you should be able to execute the following commands in a Terminal:

Code: Select all
cd ~/Downloads
chmod a+x ffmpeg
./ffmpeg

You should see something like this:
Code: Select all
ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 15 2012 15:43:51 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-doc --disable-debug --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfreetype --cc=/usr/bin/gcc-4.2 --disable-vda --disable-devices --disable-ffplay --disable-ffserver --disable-ffprobe --disable-shared --enable-static --prefix=/tmp/i386/target
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 4 / 53. 42. 4
  libavformat  53. 24. 2 / 53. 24. 2
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

If this does not work, the file is corrupt.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am


Return to Mac OS X Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests