Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (37)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (3941)

  • ffmpeg : Get last 10 seconds of live stream [duplicate]

    7 janvier 2020, par Manuel

    This question already has an answer here :

    I am having a live stream from an ip camera, where I would like to get only the last 10 seconds of that stream.
    I’ve tried parse the steam continuously into an .mp4, and use ffmpeg -sseof afterwards, but this fails, as the input file is still writing.

    Has anyone an idea, if this is homehow possible ?

    Thanks !

  • Add audio which has short duration to a long video with using amix code

    26 avril 2020, par Tevfik

    ffmpeg -y -i audio.mp3 -i input.mp4 -filter_complex "[0:a][1:a]amix=inputs=2:duration=shortest" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1400k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset superfast output.mp4

    



    ffmpeg -i r.mp4 -i logo.gif -filter_complex "[0:v]setpts=PTS/1.06,scale=854:480[v1] ;[0:v]setpts=PTS/1.05,scale=854:480[v2] ;[v2]setpts=PTS/1.06,scale=854:480[v3] ;[v1][v3]overlay=shortest=1:enable='lt(mod(t,6.9),3)*gte(t,6.9)'[vm] ;[vm][1:v]overlay=5:main_h-overlay_h-5 ; -pix_fmt yuv420p -c:v libx264 -profile:v main -level:v 4.1 -g 33 -bf 2 -crf 22 -flags +ildct+ilme -top 1 -c:a ac3 -b:a 320k -ar 48000 -an -aspect 16:9 MP4_HD_420.MP4

    



    I want to join these codes in a one code. My aim mix mp3 audio and video audio without delete the video sound and then use the codes below. Mp3 sound duration is too short that's why I want to hear the sound till the video finishes. But I couldn't manage to join them. Need your help thanks...

    


  • Python video player using ffpyplayer.player with audio repeated crack issue at end of clip

    17 janvier 2021, par sunyaer

    I am using the codes below to do a video player. For video clips cut using this command : "ffmpeg -i PrideAndPrejudice.mp4 -ss 00:50:31 -t 00:03:30 OutPutPP.mp4", there is audio crack that keeps repeating a couple of times when the picture stops at the end of the video. I suspect there may be some issues with the codes of QTimer, but as I am quite new to Python and ffmpeg, and can't figure out what exactly the problem is, not to mention how to fix it. It would be greatly appreciated for your help.

    


        self.timer = QTimer()
    self.timer.setInterval(50)
    self.timer.start()
    self.timer.timeout.connect(self.showFrame)


    


    This is the whole codes :

    


     from ffpyplayer.player import MediaPlayer
 import sys
 from PyQt5.QtWidgets import *
 from PyQt5.QtGui import QPixmap, QImage, QImageReader
 from PyQt5.QtCore import QTimer

class MyApp(QWidget):
    def __init__(self, name, parent=None):
        super(MyApp, self).__init__(parent)
        self.label = QLabel()
        self.qimg = QImage()
        self.val = ''

        self.player = MediaPlayer("PrideAndPrejudice005030.mp4")
        self.timer = QTimer()
        self.timer.setInterval(50)
        self.timer.start()
        self.timer.timeout.connect(self.showFrame)

        layout = QVBoxLayout()
        layout.addWidget(self.label)
        self.setLayout(layout)
        self.setWindowTitle(name)

        # self.showFullScreen()

    def showFrame(self):
        frame, self.val = self.player.get_frame()
        if frame is not None:
            img, t = frame
            self.qimg = QImage(bytes(img.to_bytearray()[0]), img.get_size()[0], img.get_size()[1],
                               QImage.Format_RGB888)
            self.label.setPixmap(QPixmap.fromImage(self.qimg))


if __name__ == '__main__':
    app = QApplication(sys.argv)
    t = MyApp(sys.argv[0])
    t.show()
    sys.exit(app.exec_())