Compile ffmpeg with hwaccelCross-compiling and CMakeFfmpeg-php will not compileCross compiling htop...

Random Stripe Webhook Issues

Attacking the Hydra

How do I ask for 2-3 days per week remote work in a job interview?

Does an Irish VISA WARNING count as "refused entry at the border of any country other than the UK?"

Is there a way to proportionalize fixed costs in a MILP?

Why won't the Republicans use a superdelegate system like the DNC in their nomination process?

Execution order of f1() + f2()*f3() expression and operator precedence in JLS

Will using a resistor in series with a LED to control its voltage increase the total energy expenditure?

Doesn't the speed of light limit imply the same electron can be annihilated twice?

How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?

How to prevent criminal gangs from making/buying guns?

What is the hottest thing in the universe?

Good textbook for queueing theory and performance modeling

Are there examples in Tanach of 3 or more parties having an ongoing conversation?

How come the Rambam forbids picking up money found in the street?

What kind of liquid can be seen 'leaking' from the upper surface of the wing of a Boeing 737-800?

"Mouth-breathing" as slang for stupidity

How to gracefully leave a company you helped start?

K-Type Thermocouple, Instrumentation Op-Amp and Arduino

Word for an event that will likely never happen again

Help, I cannot decide when to start the story

What is a "soap"?

Why did IBM make the PC BIOS source code public?

How to not forget things?



Compile ffmpeg with hwaccel


Cross-compiling and CMakeFfmpeg-php will not compileCross compiling htop libncursesw not foundHow do I cross-compile Chromium for ARM?compile ffmpeg centosCLFS for ARMv7 neongcc compilation terminated with “fatal error: string: No such file or directory #include <string>”Does ARM platform have a universal tool chain / compiler?Local machine libraries when cross compilingffmpeg does not accept variable name read from file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I'm trying to compile ffmpeg with hwaccel support, but no matter the options I pass to the configure script, the enable hwaccels list always comes empty.



Running ./configure --help says that, to enable a hwaccel, I should pass --enable-hwaccel=NAME, where NAME comes from the list of hwaccels supported.



I tried doing all of these (appending the option at the end of my ./configure command):



--enable-hwaccel=mpeg1_vdpau
--enable-hwaccel mpeg1_vdpau
--enable-hwaccel=mpeg1
--enable-hwaccel=mpeg1*


But none of these helped. Can someone give me a light?



Edit: I added --enable-vdpau before --enable-hwaccel, and now it gives me this error:
ERROR: vdpau requested, but not all dependencies are satisfied: vdpau_vdpau_h vdpau_vdpau_x11_h



I installed libvdpau-dev, but the error persists.



Edit2: I am cross-compiling ffmpeg for an ARM target (an AM3352, which as a SGX530 graphics accelerator) , does this have any influence on the hwaccel options?










share|improve this question



























  • (guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

    – derobert
    May 16 '17 at 16:30











  • Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

    – Guilherme Costa
    May 16 '17 at 17:16











  • Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

    – derobert
    May 16 '17 at 17:45











  • Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

    – derobert
    May 16 '17 at 17:48











  • I wouldn't really consider building someone else's app to be a programming question

    – Michael Mrozek
    May 16 '17 at 18:15


















4















I'm trying to compile ffmpeg with hwaccel support, but no matter the options I pass to the configure script, the enable hwaccels list always comes empty.



Running ./configure --help says that, to enable a hwaccel, I should pass --enable-hwaccel=NAME, where NAME comes from the list of hwaccels supported.



I tried doing all of these (appending the option at the end of my ./configure command):



--enable-hwaccel=mpeg1_vdpau
--enable-hwaccel mpeg1_vdpau
--enable-hwaccel=mpeg1
--enable-hwaccel=mpeg1*


But none of these helped. Can someone give me a light?



Edit: I added --enable-vdpau before --enable-hwaccel, and now it gives me this error:
ERROR: vdpau requested, but not all dependencies are satisfied: vdpau_vdpau_h vdpau_vdpau_x11_h



I installed libvdpau-dev, but the error persists.



Edit2: I am cross-compiling ffmpeg for an ARM target (an AM3352, which as a SGX530 graphics accelerator) , does this have any influence on the hwaccel options?










share|improve this question



























  • (guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

    – derobert
    May 16 '17 at 16:30











  • Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

    – Guilherme Costa
    May 16 '17 at 17:16











  • Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

    – derobert
    May 16 '17 at 17:45











  • Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

    – derobert
    May 16 '17 at 17:48











  • I wouldn't really consider building someone else's app to be a programming question

    – Michael Mrozek
    May 16 '17 at 18:15














4












4








4








I'm trying to compile ffmpeg with hwaccel support, but no matter the options I pass to the configure script, the enable hwaccels list always comes empty.



Running ./configure --help says that, to enable a hwaccel, I should pass --enable-hwaccel=NAME, where NAME comes from the list of hwaccels supported.



I tried doing all of these (appending the option at the end of my ./configure command):



--enable-hwaccel=mpeg1_vdpau
--enable-hwaccel mpeg1_vdpau
--enable-hwaccel=mpeg1
--enable-hwaccel=mpeg1*


But none of these helped. Can someone give me a light?



Edit: I added --enable-vdpau before --enable-hwaccel, and now it gives me this error:
ERROR: vdpau requested, but not all dependencies are satisfied: vdpau_vdpau_h vdpau_vdpau_x11_h



I installed libvdpau-dev, but the error persists.



Edit2: I am cross-compiling ffmpeg for an ARM target (an AM3352, which as a SGX530 graphics accelerator) , does this have any influence on the hwaccel options?










share|improve this question
















I'm trying to compile ffmpeg with hwaccel support, but no matter the options I pass to the configure script, the enable hwaccels list always comes empty.



Running ./configure --help says that, to enable a hwaccel, I should pass --enable-hwaccel=NAME, where NAME comes from the list of hwaccels supported.



I tried doing all of these (appending the option at the end of my ./configure command):



--enable-hwaccel=mpeg1_vdpau
--enable-hwaccel mpeg1_vdpau
--enable-hwaccel=mpeg1
--enable-hwaccel=mpeg1*


But none of these helped. Can someone give me a light?



Edit: I added --enable-vdpau before --enable-hwaccel, and now it gives me this error:
ERROR: vdpau requested, but not all dependencies are satisfied: vdpau_vdpau_h vdpau_vdpau_x11_h



I installed libvdpau-dev, but the error persists.



Edit2: I am cross-compiling ffmpeg for an ARM target (an AM3352, which as a SGX530 graphics accelerator) , does this have any influence on the hwaccel options?







ffmpeg cross-compilation configure






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 16 '17 at 17:18







Guilherme Costa

















asked May 16 '17 at 14:56









Guilherme CostaGuilherme Costa

1248 bronze badges




1248 bronze badges
















  • (guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

    – derobert
    May 16 '17 at 16:30











  • Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

    – Guilherme Costa
    May 16 '17 at 17:16











  • Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

    – derobert
    May 16 '17 at 17:45











  • Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

    – derobert
    May 16 '17 at 17:48











  • I wouldn't really consider building someone else's app to be a programming question

    – Michael Mrozek
    May 16 '17 at 18:15



















  • (guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

    – derobert
    May 16 '17 at 16:30











  • Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

    – Guilherme Costa
    May 16 '17 at 17:16











  • Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

    – derobert
    May 16 '17 at 17:45











  • Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

    – derobert
    May 16 '17 at 17:48











  • I wouldn't really consider building someone else's app to be a programming question

    – Michael Mrozek
    May 16 '17 at 18:15

















(guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

– derobert
May 16 '17 at 16:30





(guessing ffmpeg works like a normal configure) Check your config.out or config.log to see where it is running the tests for those. Probably you're missing a some headers (e.g., from a -dev/-devel package)

– derobert
May 16 '17 at 16:30













Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

– Guilherme Costa
May 16 '17 at 17:16





Could it have anything to do with the fact that I am cross-compiling? There is no indication of any error, but from the config.log file it seems that the option is not being selected, regardless of what I pass to the script.

– Guilherme Costa
May 16 '17 at 17:16













Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

– derobert
May 16 '17 at 17:45





Yeah... you'll need to make sure those headers are available for your cross-compiler, not your host system's compiler (and similarly, that the libs to link against for your cross-linker, not the host system's).

– derobert
May 16 '17 at 17:45













Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

– derobert
May 16 '17 at 17:48





Also: you should consider if this would better fit on Stack Overflow than here. If you want it moved, flag your question, select "in need of moderator intervention", and ask for it to be moved to Stack Overflow.

– derobert
May 16 '17 at 17:48













I wouldn't really consider building someone else's app to be a programming question

– Michael Mrozek
May 16 '17 at 18:15





I wouldn't really consider building someone else's app to be a programming question

– Michael Mrozek
May 16 '17 at 18:15










1 Answer
1






active

oldest

votes


















0














I was faced with similar problem in configuring LibAV



./configure --target-os=mingw32 --arch=x86  --enable-shared --enable-static 
--enable-dxva2 --disable-encoders --enable-hwaccel=dxva2 --extra-cflags=-O3
--enable-pthreads


hw-accelerator of dxva2 was disabled since dxva2api.h was absent.



I suggest to specify where is located dxva2api.h and add its location to $path or copy it to a relevant directory.






share|improve this answer










New contributor



Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f365411%2fcompile-ffmpeg-with-hwaccel%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I was faced with similar problem in configuring LibAV



    ./configure --target-os=mingw32 --arch=x86  --enable-shared --enable-static 
    --enable-dxva2 --disable-encoders --enable-hwaccel=dxva2 --extra-cflags=-O3
    --enable-pthreads


    hw-accelerator of dxva2 was disabled since dxva2api.h was absent.



    I suggest to specify where is located dxva2api.h and add its location to $path or copy it to a relevant directory.






    share|improve this answer










    New contributor



    Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


























      0














      I was faced with similar problem in configuring LibAV



      ./configure --target-os=mingw32 --arch=x86  --enable-shared --enable-static 
      --enable-dxva2 --disable-encoders --enable-hwaccel=dxva2 --extra-cflags=-O3
      --enable-pthreads


      hw-accelerator of dxva2 was disabled since dxva2api.h was absent.



      I suggest to specify where is located dxva2api.h and add its location to $path or copy it to a relevant directory.






      share|improve this answer










      New contributor



      Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























        0












        0








        0







        I was faced with similar problem in configuring LibAV



        ./configure --target-os=mingw32 --arch=x86  --enable-shared --enable-static 
        --enable-dxva2 --disable-encoders --enable-hwaccel=dxva2 --extra-cflags=-O3
        --enable-pthreads


        hw-accelerator of dxva2 was disabled since dxva2api.h was absent.



        I suggest to specify where is located dxva2api.h and add its location to $path or copy it to a relevant directory.






        share|improve this answer










        New contributor



        Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        I was faced with similar problem in configuring LibAV



        ./configure --target-os=mingw32 --arch=x86  --enable-shared --enable-static 
        --enable-dxva2 --disable-encoders --enable-hwaccel=dxva2 --extra-cflags=-O3
        --enable-pthreads


        hw-accelerator of dxva2 was disabled since dxva2api.h was absent.



        I suggest to specify where is located dxva2api.h and add its location to $path or copy it to a relevant directory.







        share|improve this answer










        New contributor



        Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share|improve this answer



        share|improve this answer








        edited 22 hours ago









        RalfFriedl

        6,0034 gold badges13 silver badges26 bronze badges




        6,0034 gold badges13 silver badges26 bronze badges






        New contributor



        Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        answered 23 hours ago









        Shevach RiabtsevShevach Riabtsev

        11 bronze badge




        11 bronze badge




        New contributor



        Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




        New contributor




        Shevach Riabtsev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f365411%2fcompile-ffmpeg-with-hwaccel%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...