Recherche avancée

Médias (91)

Autres articles (83)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (6839)

  • FFMPEG work against LGPL licence [on hold]

    10 mars 2016, par nat

    possible to add libraries to the FFMPEG core library base ?

    Ive been doing the followdfa with no luck :

    Activity t = new Int();
  • Rails 3 : How can I make Paperclip-FFMPEG work ?

    9 novembre 2011, par remino

    I have Rails 3.0.3 with these gems :

    • delayed_job 2.1.4
    • delayed_paperclip 0.7.1
    • paperclip 2.3.16
    • paperclip-ffmpeg 0.7.0

    (This combination is very specific. Some newer gems will not work with others.)

    Here's my Video model :

    class Video < Upload
     has_attached_file :file, :default_style => :view, :processors => [:ffmpeg],
       :url => '/system/:class/:attachment/:id/:style/:basename.:extension',
       :path => ':rails_root/public/system/:class/:attachment/:id/:style' \
         + '/:basename.:extension',
       :default_url => '/images/en/processing.png',
       :styles => {
         :mp4video => { :geometry => '520x390', :format => 'mp4',
           :convert_options => { :output => { :vcodec => 'libx264',
             :vpre => 'ipod640', :b => '250k', :bt => '50k',
             :acodec => 'libfaac', :ab => '56k', :ac => 2 } } },
         :oggvideo => { :geometry => '520x390', :format => 'ogg',
           :convert_options => { :output => { :vcodec => 'libtheora',
             :b => '250k', :bt => '50k', :acodec => 'libvorbis',
             :ab => '56k', :ac => 2 } } },
         :view => { :geometry => '520x390', :format => 'jpg', :time => 1 },
         :preview => { :geometry => '160x120', :format => 'jpg', :time => 1 }
       }
     validates_attachment_content_type :file, :content_type => VIDEOTYPES,
       :if => Proc.new { |upload| upload.file.file? }
     process_in_background :file
    end

    When creating a new Video object with attachment, the original is saved, but no conversion will be done. Even calling Video.last.file.reprocess! won't to a thing except returning true. (Not sure what "true" means in this case as it didn't work.)

    I tried hardcoding the path to ffmpeg in Paperclip::options[:command_path]. I even tried deleting the paperclip-ffmpeg.rb file and replacing it with a blank file. Really thinking I'd get an exception by doing the later, instead, I simply got "true" again.

    It feels like the paperclip-ffmpeg.rb is being loaded, because it is required by config/application.rb, but nothing is called in it when trying to generate a thumbnail or convert a video.

    Can anyone help me with this ? Thanks in advance !

  • Révision 17550 : exec=plan en lien depuis la boussole, qui propose un plan de site complet (inspi...

    28 mars 2011, par cedric -

    Un clic sur une rubrique permet de restreindre le plan sur une branche donnée. On laisse la page articles_tous inchangée tant qu’elle n’est pas complètement remplacée, mais elle n’est plus linkée nulle part.