Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (57)

  • 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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 (10383)

  • preventing playing video files outside the app/website

    5 octobre 2019, par hretic

    i feel the down votes are coming ! but im desperate so here it goes

    i have bunch of videos that i want my users to be able to play them only trough my mobile app or website(not sure about the platform) ... even when they’re downloaded on the client side

    i’ve never worked with video files before but i have lots of coding expense and know multiple languages (js , php , python , node , .... )

    but i done know where to begin , im not looking for code ... just someone with experience in this area to point me to the right direction and maybe give me some links to read about the subject and what technologies i need to get familiar with

    i tried to search around but most results are about html5 player or desktop video players

    i was thinking maybe i can encode mp4 files so they wouldn’t play with available players and then create a custom video player to decode and show them ?

    any suggestion would be appreciated

  • 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 ?