
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (27)
-
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 (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5879)
-
Python ffmpeg kill a fprobe process
13 novembre 2017, par emanaltalI’m using ffmpeg with python & ubuntu, im going over a loop of url stream files & im sending fprobe command first to read , if works fine i open another subprocess to take snapshot of stream.
The issue is now the system hang because so many processes. I tried to kill the process using
process.kill()
and by specifying process PID but still not workingMy code is :
command = 'ffprobe -v error -show_entries stream=width,height %s'%(url)
process = subprocess.Popen(shlex.split(command),shell=False,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print process.pid
output = process.communicate()
for i in output:
if i !='':
if '403 Forbidden' in i:
#### update database
elif '401 Unauthorized' in i:
#### update database
else:
screenshot = screenshots_path+ str(time.strftime("%Y%m%d%H%M%S",time.localtime()))
play_command = """ffmpeg -i """+m3u_url+""" -vframes 1 -q:v 1 -vf drawtext="fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:x=(w-text_w)/2:y=(h-text_h-line_h): fontsize=24 :fontcolor=white@1.0 : text= \\'"""+str(m3u_url)+"""'" %s.jpg -hide_banner"""%(screenshot)
process = subprocess.Popen(shlex.split(play_command),shell=False,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
process.kill() -
Python ffmpeg kill a ffprobe process
14 novembre 2017, par emanaltalI’m using ffmpeg with python & ubuntu, im going over a loop of url stream files & I’m sending ffprobe command first to read , if works fine, I will open another subprocess to take snapshot of stream.
The issue is now the system hang because so many processes. I tried to kill the process using
process.kill()
and by specifying process PID but still not workingMy code is :
command = 'ffprobe -v error -show_entries stream=width,height %s'%(url)
process = subprocess.Popen(shlex.split(command),shell=False,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print process.pid
output = process.communicate()
for i in output:
if i !='':
if '403 Forbidden' in i:
#### update database
elif '401 Unauthorized' in i:
#### update database
else:
screenshot = screenshots_path+ str(time.strftime("%Y%m%d%H%M%S",time.localtime()))
play_command = """ffmpeg -i """+m3u_url+""" -vframes 1 -q:v 1 -vf drawtext="fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:x=(w-text_w)/2:y=(h-text_h-line_h): fontsize=24 :fontcolor=white@1.0 : text= \\'"""+str(m3u_url)+"""'" %s.jpg -hide_banner"""%(screenshot)
process = subprocess.Popen(shlex.split(play_command),shell=False,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
process.kill() -
Why does my ffmpeg command fails from python subprocess ? [closed]
23 mars 2024, par haggi kreyI want to concat two movies with ffmpeg. In the shell I can execute this :

\\programs\2d\ffmpeg\inst\ffmpeg.bat -y -i "concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2" -c copy -bsf:a aac_adtstoasc C:/daten/movieConcat.mov
and it works fine. If I try to call it from a python subprocess :

import subprocess
cmd = [r"\\programs\2d\ffmpeg\inst\ffmpeg.bat", "-i", '"concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2"', "-c", "copy", "-bsf:a aac_adtstoasc", "C:/daten/movieConcat.mov"]
result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
if result.returncode > 0:
 print("create concat failed")
print(result.stdout)
print(result.stderr)



I get this error :


Trailing option(s) found in the command: may be ignored.
[in#0 @ 00000222c056a1c0] Error opening input: Invalid argument
Error opening input file "concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2".
Error opening input files: Invalid argument



I have no idea what's wrong with my call and I'd appreciate any hints.