
Recherche avancée
Autres articles (32)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (4768)
-
Loop a video with ffmpeg
4 mars 2015, par EllebkeyI am triying to loop a short video using ffmpeg in python, and i have the next code :
FFMPEG_BIN = "ffplay"
import subprocess as sp
import os
def playVideo(video):
command = [ FFMPEG_BIN,video,'-autoexit']
pipe = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8, stderr = sp.PIPE)
pipe.wait()
def playPrincipal():
command = [ FFMPEG_BIN,"videos/01-bienvenida.webm","-autoexit","-an","-loop 0"]
pipe2 = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8, stderr = sp.PIPE)but the video doesnt show on my second method, im making a body gesture recognition so the point is to show a principal video stay on a loop playPrincipal() like a background, and when I detect a position show other video in front of the first video,that part alredy works, and when the video ends the first video still playing. My second though was to make a large video and play it, but after around 1.30min the screen frezze, so the video just stop.
-
Anomalie #3386 : Spip derrière Varnish : port non-standard dans l’URL ?
15 février 2015, par Fil Upou bien, pour la liste des ports à ignorer :
define('_PORTS_STANDARDS', '80,443')
Certes, mais ça sort du cadre de ce ticket, non ?
Puisqu’on parle d’un bug de SPIP (qui réécrit l’URL dans un cas où il ne faudrait pas), il faut d’abord trouver une solution interne à SPIP.
SPIP doit pouvoir marcher avec un varnish de base, sans conf spécifique. Parfois l’hébergeur te met un varnish en front et ne te permet pas de le configurer. C’est pour ça que je ne suis pas pour le fait d’exiger un réglage spécifique côté Varnish.
À noter : il est certainement possible de bidouiller la valeur problématique depuis le fichier mes_options.php
-
Python Popen shell=False causes OSError : [Errno 2] No such file or directory FFREPORT
19 janvier 2015, par speedyrazorI am adding a FFREPORT command on the front of an already working ffmpeg command in python 2.7 on OSX, this is to redirect the report log file, but am getting an error and can’t figure out how to fix it.
Here is the command :
command = 'FFREPORT="level=48:file=/Users/myself/Desktop/TESTFFMPEGOUTPUT.txt" /Users/myself/Desktop/Python/ffmpeg/ffmpeg -i /Volumes/GRAID/TestInput.mov /Volumes/GRAID/TestOutput.mov'
self.process1 = Popen(shlex.split(command), shell=False)This is giving me the error :
raise child_exception
OSError: [Errno 2] No such file or directoryUPDATE :
I have now changed it to incorperate the answer below, but am getting another issue. I need the path of the logfile as a variable, so am trying :
ffreportCommand = 'FFREPORT=level=48:file=' + self.logFilePath
self.process1 = Popen(shlex.split(command), shell=False, env=dict(ffreportCommand))But am getting the below error :
self.process1 = Popen(shlex.split(command), shell=False, env=dict(ffreportCommand))
ValueError: dictionary update sequence element #0 has length 1; 2 is requiredUPDATE :
Fixed with :ffreportCommand = "level=48:file=" + self.logFilePath
self.process1 = Popen(shlex.split(command), shell=False, env=dict(FFREPORT='%s' % ffreportCommand))