Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (97)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (7148)

  • ffmpeg opening video file at lower bitrate

    23 février 2018, par Xeno Boss

    I have a php page which runs ffmpeg from shell with the exec() function as follows ffmpeg -i rtsp://address:port/stream -b:v 512k output.mp4 and since many people could visit the page at once it could fire up many ffmpeg processes for different rtsp streams simultaneously which will eat up my bandwidth.
    Is there some way for me to reduce the bitrate at which the streams are opened ?

    Note : I assumed the bitrate is the most effective factor for reducing bandwidth, please correct me if you have any better suggestions.

  • Subprocess call stopping asynchronously-executed Python parent process

    6 mai 2016, par Suriname0

    The following shell session demonstrates the behavior I am seeing :

    [user@compname python-test]$ cat test.py
    #!/usr/bin/env python
    import subprocess
    from time import sleep
    proc = subprocess.Popen("ffmpeg", stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
    print "Starting process: " + str(proc)
    status = proc.poll()
    while status is None:
       print "Process still running."
       sleep(0.01)
       status = proc.poll()
    print "Status: " + str(status)
    [user@compname python-test]$ python test.py
    Starting process:
    Process still running.
    Process still running.
    Status: 1
    [user@compname python-test]$ python test.py &
    [4] 6976
    [user@compname python-test]$ Starting process:
    Process still running.
    Process still running.
    [4]+  Stopped                 python test.py
    [user@compname python-test]$ ps
     PID TTY          TIME CMD
    4684 pts/101  00:00:00 python
    4685 pts/101  00:00:00 ffmpeg
    7183 pts/101  00:00:00 ps
    14385 pts/101  00:00:00 bash

    As you can see, when the simple test Python program is run normally, it completes successfully. When it is run asynchronously (using &), the Python process is stopped as soon as the subprocess call is complete (and poll() would return a non-None value).

    1. The same behavior occurs when using Popen.wait()
    2. The behavior is unique to ffmpeg.
    3. Both the Python process and ffmpeg are ending up stopped, as seen in the call to ps.

    Can someone help me detangle this behavior ? I don’t see anything in the documentation for the subprocess module, bash’s & operator, or ffmpeg that would explain this.

    The Python version is 2.6.6, bash is GNU bash version 4.1.2(1)-release (x86_64-redhat-linux-gnu), ffmpeg is version 3.0.1-static.

    Thank you for any help !

  • how to kill process in linux which was not killed

    3 juin 2013, par R Square

    Hi I am developing a application in linux for which I am writing a shell script to run ffmpeg and it was working fine but when i want to kill the process of ffmpeg it was not working

    kill 2628

    where 2628 is my process id