
Recherche avancée
Autres articles (61)
-
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7100)
-
uninitialized constant Paperclip::Error with paperclip-ffmpeg
7 mai 2014, par KashiftufailI am using Paperclip , and paperclip-ffmpeg for processing uploads. Below is my code
class Asset < ActiveRecord::Base
belongs_to :profile
has_attached_file :photo, :styles => {
:mobile => {:geometry => "400x300", :format => 'mp4', :streaming => true}
}, :processors => [:ffmpeg]
validates_attachment_content_type :photo, :content_type => ['image/jpeg', 'image/png', 'image/gif', 'application/msword', 'application/pdf', 'video/x-flv']end
when i upload image or video file then it is working properly. But when i upload PDF or doc
file, this error occurs.
"uninitialized constant Paperclip::Error"
Any help ??
Or How i can put if condition validation if upload file is PDF or Doc. Then i can skip this
below code. Because this is cause of error when file type is PDF or Doc.
":styles => {
:mobile => {:geometry => "400x300", :format => 'mp4', :streaming => true}
}, :processors => [:ffmpeg]"Thanks
-
How to determine the best way to split video and merge it back ?
6 novembre 2018, par Rami AlzebakLet’s say that I want to convert a Video to different resolution.
The workflow is as follows :
1- Splitting the video into n blocks
2- Convert the resolution of the block
3- Merge the blocksThe reason why I am doing is to achieve the conversion process on parallel workers (not necessarily threads )
The issue is I can’t determine what is the best number of blocks to split the video.
E.g : When splitting a large video into 10 blocks it will reduce the total time .
but when splitting a small one it may increase the total time .any hints or keys on the topic ?
-
Evolution #2763 : supprimer les style en ligne sur les span des modèles d’images
16 août 2012, par Valéry -+1 sur cette demande : en règle générale les styles en ligne me semblent naturellement devoir être bannis de tout code généré frontoffice.