
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (75)
-
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 (9778)
-
avformat code produce slightly different output than ffmpeg with same parameters - why ?
20 février 2020, par DanielI would like to achieve the exact same result as this ffmpeg command line call does from code :
ffmpeg -i CAMERARTSPLINK -c:v copy -an -movflags +frag_keyframe+empty_moov -f mp4
When I run the above command it gives this binary result :
got 36 bytes: 0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
got 512 bytes: 0, 0, 3, 76, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,The code can utilize ffmpeg libraries and includes, but I don’t want to use ffmpeg as a program call (i.e. exec* functions are not preferred).
I have created a small demonstration code example with
avformat
for an RTSP H264 to MP4 remux.
The code is highly reuses horgh’s nice videostreamer library.I posted the sample code to pastebin.com (400 loc). It builds successfully but you need to link it against
avformat
,avdevice
,avcodec
andavutil
.I tried to do my best to reach the same result, however when I run this code, the first few bytes after byte #38 are different (maybe not just those, I did not compare anything after byte #548) :
writeOutput: writing 36 bytes: 0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
writeOutput: writing 512 bytes: 0, 0, 0, 0, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,You can see on the second line of my code’s output starts with
0
0
0
0
109
,whereas the ffmpeg gave
0
0
3
76
109
.All the rest (even the bytes are not pasted here) data are totally the same (at least for the first 548 bytes).
What is wrong with my code ? These 2 bytes seems super-important for decoding this stream.
-
What Does FFmpeg Exit Code -1073741819 Mean ?
11 février 2020, par user2248702I’m using FFmpeg 4.2.2 on Windows to mix two audio tracks, however the filter I am using is causing FFmpeg to crash :
ffmpeg -i 1.wav -i 2.wav -filter_complex asplit[a][b];[a]amix[c];[c][b]acrossfade 3.wav
After running the command FFmpeg hangs for a couple of seconds then closes. Using
echo %ERRORLEVEL%
shows the error code is -1073741819, but I can’t seem to find anything on what it means. -
ffmpeg code error in creating timelapse video from images
18 juin 2021, par Ruiqing WuMy codes below used to work :


ffmpeg -y -framerate 25 -start_number 0 -i "a_%08d.jpg" -c:v libx264 -vf scale=-1:1500 -pix_fmt yuv420p d:\mystars.mp4



But it now shows error in my new computer with error :


[image2 @ 000001ae31e2e600] Could find no file with path 'a_%08d.jpg' and index in the range 0-4
a_%08d.jpg: No such file or directory



My images are under
D:\mystars
. All are jpg files named froma__00000000.jpg
toa__00000099.jpg
.

May I have some advice here ?