
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (39)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...)
Sur d’autres sites (5900)
-
Anomalie #2924 (Nouveau) : MySQL ne retourne pas toute la table /* warning */
5 janvier 2013, par YannX spipBug relevant plutot de MySQL (détecté avec saveauto 1.0.beta)
l’instruction mysql_query(’SHOW CREATE TABLE spip_articles’) ne renvoit pas le dernier champ (’virtuel’) de meme que phpMyAdmin , au contraire de mysqldump (problème egalement rencontré sur un serveur OVH mutualisé (sql5.modules) (...)
-
FFmpeg doesn't work in Rails 3 app with Apache and Passenger in GoDaddy CentOS
29 décembre 2011, par pablo89I try to upload a .mp4 video file, and it works ; I made a Bash script that calls ffmpeg in order to get the thumbs of the video. It works fine in localhost, but when I uploaded the project to a dedicated server in GoDaddy with CentOS it doesn't work, it doesn't create the thumbnails, and it shows no error. The Rails App is running under Apache with Passenger. I have tried everything, even I gave 0777 permissions to the action and to the Bash script, but nothing, it doesn't show any error, but it doesn't work.
This is the action in Rails (as you can see, I use the commands system and exec) :
def create
if !params[:video][:video].nil?
videoName = params[:video][:video].original_filename.gsub(/\s/,'_')
@video = Video.new({:title => params[:video][:title], :video => "/worshipvideos/#{videoName}"})
else
@video = Video.new({:title => params[:video][:title]})
end
if !params[:video][:video].nil?
tmp = params[:video][:video].tempfile
file = File.join("public/worshipvideos", videoName)
FileUtils.cp tmp.path, file
FileUtils.rm tmp
end
respond_to do |format|
if @video.save
if !params[:video][:video].nil?
logger.debug "./createVideoPics.sh '#{videoName}'"
fork do
system("./createVideoPics.sh '#{videoName}'")
#exec("./createVideoPics.sh '#{videoName}'")
end
@video.update_attribute("pic1", "worship_pics/#{videoName}_1.jpg")
@video.update_attribute("pic2", "worship_pics/#{videoName}_2.jpg")
@video.update_attribute("pic3", "worship_pics/#{videoName}_3.jpg")
end
format.html { redirect_to @video, notice: 'Video was successfully created.' }
format.json { render json: @video, status: :created, location: @video }
else
format.html { render action: "new" }
format.json { render json: @video.errors, status: :unprocessable_entity }
end
end
endThis is the script in Bash :
#!/bin/bash
chmod 0777 "public/worshipvideos/$1"
ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:20 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_1.jpg"
ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:40 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_2.jpg"
ffmpeg -i "public/worshipvideos/$1" -an -ss 00:01:00 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_3.jpg"
echo "End of making thumbs"If I try to make the command in terminal ./createVideoPics.sh "abc.mp4" it works, it makes the thumbs ; it only doesn't work inside the Rails App.
What do you think would be the problem ? thanks in advance
-
FFMPEG : Extracting 20 images from a video of variable length
12 novembre 2013, par VapireI've browsed the internet for this very intensively, but I didn't find what I needed, only variations of it which are not quite the thing I want to use.
I've got several videos in different lengths and I want to extract 20 images out of every video from start to the end, to show the broadest impression of the video.
So one video is 16m 47s long => 1007s in total => I have to make one snapshot of the video every 50 seconds.
So I figured using the -r switch of ffmpeg with the value of 0.019860973 (eq 20/1007) but ffmpeg tells me that the framerate is too small for it...
The only way I figured out to do it would be to write a script which calls ffmpeg with a manipulated -ss switch and using -vframes 1 but this is quite slow and a little bit off for me since ffmpegs numerates the images itself...
Any suggestions or directions ?
Thanks,
Vapire