Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (52)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9783)

  • Convert video with paperclip and ffmpeg in Ruby on Rails

    16 juin 2014, par Atu

    I want to convert my uploaded video with ffmpeg, but I had few error. I use paperclip and ffmpeg but nothing happen. The structure of my application is one post has_many videos.

    this my video model :

    belongs_to :event
    validates_attachment_presence :source
    has_attached_file :source

    after_create :convert_in_flv, :set_new_filename

    def convert_in_flv
     flv = File.join(File.dirname(source.path), "#{id}.flv")
     system("ffmpeg -i #{source.path} -ar 22050 -ab 32 -s 480x360 -vcodec flv -r 25 -qscale 8 -f flv -y #{flv}")
    end

    def set_new_filename
     update_attribute(:source_file_name, "#{id}.flv")
    end

    and this my video controller

    def create
     @event = Event.find(params[:event_id])
     @video = @event.videos.create(params[:video])
     redirect_to event_path(@event)
    end

    def destroy
     @event = Event.find(params[:event_id])
     @video = @event.videos.find(params[:id])
     @video.destroy
     redirect_to event_path(@event)
    end

    The video is successful upload but not converted. You had any solution ?

  • Video Processing via Bluetooth

    16 juillet 2012, par kerim yucel

    The application I am currently developing processes each frames using a native code and it should record the video as well. I tried SDK for this purpose but certain restrictions didn't allow me to do so, so I switched to NDK for a video recording code piece.

    Apparently, my algorithm seriously uses CPU, upto %70 percent in the worst case. Before I actually start working on a video recorder, I wanted to try the following approach.

    I will process the preview frames using an android phone and send it to another phone (which uses same application and same model) for recording. My questions are :

    1.Should I try WiFi instead of Bluetooth ? I am developing the application for API 8 so I don't have WiFi-Direct, therefore I should do some socket programming, which would possibly complicate things a bit for me since Bluetooth can easily be set up using SDK.

    2- Will I be available to record the frames as a video at the receiving end ? I will receive each frame with certain metadata embedded to it and should record them using the other phone. I doubt I will be able to do it using SDK, so NDK along with ffmpeg seems to be the best choice ? Any suggestions related to this question will be more than welcome.

    3-Here comes the best part. I am recording the video with the lowest resolution that,after compressed, takes no more than 14mb space for a 10 minute long video. I have to reach the raw frames to send it to other end, encode and compress it. Any ideas related to possible flooding of Bluetooth/Wi-Fi because of big-sized raw frames ?

    Any other approaches and answers will be much appreciated. Thanks.

  • Video error while processing

    19 décembre 2012, par joelmaranhao

    Trying out paperclip-ffmpeg gem with Rails 3.1

    In my model

    class Video < ActiveRecord::Base
     belongs_to :creative_service

     has_attached_file :asset, :styles => {
       :medium => { :geometry => "640x480", :format => 'flv' },
       :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
     }, :processors => [:ffmpeg]
    end

    The error message when uploading a MPG file :

    Video error while processing video for MOV0652220121219-19138-1ybt1gp: Command 'ffmpeg -i :source -y -s 640x480 :dest' returned 1. Expected 0

    I am a total newbie with video processing. Any hint is welcome.

    j.