Recherche avancée

Médias (91)

Autres articles (64)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

Sur d’autres sites (9243)

  • Paperclip AV Transcoder not working on remote server

    16 juin 2016, par zreitano

    I am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :

    Av::UnableToDetect (Unable to detect any supported library)

    I have installed ffmpeg using LinuxBrew. It says everything is installed correctly (checking which brew and which ffmpeg, as well as checking if the gem is appropriately installed).

    When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.

    has_attached_file :video, path: "/posts/:id/:style.:extension",
     :styles => {
       :medium => { :geometry => "493x877", :format => 'flv' },
       :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
       # :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
     }, :processors => [:transcoder]

    However, when I remove this from my model and have :

    has_attached_file :video, path: "/posts/:id/:style.:extension"

    The video is uploaded to S3 (without the data or styling that I need).

    Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.

  • Converting png images series to webm with transparent white background from Daz3d

    25 août 2015, par James

    I’m trying to make a webm video with a transparent background from a Daz3D model.
    My process is export png image series with transparent background from Daz3D, use ffmpeg to convert png series to webm video.
    This was working well in Daz3D 4.6.

    But in Daz3D 4.8 the exported background is black instead of white, so when converted to webm is ok on Chrome as has the transparency, but on Firefox is black and has a halo (as Firefox does not support transparency so displays background).

    So I’m looking for a solution with Daz3D, or tools like ImageMagik.
    I almost got it with ImageMagik,

    convert -alpha extract *.png mask.png
    mogrify -flatten talk*.png
    for /f %x in ('dir /s /b blink*.png') do @composite -compose CopyOpacity mask-0.png %x %x

    But for some reason the final webm has a white background not transparent ...
    Some more info here,

    http://www.daz3d.com/forums/discussion/61237/daz3d-4-8-png-background-is-black

    and here,

    http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=28214

    >
    Doh, okay I figured it out. My images were good, but I somehow have two different versions of ffmpeg on my computer and was using the wrong one that doesn’t seem to support transparency.

    Now it is working.

    My only issue is the last shell line,

    for /f %x in (’dir /s /b blink*.png’) do @composite -compose CopyOpacity mask-0.png %x %x

    This only uses mask-0.png, instead of mask-1 for blink01.png, mask-2 for blink02.png etc.

  • Android NDK - ffmpeg header files not found by compiler

    7 septembre 2015, par markt

    I am trying to use the ffmpeg libraries with Android NDK in the experimental plugin.

    I am attempting to compile this example :
    https://github.com/roman10/android-ffmpeg-tutorial/blob/master/android-ffmpeg-tutorial01/jni/tutorial01.c

    My problem is that the header files are not being found by the compiler :

    Error:(13, 32) libavcodec/avcodec.h: No such file or directory

    I added flags to build.grade :

    cppFlags += "-ilibavcodec -ilibavutil -ilibavformat -ilibswscale"
    ldFlags += "-llibavcodec -llibavutil -llibavformat -llibswscale"

    Which seems to keep lint happy, but not the compiler. (Not sure if I have done this right ?)

    I Have added the header files to the /jni folder :
    Project folder structure

    And build.grade looks like this :

    apply plugin: 'com.android.model.application'
    model {
       android {
           compileSdkVersion = 23
           buildToolsVersion = "23.0.1"

           defaultConfig.with {
               applicationId = "roman10.tutorial.android_ffmpeg_tutorial01"
               minSdkVersion.apiLevel = 10
               targetSdkVersion.apiLevel = 23

           }
       }

       compileOptions.with {
           sourceCompatibility = JavaVersion.VERSION_1_7
           targetCompatibility = JavaVersion.VERSION_1_7
       }

       android.buildTypes {
           release {
               minifyEnabled = false
               proguardFiles += file('proguard-rules.pro')
           }
       }


       android.ndk {
           moduleName = "tutorial01"
           ldLibs += ["android","log","jnigraphics","z"]
           cppFlags += "-ilibavcodec -ilibavutil -ilibavformat -ilibswscale"
           ldFlags += "-llibavcodec -llibavutil -llibavformat -llibswscale"
       }
    }

    dependencies {
       compile fileTree(dir: 'libs', include: ['*.jar'])
       compile 'com.android.support:support-v4:23.0.1'
    }

    Thanks.