
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...)
Sur d’autres sites (6029)
-
A nice comparison of mics
3 juin 2010DVEStore has done a great comparison of different types of microphones on video. Audio is a black art, and folks rarely put in the time to do A/B/C comparisons. We tend to just default to a set of mics that we’ve decided are "good enough" and then don’t go back to reevaluate.
-
Array Getting Lost While Passing From C++ to C Using Callback [duplicate]
23 décembre 2020, par Abhishek SharmaI am trying to write Video Using FFmpeg by generating frame at run time using direct3d and the frames are generated using sharp dx at c# and I use window runtime to callback to c# to generate Frame And return Platform::Array of Byte ;


so for writing video using FFmpeg, I used C code that writes video, and to ask for generating frame I implemented a callback to generate a frame and all that in StaticLib


uint8_t*(*genrate_frame_callback)(int) = NULL; 



now in C-File, I call fill_image to get the frame and write to the video


static void fill_image(int frame_index, int width, int height)
{
 int x, y, i;

 i = frame_index;
 auto result = genrate_frame_callback(frame_index);// after passing this point while using debugger reults single element not even array
 .
 .
 .
 code to write video
 
}



now when I call to Write Video before that pass this function to the callback that is in the c++ file in a Window Runtime Component that reference to static lib


uint8_t* genrate_frame(int args)
{
 auto frame = FireGenrateFramet(args); // returns Platform::Array<byte>
 vector v(frame->begin(), frame->end());
 return v.data();// data is abilabe to this point 
}
</byte>


now the result variable contains a single element
I am new to c++ and c and unable to understand why is data not passed to the function using call back


Edit :


then can you help me with how to pass Data I tried using the global Scope Variable c++ file too but still,
it gets lost,
but after introducing another call back to read data stored in global Variable it read the whole data correctly


vector frame_v;
uint8_t* genrate_frame(int args)
{
 auto frame = FireGenrateFrame(args);
 vector v(frame->begin(), frame->end());
 frame_v = v;
 return v.data();// this loose the Same 
}

uint8_t read_pixal(int args)
{
 return frame_v[args];// where as it read out correctly
}



but I don't want to store and add new call back an read from their just pass the array


-
ffmpeg concat drops audio frames
5 octobre 2017, par ShaunI have an mp4 file and I want to take two sequential sections of the video out and render them as individual files, later recombining them back into the original video. For instance, with my video
video.mp4
, I can runffmpeg -i video.mp4 -ss 56 -t 4 out1.mp4
ffmpeg -i video.mp4 -ss 60 -t 4 out2.mp4creating
out1.mp4
which contains 00:00:56 to 00:01:00 ofvideo.mp4
, andout2.mp4
which contains 00:01:00 to 00:01:04. However, later I want to be able to recombine them again quickly (i.e., without reencoding), so I use the concat demuxer,ffmpeg -f concat -safe 0 -i files.txt -c copy concat.mp4
where
files.txt
containsfile out1.mp4
file out2.mp4which theoretically should give me back 00:00:56 to 00:01:04 of
video.mp4
, however there are always dropped audio frames where the concatenation occurs, creating a very unpleasant sound artifact, an audio blip, if you will.I have tried using
async
and-af apad
on initially creating the two sections of the video but I am still faced with the same problem, and have not found the solution elsewhere. I have experienced this issue in multiple different use cases, so hopefully this simple example will shed some light on the real problem.