Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (66)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (10572)

  • 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

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

    



    private void GetThumbnail(IFormFile file)
{
        var fileName = CreateEmployeeViewModel.Video.FileName;
        var webRootPath = _webHostEnvironment.WebRootPath;
        var filePath = Path.Combine(webRootPath, "videos", fileName);

        var fileExtension = Path.GetExtension(filePath);
        var thumbnailImageName = fileName.Replace(fileExtension, ".jpg");
        var thumbnailImagePath = Path.Combine(webRootPath, "thumbnails", thumbnailImageName);

        ProcessStartInfo startInfo = new ProcessStartInfo();

        string arguments = $"-i {filePath} -ss 00:00:14.435 -vframes 1 {thumbnailImagePath}";

        startInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "Ffmpeg\\ffmpeg.exe");
        startInfo.CreateNoWindow = false;
        startInfo.UseShellExecute = false;
        startInfo.RedirectStandardError = true;
        startInfo.RedirectStandardOutput = true;
        startInfo.WindowStyle = ProcessWindowStyle.Hidden;
        startInfo.Arguments = arguments;

        try
        {
            Process process = Process.Start(startInfo);
            process.WaitForExit(5000);
            process.Close();
        }
        catch
        {
            // Log error.
        }

}


    



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

    



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

    


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