
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (30)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (4128)
-
fate : add test for the unsharp video filter.
25 février 2012, par Nicolas Georgefate : add test for the unsharp video filter.
-
fate : add test for the life video source.
25 février 2012, par Nicolas Georgefate : add test for the life video source.
-
Convert video with paperclip and ffmpeg in Ruby on Rails
16 juin 2014, par AtuI want to convert my uploaded video with ffmpeg, but I had few error. I use paperclip and ffmpeg but nothing happen. The structure of my application is one post
has_many
videos.this my video model :
belongs_to :event
validates_attachment_presence :source
has_attached_file :source
after_create :convert_in_flv, :set_new_filename
def convert_in_flv
flv = File.join(File.dirname(source.path), "#{id}.flv")
system("ffmpeg -i #{source.path} -ar 22050 -ab 32 -s 480x360 -vcodec flv -r 25 -qscale 8 -f flv -y #{flv}")
end
def set_new_filename
update_attribute(:source_file_name, "#{id}.flv")
endand this my video controller
def create
@event = Event.find(params[:event_id])
@video = @event.videos.create(params[:video])
redirect_to event_path(@event)
end
def destroy
@event = Event.find(params[:event_id])
@video = @event.videos.find(params[:id])
@video.destroy
redirect_to event_path(@event)
endThe video is successful upload but not converted. You had any solution ?