
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 (96)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (26673)
-
Camera2 API switching camera during recording
24 décembre 2017, par Max EfimovI’m working with Camera2 API and in my app it’s important to switch the camera during recording. After each camera switch I save video fragment to disk, and after stopping the recording I merge videos into one using
-f concat -safe 0 -i listPath -c copy finalPath
command of FFmpeg for Android. When I open a separate video fragment, it looks correct, but when I open the merged video, videos recorded on the back camera are rotated 180 degrees. The problem is only in the merged video.In meta-tag of videos if video recorded on back camera, then "rotate" tag has 90 degrees, otherwise 270 degrees.
As I understood when ffmpeg merges a videos it automatically rotates the video if it has different "rotate" tag in he’s metatags.
How I can solve this problem ?
P.S Also I tried to use MP4Parser Library for merging, but it has the same problems.
P.P.S.-noautorotate
param for ffmpeg does not help me. -
How do I make non-interleaved AVI video in ffmpeg ?
26 avril 2021, par Schwonder ReismusI'm trying to merge 2 uncompressed videos in Audacity just for fun. Back in the days, I did make non-interleaved AVI's in Sony Vegas, and it worked well. Now i'm trying it with open-source software. I'm not satisfied with the interleaved AVI's.


-
Alter YUV values of AVFrames in FFMpeg
1er février 2012, par KageI'm trying to apply an effect to a video by altering the YUV values using FFMpeg programmatically in C.
Let's say I want to increase the luminescence of each pixel of each frame by 100.
I tried just altering the first frame of a video stream. I decoded the frame, added 100 to each Y value in the AVFrame->data[0], encoded the frame again and saved it into the video.
However when I play the video back, it is not only the first frame that has been altered, but the first 30 frames.
Why are the other frames effected when I only change the AVFrame->data of the first frame ?
I tried again by changing all the Y, U and V values in AVFrame->data to 0 for only the first frame.
When I play back the video, it starts off completely green like expected, after the first frame the video stays green for 30 frames. I can see the other frames start to come slowly through the green for 30 frames and then suddenly the green disappears and the video plays as normal. Why is it not just the first frame that is green ?
My method is as follows :
Video Stream
|
| *(Get a frame)*
|
vAVPacket (encoded data)
|
| *(Decode the frame)*
|
vAVFrame (raw data) --------------------------------------------------> AVFrame (raw data)
*(Edit AVFrame->data values)*
|
| *(encode frame)*
|
V
AVPacket (encoded data)
|
| *(save frame)*
|
V
Video StreamAm I doing something obviously wrong ?
How can I change just one frame without effecting the others ?