FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Compile FFMPEG with VDPAU support

    Hi all,
    I have trouble compiling FFMPEG with VDPAU support. I have clean typical installation Fedora 14 + all updates and after installation I install Nvidia driver with VDPAU support - kmod (VPDAU works well, tested with mplayer - I play MKV 1080p on Atom D525 + chipset Nvidia ION with 10-15% CPU ussage).

    I try compilie FFMPEG with this procedure:

    Code:
    git clone git://git.ffmpeg.org/ffmpeg/
    su
    cd ffmpeg
    ./configure --enable-vdpau --enable-shared --disable-static --enable-debug
    
    #after command ./configure...  I'm looking on report, and section HW Accels is
    not empty, it contains like this: h264-vaapi, mpeg4-vaapi, mpeg2-vaapi etc.
    
    make -j 5 (compile on 4 core CPU)
    make install
    After that, when I write command "ffmpeg -formats | grep vdpau" I don't see any VDPAU support like this (screen is from unknown web site, I write this post from work, and i don't remember exactly from PC at home, bud in principle it's right):

    Code:
    oldcpu@athlon:~> ffmpeg -formats | grep vdpau
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --enable-vdpau --enable-shared --disable-static --enable-debug
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Mar 10 2009 22:17:30, gcc: 4.3.2 [gcc-4_3-branch revision 141291]
     D V D  h264_vdpau      H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
     D V DT mpeg1video_vdpau MPEG-1 video (VDPAU acceleration)
     D V DT mpegvideo_vdpau MPEG-1/2 video (VDPAU acceleration)
     D V D  vc1_vdpau       SMPTE VC-1 VDPAU
     D V D  wmv3_vdpau      Windows Media Video 9 VDPAU
    I see only this

    Code:
    oldcpu@athlon:~> ffmpeg -formats | grep vdpau
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --enable-vdpau --enable-shared --disable-static --enable-debug
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0
    Where I make mistake in compilling FFMPEG? Or missing on my system any library?

    Thank You, MG

  2. #2
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    380
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compile FFMPEG with VDPAU support

    Code:
    ffmpeg -codecs | grep vdpau
    Use "-codecs" to see codecs supported, not "-formats"

    "-formats" only shows the container formats supported.

    Also, make sure you have the libvdpau-devel package installed.

  3. #3
    Join Date
    Jul 2008
    Posts
    1,347
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compile FFMPEG with VDPAU support

    Do you have libvdpau-devel installed?
    You can also install from rpmfusion.org, their binary has vdpau enabled already I believe.

  4. #4
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compile FFMPEG with VDPAU support

    Quote Originally Posted by vallimar
    Do you have libvdpau-devel installed?
    You can also install from rpmfusion.org, their binary has vdpau enabled already I believe.
    Thank you! After installation libvdpau-devel is FFMPEG compile with VDPAU support.

    How to install FFMPEG (and may be VLC with VDPAU) from rpmfussion.org?

    MG
    Last edited by mgrunt; 16th March 2011 at 08:07 PM.

  5. #5
    Join Date
    Jul 2008
    Posts
    1,347
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compile FFMPEG with VDPAU support

    Install the repo's and then just install the packages. Or download them directly from
    the rpmfusion website and install them locally. There should be instructions on the website.

Similar Threads

  1. ffmpeg with amr support
    By Dangermouse in forum Using Fedora
    Replies: 4
    Last Post: 8th January 2012, 02:24 PM
  2. ffmpeg compile error
    By errorxp in forum EOL (End Of Life) Versions
    Replies: 6
    Last Post: 8th March 2011, 10:00 AM
  3. help compile ffmpeg 0.6 fedora 13
    By ssb in forum Using Fedora
    Replies: 3
    Last Post: 21st June 2010, 10:48 PM
  4. RPM: mplayer with vdpau support
    By liangsuilong in forum Using Fedora
    Replies: 22
    Last Post: 20th November 2009, 12:51 PM
  5. compile problem of ffmpeg
    By fw12 in forum Using Fedora
    Replies: 0
    Last Post: 9th November 2006, 12:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •