
Recherche avancée
Autres articles (108)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
Sur d’autres sites (16808)
-
Custom Reading Function for FFMPEG I/O
20 septembre 2015, par Joe AllenI need to create a custom reading callback function that can read contents of a file in the form of a
std::string
into auint8_t * buf
. I tried multiple different methods found around the internet and on stackoverflow but sometimes it works and other the the program infinitely loops or stops execution half way.I have no problems with amr/3gp files but all wav/pcm files are causing some problems for some reason. All I know its something to do with the reading function I have so far.
Ideally I would like to be able to give the program any type of file and then it converts it.
This is how I am calling the
readCallback
function from the code ://create the buffer
uint8_t * avio_ctx_buffer = NULL;
//allocate space for the buffer using ffmpeg allocation method
avio_ctx_buffer = (uint8_t *) av_malloc(avio_ctx_buffer_size);
//Allocate and initialize an AVIOContext for buffered I/O.
//audio variable contains the contents of the audio file
avio_ctx = avio_alloc_context(avio_ctx_buffer, avio_ctx_buffer_size,0, &audio, &readCallback, NULL, NULL);Here is the callback function that works on some types of files :
static int readCallback(void* opaque, uint8_t * buf, int buf_size){
std::string * file =static_cast(opaque);
if(file->length() == 0){
return AVERROR_EOF; //if we reach to the end of the string, return
// return End of file
}
// Creating a vector of the string size
std::vector array(file->length());
//Copying the contents of the string into the vector
std::copy(file->begin(),file->end(),array.begin());
//Copying the vector into buf
std::copy(array.begin(),array.end(),buf);
return file->length();
} -
http: Support setting custom User-Agent
6 mars 2014, par Clément Bœsch -
FFMPEG m3u8 video download from login required site
30 octobre 2024, par Nirob SajuI am trying to download an m3u8 video using FFmpeg from a site that requires login to access the content. When inspecting the Network tab in Chrome DevTools, I see that the response for the /k/timestamp file is encrypted. I have identified some JavaScript files that seem to handle the decryption, and I need help extracting or decoding the AES key used for this encryption.


m3u8 video link :




ffmpeg error :


[hls @ 0432ea40] Unable to open key file https://qcdn.spayee.in/spees/w/o/6220ccd30cf263f8af9067d0/v/63e4f548e4b0eefe383262fb/u/66ed03d201d3836b2a2e9a14/t/b4a8d7afda4fbc89a2dc30762bc176db/p/assets/videos/6220ccd30cf263f8af9067d0/2023/02/09/63e4f548e4b0eefe383262fb/k/timestamp


k/timestamp encrypted response :


RD�QC+��Kɨi�r|>dnmwK}N !UkqC[66Ye0ZOw ?o6660)]2� !y��jaM�S��


js files :


https://d502jbuhuh9wk.cloudfront.net/static/files/hls.324013256245304581.min.js
https://drive.google.com/file/d/1HBm_ykS7UVSaY6zyF4G1_RJb9IdgA32W/view?usp=sharing


any idea how to successfully download the video ? note : i also try with yt-dlp but not downloading