Recherche avancée

Médias (91)

Autres articles (74)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (9156)

  • avcodec/vdpau : warn if the user application has not setup avctx->hwaccel_context...

    6 octobre 2014, par Michael Niedermayer
    avcodec/vdpau : warn if the user application has not setup avctx->hwaccel_context instead of potentially crashing
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/vdpau.c
  • Does anybody have experience in embedding ffmpeg in a macOS application for the App Store ? Has anybody had his application rejected for this reason ?

    31 octobre 2020, par Alfonso Tesauro

    I am developing a tool for macOS that needs some basic audio editing, and the simplest way to achieve this is to embed ffmpeg in the application binary and call it with NSTask. Of course, I resigned ffmpeg with my identity and the entitlements to inherit the host application's sandbox. Has anybody tried this with success ? Any help is greatly appreciated. Thanks

    &#xA;

  • How to fix : GUI application who control a simple command of ffmpeg with python

    9 octobre 2019, par maoca

    I want to make a graphic application with only 2 buttons (start / stop) that allows to launch a subprocess (start) and stop it (stop).
    (I’m using Python3, PyQt5 and ffmpeg)
    The process captures the screen in a video and save it to an mp4 using the ffmpeg command to launch the POpen command.
    To make a clean output of the command, ffmpeg uses ’q’ that I write by stdin.

    In a simple script it works for me but I can’t get it to work within the buttons.

    My knowledge is very basic and as much as I look for information I do not understand what I am doing wrong, I appreciate any comments that let me move on.

    This is my code :

    import sys
    import subprocess
    from PyQt5.QtWidgets import QApplication, QWidget, QPushButton

    class Ventana(QWidget):

       def __init__(self):
           super().__init__()
           # Button 1
           pybutton = QPushButton('REC', self)
           pybutton.clicked.connect(self.clickMethodB1)
           pybutton.resize(50, 32)
           pybutton.move(50, 50)

           # BOTON 2
           pybutton = QPushButton('STOP', self)
           pybutton.clicked.connect(self.clickMethodB2)
           pybutton.resize(100, 32)
           pybutton.move(150, 50)


           self.initUI()


       def initUI(self):
           self.setGeometry(300, 300, 300, 220)
           self.setWindowTitle('FFMPEG')
           self.move(800, 400)
           self.show()

       def clickMethodB1(self):
           global ffmpeg
           filename_mp4 = 'c://tmp//output.mp4'
           print('REC')

           command = 'ffmpeg -f dshow -i video="screen-capture-recorder" '+ filename_mp4

           ffmpeg = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,                                                    encoding='utf-8', shell=True)


       def clickMethodB2(self):

           print('STOP')
           ffmpeg.stdin.write(str('q'))            


    if __name__ == '__main__':
       app = QApplication(sys.argv)
       ex = Ventana()
       sys.exit(app.exec_())