Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (5686)

  • Using GStreamer to receive and send h264 video (from OBS)

    16 mars 2020, par Ivorius

    I’ve been trying to set up using GStreamer to get support for some input I can output from OBS.

    OBS : rtp_mpegts to udp ://localhost:5000

    http-launch 8080 webmmux streamable=true name=stream udpsrc uri=udp://localhost:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)
    33" ! gstrtpjitterbuffer latency=200 ! application/x-rtp ! rtpmp2tdepay ! video/mpegts ! mpegtsdemux ! video/x-h264 ! queue ! decodebin ! vp8enc ! stream.   audiotestsrc ! vorbisenc ! stream.

    However, using this it seems to accept connections, but just closes them again after a while. Any clues on what I am doing wrong ? I am open to any format changes as long as they’re supported by OBS / ffmpeg.

    As a bonus, how do I add support for audio as well ?

    Background

    I’ve found https://github.com/sdroege/http-launch, which works well in displaying a GStreamer video over http:

    <video autoplay="autoplay" controls="">
       <source src="https://localhost:8080" type="video/mp4" codecs="avc1.4D401E, mp4a.40.2">
       You browser doesn't support element <code>video

    .

    I’ve managed to set up a pipeline where I can use a GStreamer source to pipe into a http-launch
    pipeline and display it on video :

    http-launch 8080 webmmux streamable=true name=stream udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! mpegtsdemu
    x ! h264parse ! TIViddec2 ! videoconvert ! vp8enc ! stream.   audiotestsrc ! vorbisenc ! stream.

    gst-launch-1.0 -v videotestsrc ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! udpsink host=127.0.0.1 port=5000

    However, I don’t think OBS supports rpt over UDP. It uses ffmpeg to send these packets, which can stream rtp_mpegts. I’ve found some code snippets which claim to support the format, and stitch together the above pipeline.

  • Creating Thumbnail Image from Video using FFMPEG is not working in ASP.NET Core

    17 août 2020, par TanvirArjel

    I am trying to create thumbnail image for uploaded video with FFMPEG in ASP.NET Core as follows :

    &#xA;&#xA;

    private void GetThumbnail(IFormFile file)&#xA;{&#xA;        var fileName = CreateEmployeeViewModel.Video.FileName;&#xA;        var webRootPath = _webHostEnvironment.WebRootPath;&#xA;        var filePath = Path.Combine(webRootPath, "videos", fileName);&#xA;&#xA;        var fileExtension = Path.GetExtension(filePath);&#xA;        var thumbnailImageName = fileName.Replace(fileExtension, ".jpg");&#xA;        var thumbnailImagePath = Path.Combine(webRootPath, "thumbnails", thumbnailImageName);&#xA;&#xA;        ProcessStartInfo startInfo = new ProcessStartInfo();&#xA;&#xA;        string arguments = $"-i {filePath} -ss 00:00:14.435 -vframes 1 {thumbnailImagePath}";&#xA;&#xA;        startInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "Ffmpeg\\ffmpeg.exe");&#xA;        startInfo.CreateNoWindow = false;&#xA;        startInfo.UseShellExecute = false;&#xA;        startInfo.RedirectStandardError = true;&#xA;        startInfo.RedirectStandardOutput = true;&#xA;        startInfo.WindowStyle = ProcessWindowStyle.Hidden;&#xA;        startInfo.Arguments = arguments;&#xA;&#xA;        try&#xA;        {&#xA;            Process process = Process.Start(startInfo);&#xA;            process.WaitForExit(5000);&#xA;            process.Close();&#xA;        }&#xA;        catch&#xA;        {&#xA;            // Log error.&#xA;        }&#xA;&#xA;}&#xA;

    &#xA;&#xA;

    It's not showing any error but it's also not generating the thumbnail image. am I missing anything please ?

    &#xA;&#xA;

    Note : if I execute the above configuration from command line its works !

    &#xA;

  • How to run the set of commands in windows command line

    24 février 2020, par robert.little

    x264-preset is used in the second command (Cmd 2). Is it substitution or ?

    Cmd 1 :

    x264-preset:
    vcodec=libx264
    thread_type=slice
    slices=1
    profile=baseline
    level=32
    preset=superfast
    tune=zerolatency
    intra-refresh=1
    crf=15
    x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60

    Cmd 2

    $ ffmpeg -r 30 -f dshow -i video="devicename" -pix_fmt yuv420p -an -vpre
    x264-preset -f mpegts udp://127.0.0.1:8888

    When I run the Cmd 1 it doesn’t work. Even with the SET like :

    x264-preset:
    SET vcodec=libx264
    SET thread_type=slice
    SET slices=1
    SET profile=baseline
    SET level=32
    SET preset=superfast
    SET tune=zerolatency
    SET intra-refresh=1
    SET crf=15
    SET x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60

    Source :
    https://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-January/030127.html