Recherche avancée

Médias (91)

Autres articles (49)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5588)

  • Compile ffmpeg with x264 shows : ERROR : libx264 not found in docker building image

    3 mai 2019, par NKam

    Trying to install ffmpeg from source with libx264 package. When I compile ffmpeg can’t find x264 because it is not installed.
    I followed ffmpeg installation guide.

    Before intention to compile ffmpeg in building docker image I tried to install locally and found out in folder ffmpeg_build/include I don’t have x264 files installed.

    To compile libx264 I used :

    cd /ffmpeg_sources &&

    git -C x264 pull 2> /dev/null || git clone —depth 1 https://code.videolan.org/videolan/x264.git &&

    cd x264 &&

    PATH="$HOME/bin :$PATH"

    PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/bin" —enable-static —enable-pic &&

    PATH="$HOME/bin :$PATH" make &&

    make install

    I changed url to https://code.videolan.org/videolan/x264.git, because this url https://git.videolan.org/git/x264 from guide not working

    I want to know what I missed. I want ffmpeg to find x264, if it is not installed how can I find way to install.

  • 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'
  • python Instagram API doesnt work

    9 avril 2017, par sdgm

    I was looking for a c++-Instagram API but there was not any complete project. Now,I am using python-Instagram API. whenever I execute my code, too many errors occur. this is my code :

    from InstagramAPI import InstagramAPI

    InstagramAPI = InstagramAPI("no_ideaw", "xs*************#")
    InstagramAPI.login()
    InstagramAPI.removeProfilePicture()

    Then, these are the errors :

       Traceback (most recent call last):
     File "tester.py", line 1, in <module>
       from InstagramAPI import InstagramAPI
     File "/home/muhammad/Downloads/Instagram-API-python-master/InstagramAPI.py", line 25, in <module>
       from moviepy.editor import VideoFileClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/editor.py", line 22, in <module>
       from .video.io.VideoFileClip import VideoFileClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
       from moviepy.video.VideoClip import VideoClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 20, in <module>
       from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 15, in <module>
       from moviepy.config import get_setting
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/config.py", line 38, in <module>
       FFMPEG_BINARY = get_exe()
     File "/home/muhammad/.local/lib/python2.7/site-packages/imageio/plugins/ffmpeg.py", line 86, in get_exe
       raise NeedDownloadError('Need ffmpeg exe. '
    imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can download it by calling:
     imageio.plugins.ffmpeg.download()
    </module></module></module></module></module></module></module>

    I tried to install

    imageio.plugins.ffmpeg.download()

    but nothing happened. what is wrong with my python code ?