Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (82)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • Output always corrupt from FFMPEG using selenium python

    28 avril 2021, par Didit Setiawan

    i 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)


    


  • avformat/dv : fix timestamps of audio packets in case of dropped corrupt audio frames

    31 octobre 2020, par Marton Balint
    avformat/dv : fix timestamps of audio packets in case of dropped corrupt audio frames
    

    By using the frame counter (and the video time base) for audio pts we lose some
    timestamp precision but we ensure that video and audio coming from the same DV
    frame are always in sync.

    This patch also makes timestamps after seek consistent and it should also fix
    the timestamps when the audio clock is unlocked and have a completely
    indpendent clock source. (E.g. runs on fixed 48009 Hz which should have been
    exact 48000 Hz)

    Fixes out of sync timestamps in ticket #8762.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/dv.c
    • [DH] tests/ref/seek/lavf-dv
  • How to change PicOrderCntVal when decoding corrupt HEVC

    12 mai 2020, par Joe Harrison

    How can I change the PicOrderCntVal for duplicate packets ? When NAL units of type 0 or 1 are duplicated the image stay static. I'm trying to create the datamoshing blooming effect for HEVC by purposely duplicating P-frames. FFmpeg logs an error saying that duplicate POCs were found. This code is found here. My guess is that if the POC was a different number that the no error will be returned.

    &#xA;&#xA;

    8.3.1 of the ITU Recommendation for HEVC shows how to get the PicOrderCntVal. But what should I change for all following frames so that the decoder doesn't think there are duplicate frames ?

    &#xA;