Recherche avancée

Médias (91)

Autres articles (25)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (6393)

  • Increase the sound of the first input in certain moments

    22 mars 2023, par Ali Azmoodeh

    I have a code that has two inputs. The first entry is played with a 2 second delay. The second entry is played with a 1 second delay. These entries are repeated as the video progresses. The volume of the two inputs sometimes overlaps

    


    when this happens I want the volume of the first input to be 1 and the volume of the input The latter should be set to 0.3

    


  • 【carrierwave+ffmpeg】can't upload the video with sound

    10 avril 2020, par ken akita

    I want to make "Fake Instagram" Rails application.
then I made the uploader and I can upload the video(mp4), but no sound.
I can listen to the sound on my desktop but can't on my application, like this image, speakers not working.
enter image description here

    



    Code is here. I guess something wrong with image_uploader.rb or show.html.erb.
Note that first I made the ImageUploader to upload image, then I want to add video posting system to upload video. Both uploading done, but video without sound.
Really thank you for your advise !

    



    *image_uploader.rb
require 'streamio-ffmpeg'

class ImageUploader < CarrierWave::Uploader::Base
  include CarrierWave::MiniMagick
  process resize_to_fit: [230, 183]

  storage :file

  def store_dir
    "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
  end

  version :thumb do
    process resize_to_fit: [230, 183]
  end
  version :screenshot do
    process :screenshot
    def full_filename (for_file = model.logo.file)
      "screenshot.jpg"
    end
  end

  def screenshot
    tmpfile = File.join(File.dirname(current_path), "tmpfile")

    File.rename(current_path, tmpfile)

    movie = FFMPEG::Movie.new(tmpfile)
    movie.screenshot(current_path + ".jpg", {resolution: '230x183' }, preserve_aspect_ratio: :width)
    File.rename(current_path + ".jpg", current_path)

    File.delete(tmpfile)
  end

  def extension_whitelist
    %w(jpg jpeg gif png mp4)
  end
end


    



    *show.html.erb&#xA;<h1>Stroll</h1>&#xA;<p>&lt;%= notice %></p>&#xA;<p></p>&#xA;&lt;% if @stroll[:image] == nil %>&#xA;  &lt;%= image_tag"03summer_ver8-l.jpg", width:"230", height:"183" %>&#xA;&lt;% elsif @stroll.image.file.content_type.include?(&#x27;video/&#x27;) %>&#xA;  &lt;%= link_to @stroll.image_url.to_s do %>&#xA;  &lt;%= image_tag(@stroll.image_url(:screenshot).to_s, id: "image", :alt => "screenshot") %>&#xA;  &lt;% end %>&#xA;&lt;% else %>&#xA;  &lt;%= image_tag(@stroll.image.url) if @stroll.image &amp;&amp; @stroll.image.url %>&#xA;&lt;% end %>&#xA;<p>user &lt;%= @stroll.user.name %></p>&#xA;<p>『&lt;%= @stroll.title %>』</p>&#xA;<p>content: &lt;%= @stroll.content %></p>&#xA;<p>tag: &lt;%= @stroll.tag %></p>&#xA;<p>comment: </p>&#xA;<div>&#xA;  &lt;%= render partial: &#x27;comments/index&#x27;, locals: { comments: @comments, stroll: @stroll } %>&#xA;</div>&#xA;&lt;% if user_signed_in? &amp;&amp; @stroll.user_id != current_user.id %>&#xA;  &lt;%= render partial: &#x27;comments/form&#x27;, locals: { comment: @comment, stroll: @stroll } %>&#xA;&lt;% end %>&#xA;&lt;% if current_user %>&#xA;  &lt;% unless @stroll.user_id == current_user.id %>&#xA;    &lt;% if @favorite.present? %>&#xA;      &lt;%= link_to &#x27;cancel&#x27;, favorite_path(id: @favorite.id), method: :delete, class: &#x27;btn btn-info&#x27; %>&#xA;      &lt;% else %>&#xA;      &lt;%= link_to &#x27;Like!&#x27;, favorites_path(stroll_id: @stroll.id), method: :post, class: &#x27;btn btn-warning&#x27; %>&#xA;    &lt;% end %>&#xA;  &lt;% end %>&#xA;&lt;% end %>&#xA;&amp;emsp;&#xA;&lt;%= link_to "Index", strolls_path %>&#xA;

    &#xA;

  • libopenh264 : Support building with the 1.6 release

    8 juillet 2016, par Martin Storsjö
    libopenh264 : Support building with the 1.6 release
    

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/libopenh264dec.c
    • [DBH] libavcodec/libopenh264enc.c