Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (100)

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

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5194)

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

  • 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 ;&#xA;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 ?

    &#xA;

    Example ;

    &#xA;

    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&#xA;

    &#xA;

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

    &#xA;

    Thank you !

    &#xA;