Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

Sur d’autres sites (5514)

  • Trim / Cut video on Android using FFMpeg's Copy

    6 août 2012, par Kevin P

    We're trying to replicate the functionality of this command line ffmpeg directive using the FFMpeg c api through JNI calls on Android.

    ffmpeg -ss 2 -t 120 -vcodec copy -acodec copy -i input.file output.file

    Basically, given a start and end time, we wish to copy (not re-encode) a small(er) segment of video from the larger (input) video source.

    We've been using the wonderful JavaCv wrapper to openCv and FFMpeg, but we just cannot figure out how to do this simple bit of work. We've been scouring the ffmpeg.c and related sources and while I now understand that it switches to stream_copy and remuxing rather than re-encoding when the codec is specified as copy I cannot for the life of me identify what series of method calls to make to replicate this through the C api. Does anyone have an example JNI file for doing this ? Or are there rockstar C types that can explain how I get from that command line to api calls ? We've spent the better part of two weeks working on this (we're not native C guys) and we're at the point where we just need to ship some code. Any example code, especially JNI code or method call maps etc. would be greatly appreciated !

  • Use ffmpeg to watermark and scale an image on video

    11 mai 2015, par Ae.

    I want to be able to watermark videos with a logo image, which contains a website url.
    The videos can be of different formats and dimension.
    I’m trying to figure out a generic ffmpeg command to achieve it, so that i don’t have to tweak the command depending on the video i have to process.
    So far i got :

    ffmpeg -i sample.mov -sameq -acodec copy -vf 'movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' sample2.mov

    In this way though the logo will look too big or too small with video of different size.
    I’ve seen there is a scale option for avfilter, but I haven’t figure out whether it’s possible to resize the image logo based on the dimension of the input video, so that I can say to scale the logo to 1/3 of the video length for example, and keep the image ratio.

    Any idea ? doesn’t need to be done in a single command, could even be a script.
    thanks in advance.

  • encoding jpeg as h264 video

    22 février 2017, par jefftimesten

    I am using the following command to encode an AVI to an H264 video for use in an HTML5 video tag :

    ffmpeg -y -i "test.avi" -vcodec libx264 -vpre slow -vpre baseline -g 30 "out.mp4"

    And this works just fine. But I also want to create a placeholder video (long story) from a single still image, so I do this :

    ffmpeg -y -i "test.jpg" -vcodec libx264 -vpre slow -vpre baseline -g 30 "out.mp4"

    And this doesn’t work. What gives ?

    EDIT : After trying LordNeckbeards answer, here is my full output : http://pastebin.com/axhKpkLx