Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (82)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7228)

  • FFMPEG rgb image from named pipe in to h256 rawvideo out to named pipe out

    12 octobre 2018, par Evren Bingøl

    I am forking an ffmpeg and piping in rgb0 images and read hvec rawvideo (h256 frames) out.

    This is the command I am using

    ffmpeg -y -video_size 176x144 -f rawvideo -pix_fmt rgb0 -i
    \\\\.\\pipe\\my_pipe  -c:v libx265   -f rawvideo  \\\\.\\pipe\\my_pipe_out

    The issue is I never hear anything in ffmpeg when I try to read the pipe, so ffmpeg is not spitting anything out.

    When piping data into ffmpeg, I would assume that ffmpeg knows by the format parameter that it is rgb, and by the dimensions parameter, its size and calculates when a certain amount of data it received from pipe in is a full frame rgb image, processes it, and spits back hvec from pipe out.

    But it blocks as if it is accepting more data even though a full rgb image is piped in.

    Is what I am trying to do doable ?

  • Proper way to pipe raw video to ffmpeg in c#

    11 octobre 2018, par Wahid Masud

    In my Asp.NET MVC app I’m trying to pipe the video from Request.Files[] to the ffmpeg.exe process. The code produces an output file, but I’m getting a static video, no contents there. And I’m not sure if the problem is in the arguments or in the code.

    var request = System.Web.HttpContext.Current.Request;
    var stream = request.Files["upload"].InputStream;
    var ffmpeg = System.Web.HttpContext.Current.Server.MapPath("~/FFMpeg/ffmpeg.exe");
    var outputDir = System.Web.HttpContext.Current.Server.MapPath("~/Uploads/converted.mp4");

    var inputArgs = "-f rawvideo -pix_fmt rgb32 -video_size 1280x720 -i -";
    var outputArgs = "-vcodec libx264 -crf 23 -pix_fmt rgb32 -preset ultrafast " + outputDir;

    var process = new Process
    {
       StartInfo =
       {
           FileName = ffmpeg,
           Arguments = $"{inputArgs} {outputArgs}",
           UseShellExecute = false,
           CreateNoWindow = true,
           RedirectStandardInput = true
       }
    };

    process.Start();

    var ffmpegIn = process.StandardInput.BaseStream;

    // Write Data
    byte[] buffer = new byte[stream.Length];
    stream.Read(buffer, 0, (int)stream.Length);
    ffmpegIn.Write(buffer, 0, (int)stream.Length);

    ffmpegIn.Flush();
    ffmpegIn.Close();  

    The video size is always 1280x720 but framerate may vary, so I’m not sure if the inputArgs is right. Any suggestions would be appreciated.

  • ffmpeg mp3 encoding result differs between pipe and file creation

    11 octobre 2018, par Jinsung Lee

    I’m making the program by using ffmpeg but stuck in some problem

    Encode to mp3 and file out

    ffmpeg -nostats -loglevel 0 -i example.weba -i albumart.jpg -map 0:0 -map 1:0 -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" out.mp3

    this works very good but

    Encode to mp3 and pipe out

    ffmpeg -nostats -loglevel 0 -i example.weba -i albumart.jpg -map 0:0 -map 1:0 -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" -f MP3 - > out.mp3

    using pipe output i got

    ffmpeg -i out.mp3
    [mp3 @ 0000000001028980] Header missing

    This error

    I need to get this mp3 data with oneline php shell_exec command

    any solution ?

    Thanks