
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (91)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12985)
-
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
-
Streaming to localhost using FFmpeg doesn't work
16 février 2023, par jostaniseI'm trying to stream my screen using FFmpeg, but I can't access it using VLC player - it keeps loading the stream and doesn't show anything.


The command I use :


ffmpeg -f gdigrab -s 1920x1080 -i desktop -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://localhost:1234



The network URL I put in VLC :


udp://localhost:1234



What am I doing wrong ?


-
x86/vf_v360 : make remap{1,2}_8bit_line_avx2 work on x86_32
6 septembre 2019, par James Almer