
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
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 (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (9777)
-
Update Database After shell_exec() Using FFMPEG/Laravel
25 avril 2020, par MikeI want to update a database record (MySQL) after the FFMPEG process is complete. Normally I would just call a function just after the FFMPEG command, but I needed to add
> /dev/null 2>/dev/null &
so I didn't have to wait for the FFMPEG process to complete which would mean the REST call would hang for a LONG time and that would cause bad UX for the front-end.


I'm not sure where to begin with it. My first thought is to make a REST request, but maybe calling the method in Laravel directly would be better.



Can I do a curl call after the FFMPEG command ? Or can I call a PHP method ? Or is there a better way ?



PHP FFMPEG Method



private function transcode($movie)
{
 try {
 $name = 'master.' . $movie->extension;
 $this->path = storage_path('app/public/movies/') . $movie->id . '/';
 $fps = $this->getFrameRate($name);
 $width = $this->getVideoWidth($name);
 $height = $this->getVideoHeight($name);

 // ffmpeg commands
 $c = $this->buildCommand($width, $height, $fps);

 // ffmpeg - added '> /dev/null 2>/dev/null &' so it will not wait to finish
 $ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . ' > /dev/null 2>/dev/null &');

 return response()->json(['message' => 'transcode initiated'], 200); 

 }
 catch(\Exception $e)
 {
 return response()->json(['error' => $e->getMessage()], 500);
 }
}




Here is the bash curl post idea



$curl = 'curl --data "param1=value1&param2=value2" http://hostname/transcode/complete';

$ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . '; $curl > /dev/null 2>/dev/null &');




I could be going down the wrong path with the above, but I'm trying to move forward with something.


-
Anomalie #3014 : Chaines de langue de "Forums" utilisées dans la "dist"
24 décembre 2017, par b bPour info, voici les occurrences de chaînes de langue de forum dans la dist à ce jour :
grep -nHIirF —exclude=*.svn-base — :forum : . ./404.html:36 : [(#ENVfond_erreur|==forum|oui)
<:forum:aucun_message_forum :>
]
./article.html:56 : [<:forum:form_pet_message_commentaire :>
./inclure/forum.html:17 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./inclure/forum.html:42 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./forum.html:11 :
./forum.html:25 :<:accueil_site :> > ; ... > ; <:forum:forum :> #ID_FORUM
./forum.html:28 : [
(#TITRE|sinon<:forum:forum :> #ID_FORUM)
]
./forum.html:38 :<:forum:forum_avez_selectionne :> #TITRE
./forum.html:41 : [
<:forum:form_pet_message_commentaire :>
./breve.html:43 : [
<:forum:form_pet_message_commentaire :>
-
Streams stop when creating a quad split Multi-viewer using FFMPEG [closed]
6 avril 2024, par Chris ParkerCreated a FFMPEG script that takes in 4 SRT Live Streams and displays them in a quad split MV. However when I launch this script all 4 SRT streams will play but 3 will pause and 1 will play.


ffmpeg \
-re -hwaccel auto -hwaccel_output_csp videocore \
-stream_loop -1 \
-i "srt://address:5000?streamid=stream-id" \
-stream_loop -1 \
-i "srt://address:5000?streamid=stream-id" \
-stream_loop -1 \
-i "srt://address:5000?streamid=stream-id" \
-stream_loop -1 \
-i "srt://address:5000?streamid=stream-id" \
-filter_complex "\
[0]scale=1920x1080,setdar=16/9[a];\
[1]scale=1920x1080,setdar=16/9[b];\
[2]scale=1920x1080,setdar=16/9[c];\
[3]scale=1920x1080,setdar=16/9[d];\
[a][b][c][d]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]" \
-map "[v]" \
-c:v libx264 -preset veryfast -crf 28 \
-pix_fmt yuv420p -g 48 -bf 2 -refs 4 \
-f mpegts -b:v 10M -maxrate:v 15M -bufsize:v 30M \
-fflags +discardcorrupt -reset_timestamps 1 \
"srt://address:5000?streamid=stream-id"



getting a lot of the below error ;


16:48:49.628704/SRT:RcvQ:w2!W:SRT.qr: @214003038:No room to store incoming packet seqno 649744568, insert offset 7190. Space avail 0/8192 pkts. (TSBPD ready in -12342ms, timespan 6093 ms). GETTIME_MONOTONIC drift 0 ms.



I've tried smaller resolution and adjusting buffer sizes as well as the other flags but I'm not sure what else I can do.