Recherche avancée

Médias (91)

Autres articles (104)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9962)

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

    


    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.

    


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

    


    ffmpeg -i testinput.mpg -filter:v "crop=468:374" testoutput.mpg


    


    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.

    


    What I want to achieve is :

    


      

    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. 


    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. 


    


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

    


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

    


    testinput.mpg

    


    testoutput.mpg

    


    Thanks

    


  • 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

    



    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.

    


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