
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (29)
-
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5386)
-
Subprocess call stopping asynchronously-executed Python parent process
6 mai 2016, par Suriname0The 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 bashAs 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 (andpoll()
would return a non-None
value).- The same behavior occurs when using
Popen.wait()
- The behavior is unique to
ffmpeg
. - Both the Python process and
ffmpeg
are ending up stopped, as seen in the call tops
.
Can someone help me detangle this behavior ? I don’t see anything in the documentation for the
subprocess
module, bash’s&
operator, orffmpeg
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 !
- The same behavior occurs when using
-
how to kill process in linux which was not killed
3 juin 2013, par R SquareHi 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
-
How to get first 16 fames from a video using ffmpeg ?
5 mai 2021, par SRI VINOD PALACHARLAI have a video mp4 file(5 seconds duration), it has 125 frames. I need to extract first 16 continuous frames into a folder. Can you please put the code for extracting first 16 frames ?


I tried -


cmd = 'ffmpeg -i {} -frames:v 16 {}/%d.png'.format('/content/drive/MyDrive/MTP/train/X/X0.mp4', '/content/drive/MyDrive/MTP/sample') 
subprocess.call(cmd, shell = True)



and it worked.