Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (111)

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (13486)

  • How to run .mp4 videos on firefox

    19 novembre 2015, par Haseeb Ahmad

    When play mp4 videos on chrome it works fine.But same videos not playing on firefox. After some search I found this

    Firefox does not support .mp4 playback. Try conveting the video to .ogg format which is fast becoming a standard format for html 5 applications.

    Now how I convert this to ogg for firefox.
    My model code is

    has_attached_file :videod, :styles => {
     :medium => { :geometry => "640x480", :format => 'mp4' },
     :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
    }, :processors => [:ffmpeg]
    validates_attachment_size :videod, :less_than => 100.megabytes
       validates_attachment_presence :videod
       validates_attachment_content_type :videod, :content_type => /\Avideo\/.*\Z/
  • FFMPEG 4 videos merge in one screen [duplicate]

    10 août 2018, par Farukh Zahoor

    This question already has an answer here :

    I found a sample that merge 2 videos on one screen

    ffmpeg.exe -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]scale=iw/2:ih/2,pad=2*iw:ih[left];[1:v]scale=iw/2:ih/2[right];[left][right]overlay=main_w/2:0[out]" -map [out] -map 0:a? -map 1:a? -b:v 768k output.mp4

    I tried this command to merge 4 videos on one screen

    ffmpeg.exe -i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp4 -filter_complex "[0:v]scale=iw/2:ih/2,pad=2*iw:ih[upperleft];[1:v]scale=iw/2:ih/2[upperright];[2:v]scale=iw/2:ih/2,pad=2*iw:ih[lowerleft];[3:v]scale=iw/2:ih/2[lowerright];[upperleft][upperright]overlay=main_w/2:0;[lowerleft][lowerright]overlay=main_w/2:0[out]" -map [out] -map 0:a? -map 1:a? -b:v 768k output.mp4

    But this generates output similar to 1st command having 2 videos merged in one view. I need all 4 videos to be shown on one screen. Additionally I want audio of 1st video file should be used for output. Please guide

    The suggested duplicate link and examples merge videos with exact same quality and takes lot of time to generate output file. I want dimension of video should be changed to half and should quickly generate the output file. The example I shared working fine for 2 videos but not for 4 videos.

  • Splitting multiple videos into shorter ones at once

    6 juin 2022, par detach429

    I am trying to split my videos into multiple shorter ones, I've managed to make it work for one video, code is given below, but I have multiple videos saved in a folder and I want the code to go through all of them at once, so I don't have to manually change paths for every video, can anyone help ?

    


    required_video_file = 'Videos/Logitech/LogiCapture/1_stresni.mp4'

with open("times.txt") as f:
  times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
  starttime = int(time.split('-')[0])
  endtime = int(time.split("-")[1])
  ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=str(times.index(time)+1)+".mp4")```