Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (111)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (15351)

  • Video quality when desktop recording is bad

    11 septembre 2014, par bobbyrne01

    Trying to record my desktop and also audio with RHEL6.
    I’m using the command below, but the quality of the video output is not good.
    It is very blurry and I can bearly make out text on screen.
    The audio is good so no issues there.

    Does anyone know how the make the video quality any better ?

    ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 25 -i :0.0 -sameq -f mpeg -ar 48000 -s wvga -y sample.avi
  • Converting Videos In the Background ROR 3

    2 octobre 2012, par DragonFire353

    I've searched around on google and have come up with only one site that explains how to do this : http://railsonedge.blogspot.com/2009/01/flash-video-tutorial-with-rails-ffmpeg.html?m=0 I'm already using paperclip and already have everything set up with it and like using it better than the way this site is doing it. Is there a way to convert videos in the background while keeping track of the state of it using paperclip ? My Video.rb currently :

    class Video < ActiveRecord::Base
     belongs_to :user
     has_many :comments, dependent: :destroy
     attr_accessible :video, :user_id, :video_file_name, :title, :public, :description, :views

     has_attached_file :video, :styles => {
       :video => { geometry: "800x480>", format: 'webm' },
       :thumb => { geometry: "200x200>", format: 'png', time: 3 },
     }, processors: [:ffmpeg], url: "/users/:user_id/videos/:id/:basename_:style.:extension"

     #process_in_background :video #causes death

     validates :video, presence: true
     validates :description, presence: true, length: { minimum: 5, maximum: 100}
     validates :title, presence: true, length: { minimum: 1, maximum: 15 }

     validates_attachment_size :video, less_than: 1.gigabytes
     validates_attachment :video, presence: true

     default_scope order: 'created_at DESC'

     Paperclip.interpolates :user_id do |attachment, style|attachment.instance.user_id
     end

     def self.search(search)
       if search
         find(:all, conditions: ["public = 't' AND title LIKE ?", "%#{search}%"], order: "created_at DESC")
       else
         find(:all, conditions: ["public = 't'"], order: "created_at DESC")
       end
     end

     def self.admin_search(search)
       if search
         find(:all, conditions: ['title LIKE ?', "%#{search}%"], order: "created_at DESC")
       else
         find(:all, order: "created_at DESC")
       end
     end

    end
  • ffmpeg underutilizes cpu on AWS EC2 instance [closed]

    20 décembre 2024, par Denis

    i'm running video encoding with ffmpeg on EC2 instance (c5.xlarge - 4 vcpus)

    


      ffmpeg \
    -i "$INPUT_URL" \
    -c:v libvpx-vp9 -b:v 1M -threads 4 \
    -tile-columns 1 -frame-parallel 1 \
    -row-mt 1 \
    -cpu-used 0 \
    -quality 1 \
    -speed 3 \
    -r 6 \
    -f segment -segment_time "$SEGMENT_DURATION" -reset_timestamps 1 \
    "$OUTPUT_DIR/$OUTPUT_FILE_PREFIX$(date +%s)%03d.webm" > ffmpeg.log 2>&1 &


    


    I expected the CPU utilization to be around 390%, but I observed it to be around 170% via top

    


    why and what i'm doing wrong ?