
Recherche avancée
Autres articles (91)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6460)
-
HTML5 Video tag switcher for multiple resolutions
20 avril 2016, par somecalmetimI 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="<%= @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="<%= @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 GeneralN00bsRead 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(&ictx,dev,fmt,&options)<0){
printf("get device with options failed.\n");
return NULL;
}
//find stream info.
if(avformat_find_stream_info(ictx,&options)<0){
printf("get stream info with options failed.\n");
return NULL;
}
//not have options.
}else{
if(avformat_open_input(&ictx,dev,fmt,NULL)<0){
printf("get device failed.\n");
return NULL;
}
if(avformat_find_stream_info(ictx,NULL)<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ülekciSorry 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 !