
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (30)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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) (...)
-
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (6472)
-
Fixed : Github issue #5 : I can't encode chinese
12 août 2012, par GrandtFixed : Github issue #5 : I can't encode chinese
-
Unable to upload/convert videos using Paperclip-FFMPEG gem
30 juillet 2012, par GraemeI'm still a bit of a Ruby on Rails newbie (running Rails 3.2.6 and Ruby 1.9.3p194), but I'm finding it very difficult to convert video files using the paperclip-ffmpeg gem. No matter what I do, an error message is displayed on the page after attempting to upload the video :
"cannot load such file : /[...My info...]/lib/paperclip_processors/ffmpeg.rb"
I'm trying to test using .mov files for the moment.
I'm trying to follow the instructions on the gem's github page, but without much success.
Firstly, I'm using a Mac (Snow Leopard) and ffmpeg is installed (running
which ffmpeg
tells me it's in/user/local/bin/ffmpeg
)In my application, I've added the following lines to the gemfile :
gem 'paperclip'
gem 'paperclip-ffmpeg'I've also added
Paperclip.options[:command_path] = "/usr/local/bin/"
to config/environments/development.rb as per the instructions :Myapp::Application.configure do
...
Paperclip.options[:command_path] = "/usr/local/bin/"
end(The instructions also suggest "in your environment config file, let Paperclip know to look there by adding that directory to its path", but I don't know what this means - maybe this is the problem ?).
My class is structured as follows :
class Myvideo > ActiveRecord::Base
attr_accessible :description, :title, :video
has_attached_file :video, :styles => {
:medium => { :geometry => "640x480", :format => 'flv' }
}, :processors => [:ffmpeg]
endMy understanding is that the above code converts the uploaded movie from .mov (or whatever) to .flv format.
However, the error I describe above appears whenever the user clicks on the Upload button (save for a few seconds while the video appears to be uploading).
Note that I can upload a video via the standard Paperclip gem without converting with no problems. Therefore, this code works (i.e. the video is uploaded but no conversion occurs) :
attr_accessible :description, :title, :video
has_attached_file :videoAny ideas where I might be going wrong ? Thanks !
-
ffmpeg : how to draw epoch timestamp on each frame
25 juillet 2012, par FshlyI did some homework here :
To draw timecode on ffmpeg :
ffmpeg -i in.mp4 -vf "drawtext=fontfile=/usr/share/fonts/truetype/DroidSans.ttf: timecode='09\:57\:00\:00': r=25: \
x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" -an -y out.mp4To output epoch in Linux :
date +%s
My question is how to draw timestamp in epoch on each frame in ffmpeg ?