Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (69)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • 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

Sur d’autres sites (6951)

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

  • 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'
  • Revision ae14b37431 : Merge "Remove claims of universal target support from the build system."

    13 mai 2015, par Tom Finegan

    Merge "Remove claims of universal target support from the build system."