
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (98)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12033)
-
Revision 84e62427eb0dbdf3692f746d4848770f6be6b76f : liens_implicite.. au lieu de lien_implicite..., et on evacue le site qui ...
25 septembre 2010, par Cerdic — Logliens_implicite.. au lieu de lien_implicite..., et on evacue le site qui part dans l’extension correspondante git-svn-id : svn ://trac.rezo.net/spip/spip@16308 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d
-
Rails preview for active storage videos not working
17 mai 2022, par FreebianI have a pretty standard model where you can upload videos - so far so good.
The video gets uploaded and is also displayed on the show view. Alle seems to be fine....but :


I cannot get a preview fo to work.


ActiveStorage::Blob.last.previewable?
--> false



ActiveStorage::Blob.video?
--> true



FFMPEG is installed on the system and in the gem file


which ffmpeg 
--> /usr/local/bin/ffmpeg

gem 'streamio-ffmpeg'




And of course if I run preview directly, I get an error


ActiveStorage::Blob.last.preview(resize: "200x200>").processed
--> ActiveStorage::UnpreviewableError (ActiveStorage::UnpreviewableError)




Previewers is having video included


Rails.application.config.active_storage.previewers
--> [ActiveStorage::Previewer::PopplerPDFPreviewer, ActiveStorage::Previewer::MuPDFPreviewer, ActiveStorage::Previewer::VideoPreviewer]




I also tried different video formats, but nothing works and I am out of ideas where to look.
Anybody had the same issue ?


-
Getting video metadata in ruby script using ffmpeg, ffprobe or rvideo
24 janvier 2013, par alexI want to get metadata of videos referenced by a URL using Ruby. At this point, I found many related posts, but could not find out how to solve my problem.
I tried to use RVideo, but when I do :
file = RVideo::Inspector.new(:file => 'http://www.agreatsite.com/avideo.mp4' ;)
It throws
'ArgumentError : File not found (http://www.agreatsite.com/avideo.mp4)...
So I can't get the information using RVideo (but it works well when I have the file hosted on my local computer).
I then tried to use ffprobe, but I don't know how to read the output.
So far, I have the following method, which "shows" the information I want when I run it in the console, but it actually returns "true" and I can't find out how to capture the output I need...def media_info
source = self
command = <<-end_command
ffprobe -v quiet -print_format json -show_format -show_streams #{source}
end_command
command.gsub!(/\s+/, " ")
system(command)
endWould love some help, to make this work with either ffprobe or RVideo !
UPDATE :
I found a way to get what I needed. Not sure this is the best way to do it :def get_media_duration
source = self.media[0][:url]
command = <<-end_command
ffprobe -v quiet -show_streams #{source}
end_command
command.gsub!(/\s+/, " ")
duration = ""
IO.popen(command) { |io| while (line = io.gets) do
puts "++ "+line.inspect
duration = line.split("duration=")[1].gsub("\n", "") if line.split("duration=").length > 1
end
}
durationend
I guess I could make it work that way, but doesn't seem very elegant to me. Better suggestions would be greatly appreciated !