pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FFmpeg Builds for Mac OS X
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Mon Jan 30, 2012 6:07 pm    Post subject: Reply with quote

cweb wrote:
I'm using Wmcbrine's branch and ffmpeg 0.9.1. Streaming works fine. Let me know if any other info would be helpful.


I guess it is just a difference in workloads. I can get a pull with transcoding to work (with FFmpeg warnings) but remuxing to MP4 fails completely. It will remux to MP4 but will fail to pass the output file as compatible when requested by the TiVo after push is initiated. It looks like there is also some meta data changes that the current code is unable to handle properly.

pyTivo can probably squeek by with some minor adjustments to the vInfo function but in the long term will require some pretty big adjustments to make it future proof for further API changes (like being able to dynamically adjust FFmpeg arguments based on API version checks).

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Wed Feb 01, 2012 11:33 pm    Post subject: Reply with quote

I have made a patch that gives pyTivo compatibility with FFmpeg 0.9+ versions. See my post here for info. If you weren't using the remux functions you probably did not realize there were issues going on.

You can pick up a copy of my pyTivo fork in my sig, wait and see if your dev of choice applies it to their fork (wmcbrine has so already) or apply the patch yourself.

As soon as I vet my latest 0.10 build I will post it for people to use.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Tue Feb 07, 2012 5:03 pm    Post subject: FFmpeg 0.10 Reply with quote

--Update - Newer version uploaded. See first post for link.

Here is a FFmpeg 0.10 binary for those of you who want to try it. It does require that you update your pyTivo installation though to be fully compatible with the changes.

This version also adds VDA support which provides GPU accelerated decoding for h.264 codec on Mac's with appropriate graphics cards. Expect some speedup and reduced CPU usage but as this is only for decoding don't expect a massive change. ***Currently requires the use of my pyTivo fork (link in sig) as no one else has implemented my multi-threaded decoding patch.

As the newer FFmpeg requires updating pyTivo I will primarily feature the 0.8.x series on the OP for sometime with links to newer binaries in threads like this one. Hopefully this will save some complaints from people complaining it broke their pyTivo install.

=======
FFmpeg 0.10 - 64 bit only
Previous patches (except version header) are no longer required.
Sources used: http://ffmpeg.org/releases/ffmpeg-0.10.tar.gz

Code:

ffmpeg version 0.10-pytivo Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  1 2012 18:49:35 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libx264 --mandir=/opt/local/share/man --cc=/opt/local/bin/gcc-apple-4.2 --arch=x86_64 --enable-yasm --disable-shared --enable-static --enable-pthreads --enable-runtime-cpudetect --enable-hardcoded-tables --enable-vda
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X


Last edited by Iluvatar on Sat Mar 31, 2012 11:22 am; edited 2 times in total
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Sat Mar 31, 2012 11:09 am    Post subject: FFmpeg 0.10.2 Reply with quote

--Update - Newer version uploaded. See first post for link.

Here is the FFmpeg 0.10.2 update. Same caveats apply. Please update your pyTivo installation before using, compatibility fixes have been applied to all the current pyTivo forks.

Look at my fork (currently) if you have interest in using the multi-threaded decoding features of the newer FFmpeg binaries.

Usage instructions are here.

=======
FFmpeg 0.10.2 - x64 only
Previous patches (except version header) are no longer required.
Sources used: http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.gz

Code:

ffmpeg version 0.10.2-pytivo Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 28 2012 17:01:37 with clang 3.0 (tags/Apple/clang-211.12)
  configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libx264 --mandir=/opt/local/share/man --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --disable-shared --enable-static --enable-pthreads --enable-runtime-cpudetect --enable-hardcoded-tables --disable-outdevs --enable-vda
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X


Last edited by Iluvatar on Tue Jan 15, 2013 4:45 am; edited 2 times in total
Back to top
View user's profile Send private message
cweb



Joined: 19 Sep 2011
Posts: 17

PostPosted: Sun Apr 15, 2012 6:54 pm    Post subject: Reply with quote

v0.10.2 is not working in my pytivo setup (I get a copyright transfer prohibited error). Reverting back to your 0.10 version, everything works just fine.

Anything different in how you compiled it?

Thanks.
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Sun Apr 15, 2012 9:09 pm    Post subject: Reply with quote

Well I used clang instead of gcc and I dropped libSDL support which was used for the indev and outdev support.

I haven't seen any of those issues since compiling it. Can I get a pyTivo debug output? It may be that pyTivo is not finding the new FFmpeg binary or for some reason FFmpeg just didnt respond in time. It's not likely FFmpeg would drop codec compatibility between bug fix point releases.

If I can see the debug log it will make it easier to see if it's a build error I made.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
cweb



Joined: 19 Sep 2011
Posts: 17

PostPosted: Mon Apr 16, 2012 4:07 am    Post subject: Reply with quote

I'll be glad to get it for you. I forget where to find it?

** In the interim, I compiled a version of 0.10.2 myself and it works with Pytivo (also stream baby). I believe I used all the same options as you except I used gcc and I left libSDL support in. I wasn't sure what indev and outdev support actually was (again, I am far from an expert on these things) so I didn't drop it.

We might have had some type of environment issues with an earlier version, if I remember correctly.


Last edited by cweb on Tue Apr 17, 2012 12:26 am; edited 1 time in total
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Mon Apr 16, 2012 5:35 pm    Post subject: Reply with quote

cweb wrote:
I'll be glad to get it for you. I forget where to find it?


If you are running pyTivo in a Terminal just copy and paste that output after you find the TiVo has listed all the videos as copy protected.

If you are running pyTivo on startup you could check the Console app (/Applications/Utilities/Console.app) and to make it more legible there is a filter box in the top right corner where you can enter 'pyTivo' and it will filter out everything else.

If you are running pyTivoX.....then I don't know. You may find a log somewhere in your your user profile library under Application Support possibly. It wouldn't be compatible with that FFmpeg version anyways.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Wed Jun 13, 2012 12:43 am    Post subject: FFmpeg 0.11.1 Reply with quote

Here is the FFmpeg 0.11.1 update. Please update your pyTivo installation before using, compatibility fixes have been applied to all the current pyTivo forks.

Usage instructions are here.

=======
FFmpeg 0.11.1 - x64 only
Previous patches (except version header) are no longer used or required.
Sources used: http://ffmpeg.org/releases/ffmpeg-0.11.1.tar.gz

Code:

ffmpeg version 0.11.1-pytivo Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  8 2012 19:24:53 with clang 3.1 (tags/Apple/clang-318.0.58)
  configuration: --prefix=/opt/local --enable-gpl --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libx264 --mandir=/opt/local/share/man --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --disable-outdevs --disable-shared --enable-static --enable-pthreads --enable-runtime-cpudetect --enable-hardcoded-tables --enable-vda
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100



ffmpeg_mac-0.11.1-x64.zip
 Description:

Download
 Filename:  ffmpeg_mac-0.11.1-x64.zip
 Filesize:  5.18 MB
 Downloaded:  129 Time(s)


_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Tue Jan 15, 2013 4:12 am    Post subject: FFmpeg 1.1 Reply with quote

Here is the FFmpeg 1.1 update.

Please update your pyTivo installation before using. Otherwise you will encounter errors.

Usage instructions are here.

=======
FFmpeg 1.1 - x64 only
Previous patches (except version header) are no longer used or required.
Sources used: http://ffmpeg.org/releases/ffmpeg-1.1.tar.gz

Code:

ffmpeg version 1.1-pytivo Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 15:00:31 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2+universal)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --mandir=/opt/local/share/man --enable-pthreads --cc=/opt/local/bin/gcc-mp-4.7 --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --disable-shared --enable-static --enable-swscale --enable-avfilter --enable-runtime-cpudetect --enable-hardcoded-tables --enable-postproc --enable-libx264
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100



ffmpeg_mac-1.1-x64.zip
 Description:
Version: 1.1 - 64 bit only
Uploaded: January 14, 2013

Download
 Filename:  ffmpeg_mac-1.1-x64.zip
 Filesize:  6 MB
 Downloaded:  1579 Time(s)


_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
cweb



Joined: 19 Sep 2011
Posts: 17

PostPosted: Fri Jan 25, 2013 8:11 pm    Post subject: Reply with quote

On your version 1.1, I notice that you didn't include the --enable-vda option. Any reason for that?
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 337

PostPosted: Fri Jan 25, 2013 11:07 pm    Post subject: Reply with quote

cweb wrote:
On your version 1.1, I notice that you didn't include the --enable-vda option. Any reason for that?


it's enabled by default internally now for OS X, so it is not a config option that needs to be explicitly used.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
usmcguy



Joined: 21 Aug 2013
Posts: 5
Location: Charleston, SC

PostPosted: Wed Aug 21, 2013 3:32 pm    Post subject: Reply with quote

A month ago I compiled my own ffmpeg. I compiled it on my 2011 Mac Mini running OS X 10.8.4.

Below are the specs and file

Code:

ffmpeg version N-54768-g8d9c1b3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 16 2013 10:52:54 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc
--enable-libaacplus --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxvid --prefix=/usr/local
  libavutil      52. 39.100 / 52. 39.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100



ffmpeg.zip
 Description:

Download
 Filename:  ffmpeg.zip
 Filesize:  4.64 MB
 Downloaded:  46 Time(s)

Back to top
View user's profile Send private message
usmcguy



Joined: 21 Aug 2013
Posts: 5
Location: Charleston, SC

PostPosted: Wed Aug 21, 2013 3:39 pm    Post subject: Reply with quote

I followed the compile instructions posted on the ffmpeg.org site http://trac.ffmpeg.org/wiki/MacOSXCompilationGuide to make the above ffmpeg binary. For someone that knows their way around the command line, it's not very difficult
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1409s ][ Queries: 19 (0.0219s) ][ GZIP on - Debug on ]