
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (21)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (3613)
-
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.
-
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)



-
Uncaught Alchemy\BinaryDriver\Exception\ExecutableNotFoundException
27 août 2018, par JassI have linux shared hosting and Goddady is not installing ffmpeg extension on it so I have to keep binary library within my code so I am using https://github.com/PHP-FFMpeg/PHP-FFMpeg/ and following following steps.
- I cloned project on on my local > windows 10 > laragon
- I did composer install
Now I called their example like following
require 'vendor/autoload.php';
$ffmpeg = FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => 'F:/laragon/www/PHP-FFMpeg/src/FFMpeg',
'ffprobe.binaries' => 'F:/laragon/www/PHP-FFMpeg/src/FFMpeg',
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
));
$video = $ffmpeg->open('1535349237.mp4');
$frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(2));
$frame->save('image.jpg');But I am getting following error.
Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutableNotFoundException : Executable
not found, proposed : F :/laragon/www/PHP-FFMpeg/src/FFMpeg in
F :\laragon\www\PHP-FFMpeg\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php:160
Stack trace : #0
F :\laragon\www\PHP-FFMpeg\src\FFMpeg\Driver\FFProbeDriver.php(48) :
Alchemy\BinaryDriver\AbstractBinary::load(Array, NULL,
Object(Alchemy\BinaryDriver\Configuration)) #1
F :\laragon\www\PHP-FFMpeg\src\FFMpeg\FFProbe.php(226) :
FFMpeg\Driver\FFProbeDriver::create(Object(Alchemy\BinaryDriver\Configuration),
NULL) #2 F :\laragon\www\PHP-FFMpeg\src\FFMpeg\FFMpeg.php(117) :
FFMpeg\FFProbe::create(Array, NULL,
Object(Doctrine\Common\Cache\ArrayCache)) #3
F :\laragon\www\PHP-FFMpeg\index.php(6) : FFMpeg\FFMpeg::create(Array)4 main Next FFMpeg\Exception\ExecutableNotFoundException : Unable to load FFProbe in
F :\laragon\www\PHP-FFMpeg\src\FFMpeg\Driver\FFProbeDriver.php:50 Stack
trace : #0 F :\laragon\www\PHP-FFMpeg\src\FFMpeg\FFProbe.php(226) :
FFMpeg\Driver\FFProbeD in
F :\laragon\www\PHP-FFMpeg\src\FFMpeg\Driver\FFProbeDriver.php on line
50I tried to figure it out searching on github and google but no success so any suggestions please what could be the solution in this case ?