Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (14)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (4597)

  • Adding prebuild static library to android studio

    24 mars 2017, par David Barishev

    I have build ffmpeg libraries statically for x86 android using a custom configuration.Now i wanted to add them in my android project.

    Im using ffmpeg 3.2.git, android studio 2.3.

    I created a folder named distribution which had my binaries, located the root of my project.
    Here is a file tree :

    |__distribution
    | |__avcodec
    | | |__include
    | | | |__avcodec.h
    | | |__lib
    | | | |__x86
    | | | | |__libavcodec.a
    | |__avfilter
    | | |__include
    | | | |__avfilter.h
    | | |__lib
    | | | |__x86
    | | | | |__libavfilter.a
    | |__avformat
    | | |__include
    | | | |__avformat.h
    | | |__lib
    | | | |__x86
    | | | | |__libavformat.a
    | |__avutil
    | | |__include
    | | | |__avutil.h
    | | |__lib
    | | | |__x86
    | | | | |__libavutil.a
    | |__swresample
    | | |__include
    | | | |__swresample.h
    | | |__lib
    | | | |__x86
    | | | | |__libswresample.a

    I edited my cmake to include the libraries :

    add_library(
            native-lib
            SHARED
            src/main/cpp/native-lib.cpp )

    set(distribution_DIR ${CMAKE_SOURCE_DIR}/../distribution)

    add_library(lib_avcodec STATIC IMPORTED)
    set_target_properties(lib_avcodec PROPERTIES IMPORTED_LOCATION
       ${distribution_DIR}/avcodec/lib/${ANDROID_ABI}/libavcodec.a)

    add_library(lib_avfilter STATIC IMPORTED)
    set_target_properties(lib_avfilter PROPERTIES IMPORTED_LOCATION
       ${distribution_DIR}/avfilter/lib/${ANDROID_ABI}/libavfilter.a)

    add_library(lib_avformat STATIC IMPORTED)
    set_target_properties(lib_avformat PROPERTIES IMPORTED_LOCATION
       ${distribution_DIR}/avformat/lib/${ANDROID_ABI}/libavformat.a)

    add_library(lib_avutil STATIC IMPORTED)
    set_target_properties(lib_avutil PROPERTIES IMPORTED_LOCATION
       ${distribution_DIR}/avutil/lib/${ANDROID_ABI}/libavutil.a)

    add_library(lib_swresample STATIC IMPORTED)
    set_target_properties(lib_swresample PROPERTIES IMPORTED_LOCATION
       ${distribution_DIR}/swresample/lib/${ANDROID_ABI}/libswresample.a)



    include_directories(
                              ${distribution_DIR}/avcodec/include
                              ${distribution_DIR}/avfilter/include
                              ${distribution_DIR}/avformat/include
                              ${distribution_DIR}/avutil/include
                              ${distribution_DIR}/swresample/include)


    target_link_libraries(
                          native-lib

                          lib_avcodec
                          lib_avfilter
                          lib_avformat
                          lib_avutil
                          lib_swresample
                           )

    I also restricted the build to only x86, in my app build.gradle :

    ndk {
               // Specifies the ABI configurations of your native
               // libraries Gradle should build and package with your APK.
               abiFilters 'x86'
       }

    The project gradle sync worked successfully.
    I edited my cpp file to try to use the libraries, and i noticed something weird,i couldn’t reference the headers with the library beforehand, only the header name itself (eg. #include "libavformat/avformat.h" doesn’t work, #include "avformat.h" works).
    I suspect this is because of the headers reference, that they are not tied to a library.
    How can i fix it ?

    Also this makes the project build fail, since in the static libraries headers, there is a reference to other part of the library (eg avformat includes avcodec),but they reference it with the library name beforehand, and as i have said earlier, it doesn’t work.

    Here is the relevant build log part :

    ../../../../../distribution/avformat/include\avformat.h:319:10: fatal error: 'libavcodec/avcodec.h' file not found
     #include "libavcodec/avcodec.h"
              ^
  • Revision fcb4253c9c : update libyuv to r1456 picks up build warning fixes for visual studio 2015 Cha

    25 juillet 2015, par James Zern

    Changed Paths :
     Modify /examples.mk


     Modify /third_party/libyuv/README.libvpx


     Modify /third_party/libyuv/include/libyuv/convert.h


     Modify /third_party/libyuv/include/libyuv/convert_argb.h


     Modify /third_party/libyuv/include/libyuv/convert_from.h


     Modify /third_party/libyuv/include/libyuv/convert_from_argb.h


     Modify /third_party/libyuv/include/libyuv/planar_functions.h


     Add /third_party/libyuv/include/libyuv/rotate_row.h


     Modify /third_party/libyuv/include/libyuv/row.h


     Modify /third_party/libyuv/include/libyuv/scale_row.h


     Modify /third_party/libyuv/include/libyuv/version.h


     Modify /third_party/libyuv/source/compare.cc


     Add /third_party/libyuv/source/compare_gcc.cc
    (from /third_party/libyuv/source/compare_posix.cc
    :f42012e526f218f4607e5d678c5bd44bb5978bff)
     Modify /third_party/libyuv/source/compare_neon64.cc


     Delete /third_party/libyuv/source/compare_posix.cc


     Modify /third_party/libyuv/source/compare_win.cc


     Modify /third_party/libyuv/source/convert.cc


     Modify /third_party/libyuv/source/convert_argb.cc


     Modify /third_party/libyuv/source/convert_from.cc


     Modify /third_party/libyuv/source/convert_from_argb.cc


     Modify /third_party/libyuv/source/cpu_id.cc


     Modify /third_party/libyuv/source/mjpeg_decoder.cc


     Modify /third_party/libyuv/source/mjpeg_validate.cc


     Modify /third_party/libyuv/source/planar_functions.cc


     Modify /third_party/libyuv/source/rotate.cc


     Add /third_party/libyuv/source/rotate_any.cc


     Modify /third_party/libyuv/source/rotate_argb.cc


     Add /third_party/libyuv/source/rotate_common.cc


     Add /third_party/libyuv/source/rotate_gcc.cc


     Modify /third_party/libyuv/source/rotate_mips.cc


     Modify /third_party/libyuv/source/rotate_neon.cc


     Modify /third_party/libyuv/source/rotate_neon64.cc


     Add /third_party/libyuv/source/rotate_win.cc


     Modify /third_party/libyuv/source/row_any.cc


     Modify /third_party/libyuv/source/row_common.cc


     Add /third_party/libyuv/source/row_gcc.cc
    (from /third_party/libyuv/source/row_posix.cc
    :f42012e526f218f4607e5d678c5bd44bb5978bff)
     Modify /third_party/libyuv/source/row_neon.cc


     Modify /third_party/libyuv/source/row_neon64.cc


     Delete /third_party/libyuv/source/row_posix.cc


     Modify /third_party/libyuv/source/row_win.cc


     Modify /third_party/libyuv/source/scale.cc


     Add /third_party/libyuv/source/scale_any.cc


     Modify /third_party/libyuv/source/scale_argb.cc


     Modify /third_party/libyuv/source/scale_common.cc


     Add /third_party/libyuv/source/scale_gcc.cc
    (from /third_party/libyuv/source/scale_posix.cc
    :f42012e526f218f4607e5d678c5bd44bb5978bff)
     Modify /third_party/libyuv/source/scale_neon.cc


     Modify /third_party/libyuv/source/scale_neon64.cc


     Delete /third_party/libyuv/source/scale_posix.cc


     Modify /third_party/libyuv/source/scale_win.cc



    update libyuv to r1456

    picks up build warning fixes for visual studio 2015

    Change-Id : Idea85fa70d1aeb2a46ea355b87fe41ec5b2b9520

  • cant find out how to make auto exit with ffmpeg in visual studio

    27 juillet 2017, par Beni Blinches

    I have a process which is a song that is playing audio from youtube using ffmpeg, and I want the song to stop when its done. I have this function

    private Process CreateStream(string path)
    {
       Program.current_s = new Process();
       Program.current_s.Exited += new EventHandler(WhenSongEnds);
       Program.current_s.StartInfo = new ProcessStartInfo
       {
           FileName = "cmd.exe",
           Arguments = $"/C youtube-dl.exe -o - {path} | ffmpeg -i pipe:0 -ac 2 -f s16le -ar 48000 pipe:1",
           UseShellExecute = false,
           RedirectStandardOutput = true,
           CreateNoWindow = true

       };
       Console.WriteLine("                     ffmpeg is ready");
       Program.current_s.Start();
       return Program.current_s;
    }

    I tried to use autoexit and ffplay. But, I cant get it right, because I’m quite unfamiliar with the software