Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (83)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (4041)

  • lavfi : add attribute_align_arg to all public entry points

    26 juillet 2013, par Hendrik Leppkes
    lavfi : add attribute_align_arg to all public entry points
    

    Previously it was partly only added to central functions called
    internally, however if GCC would inline these into the public fuction, the
    alignment attribute would not take effect.

    Instead, add it to all public entry points to avoid these problems.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavfilter/buffersink.c
    • [DBH] libavfilter/buffersrc.c
  • Unable to send image to ffmpeg stdin from QProcess

    4 décembre 2019, par Go0od

    It not writing png file. I want to save central widget to png file. I have 2 files, one is main file and second one is ui file. Link has ui file.

    Getting error code :

    QWindowsPipeWriter::write failed. (The handle is invalid.)

    main.py

    import sys
    from PyQt5.QtWidgets import QWidget
    from PyQt5 import QtCore, QtGui, QtWidgets
    from green import Ui_MainWindow
    class MyWindow(QtWidgets.QMainWindow, Ui_MainWindow, QWidget):
      def __init__(self):
       QtWidgets.QMainWindow.__init__(self)
       Ui_MainWindow.__init__(self)

       self.setupUi(self)
       self.widger_screen()

    def widger_screen(self):

       self.process = QtCore.QProcess(app)
       self.process.setProcessChannelMode(self.process.ForwardedChannels)
       self.process.setOpenMode(self.process.WriteOnly)
       self.process.start('ffmpeg',
                          ['-y',
                           '-analyzeduration', '1000',
                           '-vcodec', 'png', '-i', '-',
                           '-vcodec', 'mpeg4',
                           '-qscale', '5', '-r', '24', 'video.avi',
                           "-loglevel", "debug"])
       for i in range(100):
           QWidget.grab(self.centralwidget).save(self.process, "PNG")

    if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    window = MyWindow()
    window.show()
    sys.exit(app.exec_())

    green.ui
    https://paste.pythondiscord.com/ugorifokiq.py

  • How to create video file using fs from react form ?

    7 avril 2021, par Kirasiris

    I'm developing a section in which I need to create a video from a form that I'm using in a React application ; the returned data that I get from said file is this :

    &#xA;

    File >&#xA;   lastModified: 1617759553928&#xA;   lastModifiedDate: Tue Apr 06 2021 20:39:13 GMT-0500 (Central Daylight Time) {}&#xA;   name: "Shinobi Sisters.mp4"&#xA;   path: "Shinobi Sisters.mp4"&#xA;   size: 2564227&#xA;   type: "video/mp4"&#xA;   webkitRelativePath: ""&#xA;   __proto__: File&#xA;

    &#xA;

    I'm sending all of that to a function called createDirectoryAndFile(path, file), which so far looks like this :

    &#xA;

    // CREATE VIDEO FILE&#xA;const dir = &#x27;./temp&#x27;;&#xA;const createDirectoryAndFile = async (inputPath, inputContent) => {&#xA;  if (!fs.existsSync(dir)) {&#xA;    fs.mkdir(dir, { recursive: true });&#xA;  }&#xA;&#xA;  fs.writeFile(inputPath, inputContent, (err) => {&#xA;    if (err) {&#xA;      console.error(&#x27;An error ocurred&#x27;, err);&#xA;    } else {&#xA;      console.log(&#x27;Your file has been made&#x27;);&#xA;    }&#xA;  });&#xA;};&#xA;

    &#xA;

    It gets to the point in which is able to create the 'temp' directory but fails to place the video within it. Is there a reason for this ?

    &#xA;

    I need this because this is the starting point for me to work in my application. I'm trying to upload a video, create a second copy of it with a watermark(thanks to ffmpeg and ffprobe) and then finally upload it to AWS S3.

    &#xA;

    From my understanding all of that is only possible if the video is actually exists(not in memory).

    &#xA;

    Do you have guys have any idea ? Yes, I already installed ffmpeg and ffprobe

    &#xA;