
Recherche avancée
Médias (21)
-
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
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (74)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (4520)
-
Get thumbnail image from video not working with PHP and ffmpeg (Ubuntu)
20 décembre 2018, par a_pajicI have generated a $cmd string :
ffmpeg -i /home/alen/www/mysite/video/Guitarist-139.mp4 -an -ss 0 -s
1280x720 /home/alen/www/mysite/img/Guitarist-139.jpgthen I have typing a command in PHP :
shell_exec($cmd);
but not working,
then I have pasted this string in terminal but in terminal work perfectly.
What is wrong.
-
When I run `ffmpeg` in the background, how do I prevent `suspended (tty output)` ?
4 novembre 2017, par Jim DeLaHuntI have a
sh
script which callsffmpeg
on several files. When I try to run this script in the background, redirecting output to a file, the job starts but then immediately suspends :% bin/mp3convert.sh path/a/b &> ~/tmp/log.txt &
[1] 93352
%
[1] + suspended (tty output) bin/mp3convert.sh path/a/b &>If I try making the script continue in the background, it immediately suspends again :
% jobs
[1] + suspended (tty output) bin/mp3convert.sh path/a/b &>
% bg %1
[1] + continued bin/mp3convert.sh path/a/b &>
% jobs
[1] + suspended (tty output) bin/mp3convert.sh path/a/b &>
%I can make the script continue, by making it the foreground, but then my terminal is occupied until the script finishes. That means I don’t get the benefit of running the script in the background.
%
[1] + suspended (tty output) bin/mp3convert.sh path/a/b &>
% fg %1
[1] + continued bin/mp3convert.sh path/a/b &>
% # much time passes with no activity on terminal, then script finishes
%How can I make the script run cleanly in the background ?
A simplified version of my script is :
#!/bin/sh
# mp3convert.sh
for f in "$1"/*.flac; do
ffmpeg -i "$f" -c:v copy path/to/dest/"$(basename -s .flac "$f")".mp3
doneI am running on Mac OS X 10.11.6, with
ffmpeg
version 3.4 supplied by MacPorts.An apparently related question is why do I get “Suspended (tty output)” in one terminal but not in others ?. The answer there is to set the terminal state with
stty -tostop
. That didn’t help me ; I already had that state set. -
ctrl+c doesn't wait for child process (background process) to finish with trap
11 avril 2019, par phischI have a script which registers a SIGINT trap and starts a ffmpeg background process that records part of the screen. The SIGINT trap sends a SIGINT signal to the background ffmpeg process to get it to gracefully stop and finish the recording.
When this script is run in a terminal, and terminated from a separate terminal with
kill -INT [SCRIPT_PID]
, the ffmpeg background process terminates gracefully and outputs confirmation in terminal 1.When the script is run in a terminal and stopped with
ctrl+c
the background process just dies instantly. (even if ctrl+c should just send a SIGINT signal)Why does ctrl+c behave differently than killing the script with
kill -INT
in this case ?
How can i make sure the ffmpeg background process ends gracefully when ending the script with ctrl+c ?#!/bin/bash
exit_script() {
kill -INT $ffmpeg_pid
wait $ffmpeg_pid
printf "\n\nffmpeg should say 'exiting normally, received signal 2' before this message is printed!\n\n"
}
trap exit_script SIGINT
ffmpeg -f x11grab -s 500x500 -i :0.0+0,0 ~/video_`date +%s`.webm &
ffmpeg_pid=$!
waitedit : it seems like ffmpeg receives 2 int signals in the case of
ctrl+c
, but i don’t know why