
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (51)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (4115)
-
Output always corrupt from FFMPEG using selenium python
28 avril 2021, par Didit Setiawani try to running testcase using selenium python and want to record video on every testacases, but when i try the output is always corrupted. FFMPEG process are running, no error appear on the output line. I attach my code, Please anyone help me is there anything i need to add or remove


here's the first file, for recorder :


import subprocess
from subprocess import Popen
from subprocess import call


class recorderMethod():
 videoRecording = None

 @staticmethod
 def recorder_start(res,name):
 rec_lib = 'ffmpeg -y -rtbufsize 2000M -f dshow -i video="screen-capture-recorder" -s '
 resolution = res
 buffer = ' -b:v 512k -r 20 -vcodec libx264 '
 filename = name
 extension = '.mp4'
 complete_command = rec_lib+resolution+buffer+filename+extension

 recorderMethod.videoRecording = Popen(str(complete_command))

 @staticmethod
 def recorder_stop():
 if recorderMethod.videoRecording.poll() is None:
 call('taskkill /F /T /PID ' + str(recorderMethod.videoRecording.pid))



here's the main test file for record the video


import unittest
import recorder_main
from selenium import webdriver
from time import sleep

class recordingTest(unittest.TestCase):
 #init test
 browser = webdriver.Chrome()
 baseurl = 'http://www.facebook.com/'
 record = recorder_main.recorderMethod
 
 #setup
 def setUp(self):
 #declare to use browser
 self.driver = recordingTest.browser
 #make variable for easy access
 driver = self.driver
 #maximize Firefox
 driver.maximize_window()
 #go to maukerja
 driver.get(recordingTest.baseurl)

 #test001
 def test_001_record(self):
 #start recording
 recordingTest.record.recorder_start('1920x1080','Test_Sleep')
 sleep(10)
 #stop_recording
 recordingTest.record.recorder_stop()


 #teardown
 def test_999_ShutDownTest(self):
 self.driver.close()
 
if __name__ == '__main__':
 unittest.main(exit=False)



-
hwcontext_vaapi : Make default DRM device selection more helpful
6 mai 2019, par Mark Thompsonhwcontext_vaapi : Make default DRM device selection more helpful
Iterate over available render devices and pick the first one which looks
usable. Adds an option to specify the name of the kernel driver associated
with the desired device, so that it is possible to select a specific type
of device in a multiple-device system without knowing the card numbering.For example : -init_hw_device vaapi :,kernel_driver=amdgpu will select only
devices using the "amdgpu" driver (as used with recent AMD graphics cards).Kernel driver selection requires libdrm to work.
-
streaming a .mov to the browser as it's being written
1er juillet 2016, par max pleanerI’m using the headless and selenium-webdriver gems to create a video :
# require gems
require 'headless'
require 'selenium-webdriver'
# start headless
headless = Headless.new
headless.start
headless.video.start_capture
# use selenium
driver = Selenium::WebDriver.for(:firefox)
driver.navigate.to("http://google.com")
puts driver.title
# exit headless and save video
headless.video.stop_and_save("test.mov")
headless.destroyThis produces a
test.mov
video.In this example, I have a finalized
.mov
file which I could the push to the browser if I wished.But I’m hoping there’s a way to stream is as it’s being created.
If it helps,
headless
accepts configuration arguments forffmpeg
.