
Recherche avancée
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...) -
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) (...)
Sur d’autres sites (11020)
-
FFMPEG Streaming using RTMP
20 février 2014, par destoI'm trying to create a stream using ffmpeg to send a video to a Red5 Server. I've already managed to do this using this command :
ffmpeg -re -y -i "Videos\Video1.mp4" -c:v libx264 -b:v 600k -r 25 -s 640x360 -t 40 -vf yadif -b:a 64k -ac 1 -ar 44100 -f flv "rtmp://192.168.0.12/live/videostream"
My problem is, when ffmpeg finishes encoding the video, it stops the stream, and thus cuts the video short for 5-10 seconds (for short videos), but this gets worse on larger videos.
Is there a way to stop this behavior ?
I was trying to add a blank 10 second video before and after the original video, but due to some encoding options, I always end up losing audio. And this only kind-of works on the short videos, but on longer videos the problem is still there.Any recommendations ?
-
Copy mp3 with ffmpeg
25 février 2015, par Joseph JohnstonI am trying to create a video out of one image and copy audio on top. Following this (last section), I try
ffmpeg -loop 1 -i img.jpg -i audio.mp3 -c:v libx264 -c:a copy -shortest out.mp4
but get a video with no audio. I think its a problem of the output container (mp4) not supporting mp3. What output container might be best ? Due to quality loss, I am reluctant to convert the mp3 to another format. If my audio is mp3, what might I change about this ffmpeg command ? -
Jwplayer function snapshot using ffmpeg and php
5 janvier 2021, par Offboardbefore anything I'm using version 6, then the Snapshot plugin does not work.



I'm finally with 2 questions, take a sequence of photos of a percentage of the video, so googled it and got this code from ffmpeg :



ffmpeg -i video.mp4 -r 0.5 -f image2 output-%05d.jpeg




so far so good, but I do not know how to take a screen shot of the video by setting the time, if I'm right this code is per frame.



I searched again to get the function that calls the images, to generate good is quite simple, but the problem is that I found the pictures looks is all in one look.



if anyone has any function or know how to do please tell me : D
My English sucks, so do not call if I messed up.