
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 (42)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (6962)
-
ffmpeg re-encode rtsp stream to H264 ONLY if stream is not H264
26 décembre 2022, par logic instantI have 100 rtsp cams streaming to my server, which does RTSP —> HLS for web viewers.


Most (about 90) rtsp cams are H264, but some can't be configured back to HEVC for some reasons.


Is there a command in FFMPEG to :


- 

- re-encode to H264 (preferrably using libx264) if stream is not H264
- just do copy-frame if stream is already H264
 ?






ps : it's run using python/node with no-shell mode, so I'm not sure if bash-redirects/pipes work


tried ffmpeg commands


-
ffmpeg installed via snap return cannot create user data directory : /home/user/snap/ffmpeg/1286 : Permission denied
10 juin 2021, par JintorI just installed ffmpeg via snap


when I log to any user and I do
snap run ffmpeg -i anyfile


i always see cannot create user data directory : /home/user/snap/ffmpeg/1286 : Permission denied


how can this be fixed ?


-
ffmpeg cannot find stream but stream does exist
10 avril 2023, par rayen saidaniima using ffmpeg to add text to the video the problem is this command works some times and some times it just dont feel like working


this the error that iam getting
Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_subtitles_0


this the command iam trying to run to add text to the video the srt file is always there when i run the commmand i tryed to run :

ffmpeg -i ./vid/${id}.3.mp4 -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'" -c:1 copy ./ready/${id}.4.mp4


this the function :


const addtext=async(id)=>{
 
 return new Promise(async(resolve,reject)=>{
 const command1 =await `ffmpeg -i ./vid/${id}.3.mp4 -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'" -c:1 copy ./ready/${id}.4.mp4 `;
 await exec(command1, (error, stdout, stderr) => {
 if (error) {
 reject(`stderr: ${error.message}`)
 }
 resolve(id)
 })
 }) 
}



this the error that iam getting
Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_subtitles_0


this the command iam trying to run to add text to the video the srt file is always there when i run the commmand i tryed to run :

ffmpeg -i ./vid/${id}.3.mp4 -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'" -c:1 copy ./ready/${id}.4.mp4