Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • 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.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8868)

  • Revision c8ed36432e : Non-uniform quantization experiment This framework allows lower quantization bi

    4 mars 2015, par Deb Mukherjee

    Changed Paths :
     Modify /configure


     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/common/vp9_onyxc_int.h


     Modify /vp9/common/vp9_quant_common.c


     Modify /vp9/common/vp9_quant_common.h


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_detokenize.c


     Modify /vp9/encoder/vp9_block.h


     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_encodemb.h


     Modify /vp9/encoder/vp9_quantize.c


     Modify /vp9/encoder/vp9_quantize.h


     Modify /vp9/encoder/vp9_rdopt.c



    Non-uniform quantization experiment

    This framework allows lower quantization bins to be shrunk down or
    expanded to match closer the source distribution (assuming a generalized
    gaussian-like central peaky model for the coefficients) in an
    entropy-constrained sense. Specifically, the width of the bins 0-4 are
    modified as a factor of the nominal quantization step size and from 5
    onwards all bins become the same as the nominal quantization step size.
    Further, different bin width profiles as well as reconstruction values
    can be used based on the coefficient band as well as the quantization step
    size divided into 5 ranges.

    A small gain currently on derflr of about 0.16% is observed with the
    same paraemters for all q values.
    Optimizing the parameters based on qstep value is left as a TODO for now.

    Results on derflr with all expts on is +6.08% (up from 5.88%).

    Experiments are in progress to tune the parameters for different
    coefficient bands and quantization step ranges.

    Change-Id : I88429d8cb0777021bfbb689ef69b764eafb3a1de

  • ruby on rails carrierwave-video ffmpeg AWS

    11 mars 2015, par Joseph Han Nim Jang

    I am trying to create an academic site where users can upload lecture videos and other users can view them - similar to a site like Udemy.

    I am using Carrierwave, Carrierwave-video (for encoding videos), AWS to make this happen. AWS configuration has been done, and it’s working.

    However, I am getting this error. (By the way, I am testing this video feature in a Yelpdemo site, so I am trying to have users upload videos to restaurants for now.)

    rails points the error to @restaurant = Restaurant.new(restaurant_params)

    Errno::ENOENT in RestaurantsController#create

    No such file or directory - ffmpeg

    # POST /restaurants.json
    def create
    @restaurant = Restaurant.new(restaurant_params)

    respond_to do |format|
     if @restaurant.save

    This is my video_uploader.rb

    # encoding: utf-8

    class VideoUploader < CarrierWave::Uploader::Base

     include CarrierWave::Video
     include CarrierWave::Video::Thumbnailer

     process encode_video: [:mp4]

     include CarrierWave::MiniMagick

     storage :fog

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

      version :thumb do
         process thumbnail: [{format: 'png', quality: 10, size: 192, strip: true, logger: Rails.logger}]
         def full_filename for_file
           png_name for_file, version_name
         end
     end

       def png_name for_file, version_name
         %Q{#{version_name}_#{for_file.chomp(File.extname(for_file))}.png}
       end
    end

    I have manually (added a file to the model) created video.rb in the model - not sure if this is the right way to do it..

    class Video < ActiveRecord::Base

     attr_accessor :user_id, :video,, :type, :filename, :path, :filesize, :width, :height, :duration, :bit_rate

     belongs_to :restaurant
     belongs_to :user

     mount_uploader :video, VideoUploader
    end

    in app/views/restaurants/show.html.erb for showing the video. Right now, without the encoding done, I can see like an image of the video. When I right lick and copy the code - it gives me the AWS URL which means AWS configuration is in place

           <p>
               <strong>Video:</strong>
               &lt;%= video_tag @restaurant.video_url %>
           </p>

    I am trying to show videos like this.

    I have downloaded FFMPEG (both ffmpeg-2.6 and SnowLeopard_Lion_Mountain_Yosemite_17) - not sure which one’s the right one.. And I have read somewhere that you need to place FFMPEG in your usr/local/bin -> So do you have to physically place ffmpeg exec file in your respective folder ?

    Need your expert help please.

    Thank you in advance !

  • Error with IO.popen and ffmepg

    6 mars 2015, par Florian Dano Clement

    I received files in mp3 (2 minutes/files) I want to concatenate together and create a bigger file. So I created my model a function to do this using ffmpeg and IO.popen

    FileUtils.mkdir_p "#{Rails.root}/tmp/files"
    imported_dir = "#{Rails.root}/tmp/files/#{SecureRandom.uuid}"
    links.each_with_index do |link, index|
     file_path = "#{imported_dir}_#{index}#{File.extname(link)}"
     File.open(file_path, 'wb') do |file|
       file.write open(link).read
     end
     concat_list &lt;&lt; "file '#{file_path}'\n"
    end
    File.open("#{imported_dir}.txt", 'w'){ |f| f.write(concat_list)}
    io = IO.popen("#{Rails.root}/lib/ffmpeg/ffmpeg -f concat -i #{imported_dir}.txt -c copy #{imported_dir}.mp3").readlines
    if sound = Sound.create(user_id: user.id, file: File.open("#{imported_dir}.mp3"), lang: lang, title: title)
     audio = FFMPEG::Movie.new("#{imported_dir}.mp3")
     if !audio.valid?
       puts "//_!_\\\\ Failed reading with ffmpeg (#{sound.id})#{sound.title} //_!_\\\\"
       return false
     end
    end

    the problem is that my .txt file containing the file path

    file '/home/test/apps/example/releases/20150305224026/tmp/files/4dbe9707-cfef-467b-ab2c-a5e1e1165953_0.mp3'

    created files as well but the final file is not created and i got the error message :

    No such file or directory @ rb_sysopen - /home/test/apps/example/releases/20150305224026/tmp/files/4dbe9707-cfef-467b-ab2c-a5e1e1165953.mp3

    If anyone could help me