Recherche avancée

Médias (91)

Autres articles (53)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

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

Sur d’autres sites (6208)

  • ffmpeg add all audio tracks to video conversion (mkv)

    7 mars 2016, par blast1987

    I have a script that takes in input a video file (generally avi or mp4) and converts it to a "lower quality" mkv video optimized for web streaming.

    The ffmpeg command I use is this one :

    ffmpeg -fflags +genpts -i file:"$input" -sn -codec:v:0 libx264 -force_key_frames expr:gte\(t,n_forced*5\) -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 1680000 -maxrate 1680000 -bufsize 3360000 -vsync vfr -profile:v high -level 41 -map_metadata -1 -threads 8 -codec:a:0  libmp3lame -ac 2 -ab 320000 -af "aresample=async=1" -y "$output"

    The problem is that this command only includes the first audio track of my video. I have some dual language videos (italian and english) for which I want to include both languages.

    Is there a simple ffmpeg command option that automatically includes all audio tracks found in a video ?

  • How create video from image and sound (ffmpeg)

    29 novembre 2019, par sibbasa

    I need to make a video out of images and music. I use this code :

    Process process = new Process();
    ProcessStartInfo start = new ProcessStartInfo();
    start.FileName = @"d:\test\ffmpeg.exe";
    string argumets = String.Format("-r 6/1 -i d:\\test\\img\\img%d.jpg -i
    d:\\test\\outfiles\\29112019111455.wav -c:v libx264 -c:a aac -b:a 192k -pix_fmt yuv420p -shortest
    d:\\test\\outfiles\\out.mp4");
    Console.WriteLine(argumets);
    start.Arguments = argumets;
    start.WindowStyle = ProcessWindowStyle.Minimized;
    process = Process.Start(start);
    process.WaitForExit();
    process.Refresh();

    But the video is longer than the audio track.
    If the audio track is 60 seconds and there are 6 images, then each image should last 10 seconds.

    Sorry for my English.

  • How can I encode a video in a MP4 container using OpenCV 2.4.10 ? (Win 8.1)

    24 juin 2015, par Angie Quijano

    I have been trying to encode a vector that contains images, in a MP4 video. I have tried to use a lot of FOURCC codecs for this purpose, but I have not been successful.
    I have achieved to encode my vector in a AVI video using as CV_FOURCC code this : CV_FOURCC(’X’,’V’,’I’,’D’), but I really need to obtain a MP4 video. I have tried the following FOURCC codes : MP4S, MP4V, XVID, DVIX, X264, H264, FMP4, and others than I can’t remember.

    My line of code is :

    VideoWriter(videoName, CV_FOURCC('X','2','6','4'), fps, outputSize)
    where videoName = "OutputVideo.mp4", fps = 47, outputSize = [4225x2030].

    I checked if I built my OpenCV with Ffmpeg support and I got this :

    Video I/O:
      Video for Windows:           YES
      DC1394 1.x:                  NO
      DC1394 2.x:                  NO
      FFMPEG:                      YES (prebuilt binaries)
        codec:                     YES (ver 55.18.102)
        format:                    YES (ver 55.12.100)
        util:                      YES (ver 52.38.100)
        swscale:                   YES (ver 2.3.100)
        gentoo-style:              YES
      OpenNI:                      NO
      OpenNI PrimeSensor Modules:  NO
      PvAPI:                       NO
      GigEVisionSDK:               NO
      DirectShow:                  YES
      Media Foundation:            NO
      XIMEA:                       NO
      Intel PerC:                  NO

    I don’t know what I’m doing wrong. Can anyone help me, please ?

    Sorry for my english.