
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
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 (73)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (9919)
-
x86/vf_v360 : make remap{1,2}_8bit_line_avx2 work on x86_32
6 septembre 2019, par James Almer -
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 ?


-
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