Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (16)

  • 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

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

  • Ajout d’utilisateurs manuellement par un administrateur

    12 avril 2011, par

    L’administrateur d’un canal peut à tout moment ajouter un ou plusieurs autres utilisateurs depuis l’espace de configuration du site en choisissant le sous-menu "Gestion des utilisateurs".
    Sur cette page il est possible de :
    1. décider de l’inscription des utilisateurs via deux options : Accepter l’inscription de visiteurs du site public Refuser l’inscription des visiteurs
    2. d’ajouter ou modifier/supprimer un utilisateur
    Dans le second formulaire présent un administrateur peut ajouter, (...)

Sur d’autres sites (4893)

  • Pipe PyQt Widget Images to ffmpeg

    31 octobre 2014, par throwaway17434

    I have a PyQt Window with widgets that change. I want to make a video of it. I found this Answere to be very useful, however it is does not seem to be possible to use subprocess PIPE as a target in QtGui.QPixmap’s save-method. I have the feeling that I should use the native QtProcess for this kind of work, but I don’t know how I can PIPE the images and I can’t see the errors because I can’t see the standard outpur/error either. What I want to do is something like this :

    from PyQt4 import QtGui, QtCore
    import random

    app = QtGui.QApplication([])
    win    = QtGui.QWidget()
    layout = QtGui.QGridLayout()
    win.setLayout(layout)

    #picture frame
    scene = QtGui.QGraphicsScene()
    canvas  = QtGui.QGraphicsView(scene)
    layout.addWidget(canvas,0,0)

    # start button
    def run():
       # set pen
       pen = QtGui.QPen(QtCore.Qt.red)
       size = canvas.size()

       # start seperate process
       process = QtCore.QProcess(app)
       process.start('ffmpeg',['-y', '-f', 'image2pipe', '-vcodec', 'mjpeg', '-r', '24',  '-i', '-', '-vcodec', 'mpeg4', '-qscale', '5', 'video.avi'])
       for i in range(100):
           x = random.randint(1, size.width()-1)
           y = random.randint(1, size.height()-1)        
           scene.addLine(x,y,x,y, pen=pen)
           QtGui.QPixmap.grabWidget(win).save(process, "jpeg")

    but_run = QtGui.QPushButton("Go!")
    but_run.clicked.connect(run)
    layout.addWidget(but_run,1,0)

    win.show()
    app.exec_()
  • Pipe PyQt Widget Images to ffmpeg

    10 février 2024, par throwaway17434

    I have a PyQt Window with widgets that change. I want to make a video of it. I found this Answer to be very useful, however it is does not seem to be possible to use subprocess PIPE as a target in QtGui.QPixmap's save-method. I have the feeling that I should use the native QtProcess for this kind of work, but I don't know how I can PIPE the images and I can't see the errors because I can't see the standard outpur/error either. What I want to do is something like this :

    


    from PyQt4 import QtGui, QtCore
import random

app = QtGui.QApplication([])
win    = QtGui.QWidget()
layout = QtGui.QGridLayout()
win.setLayout(layout)

#picture frame
scene = QtGui.QGraphicsScene()
canvas  = QtGui.QGraphicsView(scene)
layout.addWidget(canvas,0,0)

# start button
def run():
    # set pen
    pen = QtGui.QPen(QtCore.Qt.red)
    size = canvas.size()
    
    # start seperate process
    process = QtCore.QProcess(app)
    process.start('ffmpeg',['-y', '-f', 'image2pipe', '-vcodec', 'mjpeg', '-r', '24',  '-i', '-', '-vcodec', 'mpeg4', '-qscale', '5', 'video.avi'])
    for i in range(100):
        x = random.randint(1, size.width()-1)
        y = random.randint(1, size.height()-1)        
        scene.addLine(x,y,x,y, pen=pen)
        QtGui.QPixmap.grabWidget(win).save(process, "jpeg")
        
but_run = QtGui.QPushButton("Go!")
but_run.clicked.connect(run)
layout.addWidget(but_run,1,0)

win.show()
app.exec_()


    


  • ffmpeg pipe response how to play javascript ?

    30 mars 2017, par 최진영

    Hello i have some question

    i trying app.post and response angular2

    here is my code

    function.js

    var url = 'https://www.youtube.com/watch?v=' + id;
    try {
          youtubeStream(url).pipe(res)
        } catch (exception) {
           res.status(500).send(exception)
         }

    response.ts

          this.loading = true
           var headers = new Headers();
           var query = {
                        "videoURL" : this.tracklist[0].videoURL
                       }
            headers.append('Content-Type', 'application/json');
            this.http.post('http://localhost:4100/toMp3',query,{headers: headers}).subscribe((res) => {
                console.log(res) <-- plz check picture
            });

    console.log(res)

    console.log(res)

    I do not know how to play stream data in _body