[FFmpeg-user] Failing to build ffmpeg with ffplay support
Jim Worrall
coniophora at gmail.com
Thu Sep 17 19:36:01 CEST 2015
I think my earlier post didn’t go out, but sorry for double posting if it did.
On Mac OS X, I suggest you install all the ffmpeg dependencies, including sdl, using homebrew. It is very easy. This is a huge convenience as some of the packages are very difficult to compile. Just install homebrew and let it do it’s magic. For example, the initial command I used after installing homebrew is:
brew install libogg libvorbis libgsm libvpx fdk-aac lame libass orc xvid yasm pkg-config x264 x265 sdl
Then just build ffmpeg the usual way with the options you want.
And you can update all the packages at once with simply 'brew upgrade'.
> On 2015 Sep 17, at 8:53 AM, 桃源老師 <xanadu6291 at dream.jp> wrote:
>
>
>> 2015/09/12 0:33 A.M. Robert Krüger <krueger <at> lesspain.de> wrote:
>>
>> On Fri, Sep 11, 2015 at 4:17 PM, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
>>
>>> Robert Krüger <krueger <at> lesspain.de> writes:
>>>
>>>> It may be that ffplay for OSX is currently not
>>>> available.
>>>
>>> I think this is not correct:
>>> https://evermeet.cx/ffmpeg/
>>> (It also failed for me but I didn't try
>>> very hard.)
>>>
>>>
>> Yes, I found that but did they specify which OSX version they built on? I
>> didn't see that on the page.
>
> It might be out-dated post...
>
> I can compile SDL 1.2.15 on Mac OS X 10.10.5 and this procedure might be valid on after Mac OS X 10.9...
>
> You need to patch SDL 1.2.15 to build on Mac OS X 10.9 and after.
> There are two patch. But if you build SDL without X11 support, you need former one only:
>
> no-CGDirectPaletteRef.patch:
> http://ftp.cc.uoc.gr/mirrors/macports/release/ports/devel/libsdl/files/no-CGDirectPaletteRef.patch
>
> sdl_x11sym.patch:
> https://bugs.archlinux.org/task/36179?getfile=10749
>
> $ cd SDL-1.2.15/
> $ patch -u -p0 < no-CGDirectPaletteRef.patch
> $ patch -u -p0 < sdl_x11sym.patch
>
> I have bookmarked the blog which explains the reason why we need those patch, but now that page can't accessible. So the reason have lost from my poor brain... ;-(
>
> I have ffplay build instruction blog in Japanese:
>
> for ffmpeg ffprobe: http://xanadu62.blogspot.com/2013/10/ffmpeg.html
>
> for ffplay: http://xanadu62.blogspot.jp/2014/11/ffplay.html
>
> Hope google translator will help you...
>
>
>
> Best Regards,
>
>
> // Miya aka. TougenRoushi
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list