
Recherche avancée
Médias (91)
-
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
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (101)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (14017)
-
How to install ffmpeg on shared hosting ? [duplicate]
19 mars 2021, par R.H. TasinI am using shared hosting and installed a PHP script there. This script needs FFmpeg (recommended version 3.0+) to work. But I don't know how to install it on shared hosting. I have searched on youtube, they are showing, download the FFmpeg file from ffmpeg.org then set the path inside the script. but that's not working for me. FFmpeg needs to be installed on my server to make this script work.


My server info :


Hosting Package : undefined


Server Name : server


cPanel Version : 92.0 (build 6)


Apache Version : 2.4.46


PHP Version : 7.3.23


MySQL Version : 5.7.33-cll-lve


Architecture : x86_64


Operating System : linux


Shared IP Address : 161.97.101.164


Path to Sendmail : /usr/sbin/sendmail


Path to Perl : /usr/bin/perl


Perl Version : 5.16.3


Kernel Version : 3.10.0-1127.19.1.el7.x86_64


I have tried to run some command VIA terminal of my hosting, but whatever command I type, it says that "command not found".



so now tell me guys, how can I install FFmpeg on my server ?


-
Long-running AWS Linux process suddenly freezes once in a while
12 décembre 2022, par Incredi BlameI am running a non-stop process on Ubuntu LTS AWS t2.micro instance. Process is ffmpeg downloading network stream from a CCTV. It crashes every 10 min cause of network errors, so I run it in a cycle script like this :


while true
do
 ~command~
done



The cycler-script itself never crashes.


Everything works fine for hours (I check with ssh from time to time). But then sometimes ffmpeg process just freezes. I checked logs, it is writing the stream and it literally freezes mid-way through the stream, no error messages, nothing, as if it is still waiting for the next packet. Just stops working and never wakes up. Usually if the stream goes down ffmpeg complains, spits errors out and crashes. But on this occasion there is nothing and no crash either.


Another mystery is that I run several of such ffmpeg processes and they all freeze at the same time.


The issue with that freezing is the cycler can't restart ffmpegs, as they haven't crashed. When I check frozen processes with
ps -aux
they are shown asSL
, which doesn't tell much, as they are always marked this way.top -i
doesn't display them at all as active. When they work as normal it does. If Ikill
those frozen processes the cycler restarts them and everything works again as it should.

I can always kill those ffmpegs once in a while on some schedule and let cycler restart them. Or check if they froze by timestamps they output and kill them then, so theoretically the problem is solvable. But I just want to know what causes it.


I haven't figured out yet if this freezing happens at the same time of the day, trying to track that now. I don't think it could be related to free space shortage, as I have a cleaner cron job and free space is always available.


So I have the following questions :


- 

- Is there anything on AWS itself which could cause this freezing ? Like some kind of regular maintenance job that messes with running processes ?
- Could it be caused by Linux freezing long-running processes ? Probably not, as they all freeze at the same time while current running time is different for each.
- Last one, my cron job that cleans space also cleans out logs that ffmpeg is appending to. The script goes like this :








tail "ffmpeg.log" -n 10000 > "tmp.log" && \
 cat "tmp.log" > "ffmpeg.log" && \
 rm "tmp.log"



The logs now are already full and are never fully cleared. Cron job just preserves the last 10000 lines. It runs every 2 min and runs fine for hours. Could it be responsible for this sudden freezing due to some coincidental timing ?


If none of the above is responsible for freezing it must be some streaming issue on the server side, which I have no access to. In that case I would have to rely on detecting freezing and restarting ffmpegs.


-
opencv cvcapture avi = NULL
3 janvier 2015, par ipunusI tried to solve the following problem for a lot of day :
Target : I want to read a avi-file with xvid codec
Status : cvcapturefromavi doesn’t work, give a NULL back
Operating system MacOS Yosemite, Xcode 6 (clean system)First install opencv without ffmpeg support (downloaded,cmake and homebrew, tried both) Application crashed soon after starting, NULL for cvCaptureFromAVI
Then I tried with ffmpeg, so installed separate ffmpeg -with xvid -with ffplay with homebrew and also opencv with ffmpeg support -> Application crashed soon after starting, Error opening file (/tmp/opencv-uG3i8H/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:545) -> NULL for cvCaptureFromAVI
I can play the video-file with ffplay, no problem.
Can you pls help ? I searched about two days in whole google...or in which codec I have to convert the file ?
int main (int argc, const char* argv[])
{
CvCapture* video_in;
IplImage* frame_video_in;
video_in = cvCaptureFromAVI("video1.avi");
cvNamedWindow("Original", CV_WINDOW_AUTOSIZE);
while (1) {
frame_video_in = cvQueryFrame(video_in);
cvShowImage("Original", frame_video_in);
}
cvDestroyAllWindows();
return 0;
}