Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (32)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • 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" ;

Sur d’autres sites (5450)

  • Anomalie #3162 : Moteur de recherche : combinaison d’un mot court et d’un mot avec accents ne reto...

    30 janvier 2014, par b b

    Hop, je confirme.

    Sur SPIP 3.1-dev avec une base SQLite une recherche sur "hélène" ou "hélène paris" ne renvoie rien alors que "paris" renvoie le bon résultat.

    Sur SPIP 3.0.15-dev avec une base MySQL en utf8 je confirme le bug : "hélène", "paris", "hélène paris" fonctionnent alors que "la hélène" ou "hélène et" ne fonctionnent pas.

  • ffmpeg main() function in android studio

    21 avril 2016, par Spartan

    Here I am trying to use ffmpeg with gradle experimental plugin.

    This is how I included all my shared libraries and their headers in repositories

    repositories {
       libs(PrebuiltLibraries) {
           libavdevice {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavdevice-57.so")
               }
           }

           libavcodec {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavcodec-57.so")
               }
           }

           libavutil {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavutil-55.so")
               }
           }

           libavformat {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavformat-57.so")
               }
           }

           libswscale {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libswscale-4.so")
               }
           }

           libswresample {
               headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
               binaries.withType(SharedLibraryBinary) {
                   sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libswresample-2.so")
               }
           }



       }
    }

    android.ndk {    
           moduleName = "video_trim"
           ldLibs.addAll(["log", "android","jnigraphics"])
       }


       android.sources {
           main {
               jni {
                   dependencies {
                      library "libavdevice" linkage "shared"
                      library "libavcodec" linkage "shared"
                      library "libavutil" linkage "shared"
                      library "libavformat" linkage "shared"
                      library "libswscale" linkage "shared"
                      library "libswresample" linkage "shared"

                   }
               }
           }
       }

    I tested one ffmpeg function(without using main function) which is running successfully. So this configuration seems ok.

    No I want to use ffmpeg.c’smain() function to use cmd for that I manually copy pasted ffmpeg.c,cmdutils.c, cmdutils.h, ffmpeg_filter.c, ffmpeg_opt.c,ffmpeg.h in my jni folder along with video_trim.c.( I took refrence from halfninja ).

    Here I am not using Andoid.mk so instead of LOCAL_C_INCLUDES, tried like this(updated android.ndk) to include ffmpeg folder(cppFlags was not working so I used CFlags also) :

    android.ndk {  
           moduleName = "video_trim"

           cppFlags.add("-I/home/spartan/ndk/android-ndk-r11c/sources/ffmpeg-3.0.1")
           CFlags.add("-I/home/spartan/ndk/android-ndk-r11c/sources/ffmpeg-3.0.1")

           ldLibs.addAll(["log", "android","jnigraphics"])
       }

    But I am getting lot of undefined reference to error.
    Ex :

    /home/spartan/AndroidStudioProjects/Hello/app/src/main/none/cmdutils.c
    Error:(1086) undefined reference to 'avfilter_version'
    Error:(1086) undefined reference to 'avfilter_configuration'
    Error:(1621) undefined reference to 'avfilter_pad_get_type'
    Error:(1618) undefined reference to 'avfilter_pad_get_name'
    Error:(1610) undefined reference to 'avfilter_next'
    Error:(1815) undefined reference to 'avfilter_get_by_name'
    Error:(1834) undefined reference to 'avfilter_pad_count'
  • ffmpeg static link in Visual Studio [duplicate]

    24 avril 2019, par iz25

    I have build ffmpeg static library on Windows. It seems that everything completed with success. The result of build are following files :

    libavcodec.a
    libavdevice.a
    libavfilter.a
    libavformat.a
    libavutil.a
    libswscale.a

    I tried to specify above files in Linker->Input in my C++ libray project, but linking fails. Following is build output :

    1>libavutil.a(samplefmt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(error.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(avstring.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(bprint.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavformat.a(id3v2.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(opt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(dict.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavutil.a(pixdesc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(qsv.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavformat.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavformat.a(aviobuf.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(ffv1enc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(exif.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_img_wrap
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_version_str
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_version_str
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_build_config
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_build_config
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_err_to_string
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_error
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_error
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_error_detail
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_error_detail
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_destroy
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_destroy
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_control_
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_enc_init_ver
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_enc_config_default
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_encode
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_get_cx_data
    1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_vp8_cx
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_dec_init_ver
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_decode
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_get_frame
    1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_vp8_dx_algo
    1>libavutil.a(opt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavutil.a(parseutils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavcodec.a(h264_sei.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavcodec.a(qsv.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavformat.a(id3v2.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
    1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___acrt_iob_func
    1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___stdio_common_vfprintf

    What could be missing here ?