Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

How to install ffplay from ffmpeg package?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Dr Croubie
Apprentice
Apprentice
Posts: 160
Joined: Tue Nov 21, 2006 3:46 am

How to install ffplay from ffmpeg package?

  • Quote

Post by Dr Croubie » Mon Sep 19, 2016 10:40 pm

So I'm trying to follow this: https://wiki.gentoo.org/wiki/FFmpeg_-_E ... -Ray_Audio except for DVD-Audio because I bought an album on dvd and not cd.

Except that I don't have ffplay, even though I've got ffmpeg installed:

Code: Select all

# equery f ffmpeg
 * Searching for ffmpeg ...
 * Contents of media-video/ffmpeg-3.1.3:
/usr
/usr/bin
/usr/bin/ffmpeg
/usr/bin/ffprobe
/usr/include
/usr/include/libavcodec
/usr/include/libavcodec/avcodec.h
<snip>
I found this: http://www.portagefilelist.de/site/quer ... &do#result saying that at least 3.1.3 had /usr/bin/ffplay in its package.
I was on 2.8.6 but unmasked and keyworded to get 3.1.3, but still no ffplay.

Is there a special USE flag to enable ffplay to get installed? The previous link lists a whole lot of USE flags, but that looks to be just every flag available for the ffmpeg package and doesn't suggest that I need all of them to get that file:

Code: Select all

usr/bin/ffplay
obj
amd64
abi_x86_32, abi_x86_64, alsa, amr, amrenc, bluray, bs2b, cdio, celt, chromaprint, cpu_flags_x86_3dnow, cpu_flags_x86_3dnowext, cpu_flags_x86_aes, cpu_flags_x86_avx, cpu_flags_x86_avx2, cpu_flags_x86_fma3, cpu_flags_x86_fma4, cpu_flags_x86_mmx, cpu_flags_x86_mmxext, cpu_flags_x86_sse, cpu_flags_x86_sse2, cpu_flags_x86_sse3, cpu_flags_x86_sse4_1, cpu_flags_x86_sse4_2, cpu_flags_x86_ssse3, cpu_flags_x86_xop, doc, faac, fdk, flite, fontconfig, frei0r, fribidi, gcrypt, gmp, gnutls, gsm, iec61883, ieee1394, jack, jpeg2k, ladspa, libass, libcaca, libsoxr, libv4l, lzma, modplug, mp3, nvenc, openal, opengl, openssl, opus, pic, pulseaudio, rubberband, samba, schroedinger, sdl, snappy, speex, ssh, theora, truetype, twolame, v4l, vaapi, vdpau, vorbis, vpx, wavpack, webp, X, x264, x265, xcb, xvid
For the record, here's what i've got:

Code: Select all

# equery u ffmpeg
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-video/ffmpeg-3.1.3:
 U I
 + + X                      : Add support for X11
 + + alsa                   : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - amr                    : Enables Adaptive Multi-Rate Audio support
 - - amrenc                 : Enables Adaptive Multi-Rate Audio encoding support with
                              media-libs/vo-amrwbenc.
 - - bluray                 : Enable playback of Blu-ray filesystems
 - - bs2b                   : Enables media-libs/libbs2b based Bauer stereo-to-binaural filter.
 + + bzip2                  : Use the bzlib compression library
 - - cdio                   : Enables audio CD grabbing with dev-libs/libcdio.
 - - celt                   : Adds Xiph CELT audio decoding support via media-libs/celt
 - - chromaprint            : Enables audio fingerprinting support with media-libs/chromaprint.
 + + cpu_flags_x86_3dnow    : Use the 3DNow! instruction set
 + + cpu_flags_x86_3dnowext : Use the Enhanced 3DNow! instruction set
 - - cpu_flags_x86_aes      : Enable support for Intel's AES instruction set (AES-NI)
 - - cpu_flags_x86_avx      : Adds support for Advanced Vector Extensions instructions
 - - cpu_flags_x86_avx2     : Adds support for Advanced Vector Extensions 2 instructions
 - - cpu_flags_x86_fma3     : Use the Fused Multiply Add 3 instruction set ([fma] in cpuinfo)
 - - cpu_flags_x86_fma4     : Use the Fused Multiply Add 4 instruction set
 + + cpu_flags_x86_mmx      : Use the MMX instruction set
 + + cpu_flags_x86_mmxext   : Use the Extended MMX instruction set (a subset of SSE) ([mmxext] or [sse] in
                              cpuinfo)
 + + cpu_flags_x86_sse      : Use the SSE instruction set
 + + cpu_flags_x86_sse2     : Use the SSE2 instruction set
 + + cpu_flags_x86_sse3     : Use the SSE3 instruction set ([pni] in cpuinfo, NOT ssse3)
 - - cpu_flags_x86_sse4_1   : Enable SSE4.1 instruction support
 - - cpu_flags_x86_sse4_2   : Enable SSE4.2 instruction support
 - - cpu_flags_x86_ssse3    : Use the SSSE3 instruction set (NOT sse3/pni)
 - - cpu_flags_x86_xop      : Enable the XOP instruction set
 - - cpudetection           : Enables runtime CPU detection (useful for bindist, compatibility on other
                              CPUs)
 - - debug                  : Enable extra debug codepaths, like asserts and extra output. If you want to
                              get meaningful backtraces see
                              https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - doc                    : Add extra documentation (API, Javadoc, etc). It is recommended to enable per
                              package instead of globally
 - - ebur128                : Enables EBU R128 loudness normalization filter via media-libs/libebur128
 + + encode                 : Add support for encoding of audio or video files
 - - faac                   : Use external faac library for AAC encoding
 - - fdk                    : Use external fdk-aac library for AAC encoding
 - - fftools_aviocat        : cat's a URL to another one, useful for dumping streams.
 - - fftools_cws2fws        : converts cws files (Macromedia Flash, compressed) to fws ones (Macromedia
                              Flash, uncompressed).
 - - fftools_ffescape       : Escapes an input string, adopting the av_get_token() escaping logic.
 - - fftools_ffeval         : A simple expression evalutor.
 - - fftools_ffhash         : Computes a file's digest using libavutil algorithms.
 - - fftools_fourcc2pixfmt  : Shows the relationships between rawvideo pixel formats and FourCC tags.
 - - fftools_graph2dot      : A tool to convert a libavfilter graph to a dot file.
 - - fftools_ismindex       : A tool for creating smooth streaming manifests.
 - - fftools_pktdumper      : Dumps packets as demuxed by libavformat.
 - - fftools_qt-faststart   : Rearranges a Quicktime file to facilitate network streaming.
 - - fftools_sidxindex      : Write an MPD file for fragmented MP4 files with a sidx index at the start of
                              the file.
 - - fftools_trasher        : Writes burts of random data into a file. Great for testing error
                              robustness/resilience/concealment.
 - - flite                  : Adds a text-to-speech filter based on app-accessibility/flite.
 + + fontconfig             : Support for configuring and customizing font access via media-libs/fontconfig
 - - frei0r                 : Enable frei0r wrapping in libavfilter
 - - fribidi                : Enables fribidi support in the drawtext filter.
 - - gcrypt                 : Enables gcrypt support: Needed for rtmp(t)e support if openssl, librtmp or gmp
                              is not used.
 - - gme                    : Enables support for media-libs/game-music-emu for playing various video game
                              music formats.
 + + gmp                    : Add support for dev-libs/gmp (GNU MP library)
 - - gnutls                 : Add support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)
 + + gpl                    : Build GPL code. Should be enabled unless you require LGPL binaries.
 - - gsm                    : Add support for the gsm lossy speech compression codec
 - - hardcoded-tables       : Use pre-calculated tables rather than calculating them on the fly.
 + + iconv                  : Enable support for the iconv character set conversion library
 - - iec61883               : Support for FireWire DV/HDV input device using media-libs/libiec61883.
 - - ieee1394               : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
 - - jack                   : Add support for the JACK Audio Connection Kit
 - - jpeg2k                 : Support for JPEG 2000, a wavelet-based image compression format
 - - kvazaar                : Enables media-libs/kvazaar based HEVC encoder.
 - - ladspa                 : Enable the ability to support ladspa plugins
 - - libass                 : SRT/SSA/ASS (SubRip / SubStation Alpha) subtitle support
 - - libcaca                : Add support for colored ASCII-art graphics
 - - libilbc                : Enables iLBC de/encoding via media-libs/libilbc.
 - - librtmp                : Enables Real Time Messaging Protocol using librtmp (media-video/rtmpdump) in
                              addition to FFmpeg's native implementation.
 - - libsoxr                : Enables audio resampling through media-libs/soxr.
 - - libv4l                 : Uses media-libs/libv4l for video4linux instead of direct calls. Adds support
                              for more devices via the userspace library.
 + + lzma                   : Support for LZMA (de)compression algorithm
 - - modplug                : Add libmodplug support for playing SoundTracker-style music files
 + + mp3                    : Add support for reading mp3 files
 - - network                : Enables network streaming support
 - - nvenc                  : Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding
                              on NVIDIA cards.
 + + openal                 : Add support for the Open Audio Library
 + + opengl                 : Add support for OpenGL (3D graphics)
 - - openh264               : Enables H.264 encoding suppoprt via media-libs/openh264.
 + + openssl                : Enables dev-libs/openssl support. Adds support for encrypted network protocols
                              (TLS/HTTPS).
 - - opus                   : Adds (decoding) support for the Opus codec via media-libs/opus.
 - - oss                    : Add support for OSS (Open Sound System)
 - - pic                    : Force shared libraries to be built as PIC (this is slower)
 + + postproc               : Build and install libpostproc.
 - - pulseaudio             : Add support for PulseAudio sound server
 - - rubberband             : Adds time-stretching and pitch-shifting audio filter based on
                              media-libs/rubberband.
 - - samba                  : Add support for SAMBA (Windows File and Printer sharing)
 - - schroedinger           : Enable Dirac video support (an advanced royalty-free video compression format)
                              via libschroedinger (high-speed implementation in C of the Dirac codec).
 - - sdl                    : Add support for Simple Direct Layer (media library)
 - - snappy                 : Enable app-arch/snappy support. Required for e.g. Vidvox Hap encoder.
 - - speex                  : Add support for the speex audio codec (used for speech)
 + + ssh                    : Enable SSH/sftp support via net-libs/libssh.
 - - static-libs            : Build static versions of dynamic libraries as well
 - - test                   : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2
                              handles this internally, so don't set it in make.conf/package.use anymore
 - - theora                 : Add support for the Theora Video Compression Codec
 + + threads                : Add threads support for various packages. Usually pthreads
 + + truetype               : Add support for FreeType and/or FreeType2 fonts
 - - twolame                : Enables MP2 encoding via media-sound/twolame as an alternative to the internal
                              encoder.
 - - v4l                    : Enable support for video4linux (using linux-headers or userspace libv4l
                              libraries)
 + + vaapi                  : Enable Video Acceleration API for hardware decoding
 + + vdpau                  : Enable the Video Decode and Presentation API for Unix acceleration interface
 - - vorbis                 : Add support for the OggVorbis audio codec
 - - vpx                    : Enables vp8 codec support using libvpx: Decoding vp8 does not require this to
                              be enabled but libvpx can also be used for decoding; encoding vp8 requires
                              this useflag to be enabled though.
 - - wavpack                : Add support for wavpack audio compression tools
 - - webp                   : Enables WebP encoding with media-libs/libwebp.
 - - x264                   : Enable h264 encoding using x264
 - - x265                   : Enables HEVC encoding with media-libs/x265.
 + + xcb                    : Support the X C-language Binding, a replacement for Xlib
 - - xvid                   : Add support for xvid.org's open-source mpeg-4 codec
 - - zimg                   : Enables media-libs/zimg based scale filter.
 + + zlib                   : Add support for zlib (de)compression
 - - zvbi                   : Enables media-libs/zvbi based teletext decoder.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Mon Sep 19, 2016 10:54 pm

You need USE=sdl for ffplay, but if you're in a hurry you can also tell ffmpeg to "transcode" to an opengl window+soundcard output.
Top
EmaRsk
Apprentice
Apprentice
Posts: 158
Joined: Tue Sep 07, 2004 9:14 am
Location: Italy

  • Quote

Post by EmaRsk » Sat Sep 24, 2016 9:41 pm

Just a hint to the OP: the ebuilds can be intimidating to read, but sometimes you don't need to understand everything to get the piece of information you need.
In the ffmpeg ebuild you can find

Code: Select all

FFMPEG_FLAG_MAP=(
                [… blah blah lots of stuff …]
                sdl:ffplay
                [… other stuff …]
)
Please, avoid some common spelling errors:
http://theoatmeal.com/comics/misspelling
Top
Post Reply

3 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic