
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
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
Sur d’autres sites (5969)
-
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. -
Getting the file name of downloaded video using yt-dlp
31 décembre 2024, par LT_OrangeI'm intending to use yt-dlp to download a video and then cut the video down afterward using ffmpeg. But to be able to use ffmpeg I am going to have to know the name of the file that yt-dlp produces. I have read through their documentation but I can't seem to find a way of getting the file name back into my program.