Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (112)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

  • Java, FfMPEG : Gson not found even though it's there.

    19 avril 2018, par We are Borg

    I am working on a Spring-MVC application in which we are using FFProbe to get media information. Unfortunately, it’s not working on our live instance. We have ffmpeg & ffprobe installed on same path. The error we get is GSON is not foudn, although we have it.

    Error log :

    Caused by:
    java.lang.NoSuchMethodError: com.google.gson.Gson.<init>(Lcom/google/gson/internal/Excluder;Lcom/google/gson/FieldNamingStrategy;Ljava/util/Map;ZZZZZZLcom/goo
    gle/gson/LongSerializationPolicy;Ljava/util/List;)V
           at com.google.gson.GsonBuilder.create(GsonBuilder.java:545)
           at net.bramp.ffmpeg.FFmpegUtils.setupGson(FFmpegUtils.java:124)
           at net.bramp.ffmpeg.FFmpegUtils.<clinit>(FFmpegUtils.java:23)
           at net.bramp.ffmpeg.FFprobe.<clinit>(FFprobe.java:29)
    </clinit></clinit></init>

    POM.xml :

    <repositories>
           <repository>
               <id>apache.snapshots</id>
               <name>Apache Development Snapshot Repository</name>
               <url>https://repository.apache.org/content/repositories/snapshots/</url>
               <releases>
                   <enabled>false</enabled>
               </releases>
               <snapshots>
                   <enabled>true</enabled>
               </snapshots>
           </repository>
           <repository>
               <id>jitpack.io</id>
               <url>https://jitpack.io</url>
           </repository>
       </repositories>
       <parent>
           <groupid>io.spring.platform</groupid>
           <artifactid>platform-bom</artifactid>
           <version>2.0.8.RELEASE</version>
           <relativepath></relativepath>

       </parent>
       <dependencies>

           
           <dependency>
               <groupid>net.bramp.ffmpeg</groupid>
               <artifactid>ffmpeg</artifactid>
               <version>0.6.2</version>
           </dependency>

     <dependency>
               <groupid>com.google.code.gson</groupid>
               <artifactid>gson</artifactid>
           </dependency>
    </dependencies>

    Usage :

    Error thrown on first line.
    FFprobe ffprobe = new FFprobe("/usr/bin/ffprobe");
    FFmpegProbeResult probeResult = ffprobe.probe(filePath);

    I can confirm that ffprobe file is available on /usr/bin. What am I doing wrong here ? Thank you.

  • Can you call out to FFMPEG in a Firebase Cloud Function

    27 juillet 2024, par Dave Parks

    Per the Firebase Cloud Functions documentation, you can leverage ImageMagick from within a cloud function : https://firebase.google.com/docs/functions/use-cases

    &#xA;&#xA;

    Is it possible do something similar but call out to FFMPEG instead of ImageMagick ? While thumbnailing images is great, I'd also like the capability to append incoming images to a video file stored out on Firebase Storage.

    &#xA;

  • Remove flicker, crop and upscale in ffmpeg

    22 août 2024, par Sabha

    I spent one full day on ffmpeg line commands by searching a lot on google but could not achieve what I wanted to and therefore I came here to seek some advice.&#xA;I have a video testinput.mpg which I believe is a mpeg-2 video. It is of 720x576 dimensions having 25 fps and a total bitrate of 4224 kbps

    &#xA;

    First problem is that the exported footage is flickering which I wasn't able to remove using ffmpeg with lots of commands I tried like adjusting brightness, contrast, hue, saturation and all.

    &#xA;

    Second problem was to extract the center portion which I was able to do it with the crop feature using following command.

    &#xA;

    ffmpeg -i testinput.mpg -filter:v "crop=468:374" testoutput.mpg&#xA;

    &#xA;

    But after cropping I observed that that bitrate fell from 4224 kbps to 761 kbps and I assume this has reduced the quality of video.

    &#xA;

    What I want to achieve is :

    &#xA;

      &#xA;
    1. Crop the video properly keeping the same quality (acodec copy vcodec copy) -> ffmpeg did not allow me to do both the things together (cropping and having same codec)
    2. &#xA;

    3. Remove the flicker from video and upscale it to 4K or HD quality so that it looks nice on big televison (preferably 4K)
    4. &#xA;

    &#xA;

    I request some help on how to achieve the desired result. Can someone shed some light on it ?

    &#xA;

    Here are 10 seconds sample videos on google drive that I am working on

    &#xA;

    testinput.mpg

    &#xA;

    testoutput.mpg

    &#xA;

    Thanks

    &#xA;