
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (73)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (2895)
-
Live Smooth Streaming in IIS from webcam using FFMPEG
13 mai 2016, par tearvisusI’m trying to do a live stream of video captured by my webcam and host it on IIS using Live Smooth Streaming. Here are the steps I’m taking :
- In the IIS manager’s MIME Types add a new extension :
.isml
with type :application/atom+xml
- In the IIS manager add a publishing point (filename :
myStream.isml
). - Start the publishing point.
- Run the following command :
ffmpeg -hide_banner -y -f dshow -rtbufsize 100000k -i video="Lenovo EasyCamera":audio="Microphone (Realtek High Definition Audio)" -movflags isml+frag_keyframe -s 854x480 -f ismv http://localhost/myStream.isml/Stream(video)
- Play the stream from the location
http://localhost/myStream.isml/manifest
using VLC.
The problem is that the playback stops a few seconds before the moment in which I opened the stream with VLC. If I reopen the stream again, it will play from around the moment the first playback stopped to the moment the second playback started.
What I’m trying to achieve is to make the clients see the video from the moment they open the stream to the moment they disconnect. A delay up to a few seconds is acceptable. Obviously, the playback should not end regardless of the connection moment.
How can I do this ? Should I change something in the FFMPEG’s command or in the IIS ?
Note : A solution using tools other than FFMPEG is acceptable, as long as they are free (as in beer).
EDIT : Changed the description of problematic playback.
- In the IIS manager’s MIME Types add a new extension :
-
rails streamio-ffmpeg does not find uploaded video files
26 avril 2016, par FelixI try to make a screenshot as thumbnail of a movie while uploading.
My code looks like this at the moment
require 'rubygems'
require 'streamio-ffmpeg'
def uploadMovie
@channels = Channel.all
@vid = Movie.new(movies_params)
@channel = Channel.find(params[:vid][:channel_id])
@vid.channel = @channel
if @vid.save
flash[:notice] = t("flash.saved")
movieFile = FFMPEG::Movie.new(@vid.video.to_s)
screenshot = movieFile.screenshot("uploads/screenshot", :seek_time => 10)
render :add
else
render :add
end
endBut when I do this I got this error :
No such file or directory - the file 'http://.s3.amazonaws.com/uploads/movie/video/7/2016-04-24_16.26.10.mp4' does not exist
That should be okay because I upload the movies to Amazon S3 with carrierwave ...
What’s going wrong in this case ?
-
Anomalie #3386 : Spip derrière Varnish : port non-standard dans l’URL ?
27 septembre 2018, par cedric -A partir du moment où les
$_SERVER['HTTP_X_FORWARDED_PROTO']==='https'
et où$_SERVER['HTTP_X_FORWARDED_HOST']
et$_SERVER['HTTP_X_FORWARDED_PORT']
sont renseignées tout marche très bien
Regarde ta config et complète si besoin les valeurs manquantes, mais on ne peut pas prévoir tous les cas possibles, c’est donc à toi de gérer ça dans ton mes_options en renseignant ces variables si besoin