[MacPorts] #43100: ffmpeg, ffmpeg-devel: switch to using SDL2
MacPorts
noreply at macports.org
Thu Apr 17 15:34:56 PDT 2014
#43100: ffmpeg, ffmpeg-devel: switch to using SDL2
-----------------------------------+----------------------
Reporter: thomas.c.jansen@… | Owner: devans@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: ffmpeg, ffmpeg-devel |
-----------------------------------+----------------------
Comment (by devans@…):
libsdl is used to implement the sdl outdev (output device). Per the
documentation (${prefix}/share/doc/ffmpeg/ffmpeg-devices.html, Section
4.8)
{{{
This output device allows one to show a video stream in an SDL window.
To enable this output device you need libsdl installed on your system when
configuring your build.
}}}
When libsdl is installed at build time, it is what lets you play video
interactively using ffmpeg or ffplay or programmatically using the
libavdevice API. It is the only outdev that is built by default by our
ffmpeg port.
So from what we both have said above, you have successfully built ffmpeg
without this device support (no libsdl or libsdl2).
I assume that the project you are working on uses ffmpeg for decoding of
video and libsdl2 for display?
However, to be sure you are getting what you want, removing the dependency
on libsdl is not enough. Other ports that use libsdl can install it
behind your back (90+ of these). To prevent building this device whether
libsdl is installed or not, it should be explicitly disabled using the
configure option
{{{
--disable-outdev=sdl
}}}
I think you have a legitimate situation here so if I gave you a way to
disable the sdl outdev, recognizing that it means you won't be able to
display videos in a SDL window using ffmpeg or ffplay, would that meet
your needs?
--
Ticket URL: <https://trac.macports.org/ticket/43100#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list