Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (60)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9129)

  • 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;