Recherche avancée

Médias (91)

Autres articles (17)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce 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" ;

Sur d’autres sites (7069)

  • vp8 : fix bilinear C code to work if src_stride != dst_stride.

    5 février 2014, par Ronald S. Bultje
    vp8 : fix bilinear C code to work if src_stride != dst_stride.
    

    Signed-off-by : Anton Khirnov <anton@khirnov.net>
    Signed-off-by : Janne Grunau <janne-libav@jannau.net>

    • [DBH] libavcodec/vp8dsp.c
  • wav oggenc html audio -> why it deosn't work in firefox

    19 avril 2016, par ghi

    I have very strange issue. I want to play ogg files on firefox using audio tag. But when I try to run this audio, firebug reporting this error :

    Media resource http://127.0.0.1/packhorse/src/sounds/558143.ogg could not be decoded.


    xhr.send( ( s.hasContent &amp;&amp; s.data ) || null );

    jquery-1.8.2.js (wiersz 8416)
    All candidate resources failed to load. Media load paused.

    I creating this ogg files from wav files generated by timidity++ using oggenc command.
    When I’m trying to open this file directly in firefox, I get black screen with grey box and the following error :

    Video can't be played becouse the file is corrupt.

    But I don’t want to play video - it’s the audio file.

    I was thought that is some mime issue as long as I realized that on chrome everything work correctly. Have you know what can couse that problems ?

    You can download audio file which I want to play on firefox from here :

    http://193.17.184.23/892643.ogg
  • 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 &lt; Upload
     has_attached_file :file, :default_style => :view, :processors => [:ffmpeg],
       :url => &#39;/system/:class/:attachment/:id/:style/:basename.:extension&#39;,
       :path => &#39;:rails_root/public/system/:class/:attachment/:id/:style&#39; \
         + &#39;/:basename.:extension&#39;,
       :default_url => &#39;/images/en/processing.png&#39;,
       :styles => {
         :mp4video => { :geometry => &#39;520x390&#39;, :format => &#39;mp4&#39;,
           :convert_options => { :output => { :vcodec => &#39;libx264&#39;,
             :vpre => &#39;ipod640&#39;, :b => &#39;250k&#39;, :bt => &#39;50k&#39;,
             :acodec => &#39;libfaac&#39;, :ab => &#39;56k&#39;, :ac => 2 } } },
         :oggvideo => { :geometry => &#39;520x390&#39;, :format => &#39;ogg&#39;,
           :convert_options => { :output => { :vcodec => &#39;libtheora&#39;,
             :b => &#39;250k&#39;, :bt => &#39;50k&#39;, :acodec => &#39;libvorbis&#39;,
             :ab => &#39;56k&#39;, :ac => 2 } } },
         :view => { :geometry => &#39;520x390&#39;, :format => &#39;jpg&#39;, :time => 1 },
         :preview => { :geometry => &#39;160x120&#39;, :format => &#39;jpg&#39;, :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 !