Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (84)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8487)

  • Ignore Connection Error on Multiple Rtsp Stream in FFmpeg

    17 décembre 2022, par Onur Külekci

    Sorry for my bad English. My problem is ;
ffmpeg command closes completely when one of the streams cannot be reached while multicasting. when it can't reach a single rtsp address, how can it ignore it and continue broadcasting from the others ?

    


    Example ;

    


    ffmpeg -i rtsp://5.63.151.4:443/atv/atv2 -map 0 c:\atv.flv -i rtsp://live.sabah.com.tr:443/ahaber/ahaber3 -map 1 c:\ahaber.flv


    


    if it can't reach the 2nd link, keep playing the first one

    


    Thank you !

    


  • AVFormatContext with alsa,v4l2 to output AVFormatContext

    8 mars 2017, par GeneralN00bs

    Read first : I’m a new guy with Stack Overflow, and poor English, so please excuse my English, which is really bad.

    I’m trying to do web streaming with open input device ; audio, video devices to HTML5 video.

    for example, this project using ffmpeg command to like this :

    ffmpeg -f v4l2 -i <video devices="devices"> -f alsa -i <audio devices="devices"> -f mpegts -codec:v mpeg1video -b:v 800k -framerate 24 -codec:a mp2 -b:a 128k http://localhost:8082/secret
    </audio></video>

    Here’s the main question : I can open 2 avformatcontext with C language like this :

    AVFormatContext* get_ctx(const char* dev,const char* driver,AVDictionary *options)
    {
         AVFormatContext *ictx = avformat_alloc_context();
         AVInputFormat *fmt = NULL;

         //get input format.
         fmt = av_find_input_format(driver);
         //if have options
         if(options){
             //open device with options
             if(avformat_open_input(&amp;ictx,dev,fmt,&amp;options)&lt;0){
                 printf("get device with options failed.\n");
                 return NULL;
             }
             //find stream info.
             if(avformat_find_stream_info(ictx,&amp;options)&lt;0){
                 printf("get stream info with options failed.\n");
                 return NULL;
             }
         //not have options.
         }else{
             if(avformat_open_input(&amp;ictx,dev,fmt,NULL)&lt;0){
                 printf("get device failed.\n");
                 return NULL;
             }
             if(avformat_find_stream_info(ictx,NULL)&lt;0){
                 printf("get stream info failed.\n");
                 return NULL;
             }
         }
         av_dump_format(ictx,0,adev,0);
         return ictx;
     }

    Well, get v4l2 and alsa devices successfully using function above. but
    I can’t figure it out (2 input avformatcontext) to output avformatcontext.
    Any idea how can I am muxing 2 avformatcontext to output avformatcontext ?

  • HTML5 Video tag switcher for multiple resolutions

    20 avril 2016, par somecalmetim

    I have a Rails 4 app setup as a video upload/sharing site. I am using paperclip to upload videos and ffmpeg for processing 2 sizes of video into Mp4, ogg and webm.

    I want to show the smaller 240p video to mobile devices. I can do that now with media queries or Bootstraps adaptive tags but I would prefer a "resolution switcher" button similar to what I see on various other sites showing "240, 480, 720, 1080" Is this possible to do automatically within the HTML5 video tag similar to the "CC Closed Captioning" button that appears when you add subtitle files ?

    I was trying to avoid using a custom player.

    This was my quick bootstrap solution but would prefer a button/switcher.

    <div class="hidden-xs">
       <video style="width:100%" autobuffer="autobuffer" controls="controls" poster="&lt;%= @video.attachment.url(:preview) %>"><source label="720" type="video/mp4" default="default"><source label="ogg" type="video/ogg"><source label="webm" type="video/webm"><track label="English" kind="subtitles" srclang="en" src="/assets/subtitles.vtt" default="default"><p>Your Browser does not support the video tag.</p></track></source></source></source></video>
    </div>
    <div class="visible-xs">
       <video style="width:100%" autobuffer="autobuffer" controls="controls" poster="&lt;%= @video.attachment.url(:preview) %>"><source label="360" type="video/mp4" default="default"><source label="ogg mobile" type="video/ogg"><source label="webm mobile" type="video/webm"><track label="English" kind="subtitles" srclang="en" src="/assets/subtitles.vtt" default="default"><p>Your Browser does not support the video tag.</p></track></source></source></source></video>
    </div>