Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (31)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (6718)

  • Trying to open file with PHP-FFMpeg after it was encoded once

    19 mai 2016, par Shillo Ben David

    in the same PHP process I’m trying to open a file that was manipulated and saved, and then I’m trying to open it with as a new FFMpeg\Video. For example, in the same process :

    Open -> original.MOV
     Manipulate & save to -> new.mp4
       Open -> new.mp4

    However when I’m trying to open the manipulated file I get this InvalidArgumentException exception :

    InvalidArgumentException: Unable to detect file format, only audio and video supported

    It’s thrown by the FFMpeg::open() after it could not detect that it’s a either Video or Audio stream.

    FFMpeg::open()

    public function open($pathfile)
    {
       if (null === $streams = $this->ffprobe->streams($pathfile)) {
           throw new RuntimeException(sprintf('Unable to probe "%s".', $pathfile));
       }

       if (0 < count($streams->videos())) {
           return new Video($pathfile, $this->driver, $this->ffprobe);
       } elseif (0 < count($streams->audios())) {
           return new Audio($pathfile, $this->driver, $this->ffprobe);
       }

       throw new InvalidArgumentException('Unable to detect file format, only audio and video supported');
    }

    The filters I applied to the video are audio mute and speedup (setpts).

    So I wonder, why FFMpeg doesn’t recognise it as video ?

  • hwcontext_vaapi : Try to support the VDPAU wrapper

    30 janvier 2017, par Mark Thompson
    hwcontext_vaapi : Try to support the VDPAU wrapper
    

    The driver is somewhat bitrotten (not updated for years) but is still
    usable for decoding with this change. To support it, this adds a new
    driver quirk to indicate no support at all for surface attributes.

    Based on a patch by wm4 <nfxjfg@googlemail.com>.

    • [DBH] libavutil/hwcontext_vaapi.c
    • [DBH] libavutil/hwcontext_vaapi.h
  • Big problems while compiling FFMPEG for iOS5

    7 juin 2013, par Vlad Bogdan

    I'm trying to compile the ffmpeg library for iOS5. I tried different options but none works.

    I downloaded this : https://github.com/ciphor/ffmpeg4ios .

    I tried the original build_armv7 but it didn't work. I edited the build_arm7 file and now it looks like this :

    #!/bin/tcsh -f

    if (! -d armv7) mkdir armv7
    if (! -d lib) mkdir lib

    rm armv7/*.a

    make clean

    ./configure --disable-network --disable-mpegaudio-hp --disable-lpc --disable-vaapi
    --disable-vdpau --disable-hwaccels --disable-mmx --disable-mmx2 --disable-sse
    --disable-ssse3 --disable-avx --disable-amd3dnow --disable-amd3dnowext --disable-vis
    --disable-mmi --disable-doc --disable-yasm --disable-ffmpeg --disable-ffplay
    --disable-ffprobe --disable-ffserver --disable-rdft --disable-dxva2 --disable-encoders
    --disable-decoders --enable-decoder=h264 --disable-bsfs --disable-protocols
    --disable-indevs --disable-outdevs --disable-devices --disable-filters --disable-demuxers --enable-demuxer=h264
    --disable-muxers --disable-parsers --enable-parser=h264 --enable-cross-compile --arch=arm
    --target-os=darwin
    --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 --as=&#39;gas-preprocessor/gas-preprocessor.pl /Aplications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2&#39;
    --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk --cpu=cortex-a8
    --extra-cflags=&#39;-pipe -Os -gdwarf-2 -issysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -m${thumb_opt:-no-thumb}
    -mthumb-interwork&#39; --extra-ldflags=&#39;-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk&#39; --enable-pic


    make

    mv libavcodec/libavcodec.a armv7/
    mv libavdevice/libavdevice.a armv7/
    mv libavformat/libavformat.a armv7/
    mv libavutil/libavutil.a armv7/
    mv libswscale/libswscale.a armv7/

    rm lib/*.a

    cp armv7/*.a lib/

    But i get this error :

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 is unable to create an executable file.
    C compiler test failed.

    I looked all over the Internet. I have read all the posts on stackoverflow about this but none helped me. Please tell me what i'm doing wrong and please don't post me links : trust me, i saw them all !