
Recherche avancée
Autres articles (103)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (15785)
-
using overlay video filter in ffmpeg guardian project (android)
29 juillet 2016, par Blaze TamaFirst, im a beginner in FFMPEG so please bear with me.
Im using this library and successfully combined an audio and a video :D
However, i keep failing when i tried to insert an image/watermark over a video.
This is the code im using :
public MediaDesc combineVideoAndImage (MediaDesc videoIn, MediaDesc image, MediaDesc out, ShellCallback sc) throws Exception
{
ArrayList<string> cmd = new ArrayList<string>();
cmd.add(ffmpegBin);
cmd.add("-i");
cmd.add(new File(videoIn.path).getCanonicalPath());
cmd.add("-vf");
cmd.add("movie=" + new File(image.path).getAbsolutePath() + " [logo];[in][logo] overlay=10:10 [out]");
cmd.add("-strict");
cmd.add("-2");
File fileOut = new File(out.path);
cmd.add(fileOut.getCanonicalPath());
execFFMPEG(cmd, sc);
return out;
}
</string></string>Those code will generate this cmd :
ffmpeg -i VIDEONAME.mp4 -vf "movie=LOGONAME.png [logo];[in][logo] overlay=10:10 [out]"
-strict -2 OUTPUTNAME.MP4I have tested this CMD on ubuntu 13.10 64bit, with latest FFMPEG installed and t succeed.
But it does not in my android project. It does not catch/throw any error/exception, the program running normally and the file is created but has nothing in it (0 byte)
Any help is appreciated. Thanks for your help :D
-
How to hide/disable ffmpeg erros when using OpenCV (python) ?
29 septembre 2013, par MehranI'm using OpenCV python to capture a video.
This is my codeimport cv2
cap = cv2.VideoCapture("vid.mp4")
while True:
flag, frame = cap.read()
if not flag:
cv2.imshow('video', frame)
if cv2.waitKey(10) == 27:
breakWhen a frame is not ready it produces an error like this
or
Truncating packet of size 2916 to 1536
[h264 @ 0x7ffa4180be00] AVC: nal size 2912
[h264 @ 0x7ffa4180be00] AVC: nal size 2912
[h264 @ 0x7ffa4180be00] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffa41803000] stream 0, offset 0x14565: partial fileI wanted to find a way to hide this error ! I guess that this error is being produced by
ffmpeg
. Is there any way to hide or disable it ?This error is produced when I call
cap.read()
. And I also tried to wrap it withtry ... except ...
but it doesn't work because it doesn't throw any exceptions. -
Discord JS v13 FFmpeg not found on rootserver
10 avril 2022, par emirate.I just installed my DiscordJS Bot on my new rootserver, I copied the files 1:1 to the server and started the Bot. The Bot starts normal but when I try to execute a command where the bot joins a vc and plays audio it says :


throw new Error('FFmpeg/avconv not found!');
 ^



Error : FFmpeg/avconv not found !


Which is weird because I have ffmpeg and ffmpeg-static installed, and the same script works normally on my PC when I run it. Any ideas why ?


Edit :
The only difference between the versions on the PC and the rootserver are the Node.js versions ; PC : 16.6.0, rootserver : 17.4.0 (the rootserver is running on ubunu 11, and my PC on windows 10)