Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (103)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (5733)

  • Building A livestreaming server like youtube from scratch

    9 décembre 2022, par Dipo Ahmed

    I am trying to build a live streaming server like youtube where I can watch the video live or if I want to I can play the video from any duration I want.

    


    What I have tried so far.
I have built a node js WebSocket server where I push the video blob that I receive from the browser via MediaRecorder API every 2 seconds. This blob is then getting converted to hls by a ffmpeg process which generates 2 seconds *.ts files and a .m3u8 file which I am playing with video.js in browser.

    


    This is my ffmpeg command

    


     spawn('ffmpeg', [
        '-i', '-',
        // '-re',
        '-fflags', '+igndts',

        '-vcodec', 'h264',
        '-acodec', 'aac',

        '-preset', 'slow',
        '-crf', '22',
        // You can also use QP value to adjust output stream quality, e.g.: 
        // '-qp', '0',
        // You can also specify output target bitrate directly, e.g.:
        '-b:v', '1500K',
        '-b:a', '128K', // Audio bitrate

        '-f', 'hls',
        '-hls_time', '1',
        // '-hls_playlist_type', 'vod',
        '-hls_list_size', '2',
        '-hls_flags', 'independent_segments',
        '-hls_segment_type', 'mpegts',
        '-hls_segment_filename', `${path}/stream%02d.ts`, `${path}/stream.m3u8`,
    ]);


    


    The problem is that the video js player duration is not updating like in youtube where the video duration increases every second.

    


    Any direction will be appreciated. Please tell me if my approach is wrong and what needs to be learned for me to build this system.

    


  • Use a HEAD request for the upload server status check.

    10 février 2012, par Sebastian Tschan

    m js/main.js Use a HEAD request for the upload server status check.

  • FFMPEG Does not work on Windows Server 2008

    25 août 2011, par Khaldoun

    I have an ASP.NET MVC Web Site ,the user can upload a video and When Done It finish uploading I show him an image extracted from the Video,
    To do this I used the FFMPEG exe to get a frame.
    Everthing works well in the developement machine , when I use the test environement it does not work !!
    I've given the read/write and execute permissions to following folders :
    1. videos(folder that store uploaded video files)
    2. thumbnails (folder that store the thumbnails of videos, captured by ffmpeg)
    3.ffmpeg.exe file at root and given read/write execute permissions to that file also.
    but it does not work.

    var _converter = new ImageConvertor(@System.Configuration.ConfigurationManager.AppSettings["FFmpegExec"].ToString());
               _converter.WorkingPath = Server.MapPath("~/VideoSamples");
               OutputPackage oo = _converter.ConvertToFLV(videoFilepath);
               FileStream outStream = System.IO.File.OpenWrite(Path.Combine(Server.MapPath("~/VideoSamples"), id.ToString() + ".flv"));
               oo.VideoStream.WriteTo(outStream);

    This Code Works on developement env but not in test env !!!
    Any Ideas Please