
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (55)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Changer le statut par défaut des nouveaux inscrits
26 décembre 2015, parPar défaut, lors de leur inscription, les nouveaux utilisateurs ont le statut de visiteur. Ils disposent de certains droits mais ne peuvent pas forcément publier leurs contenus eux-même etc...
Il est possible de changer ce statut par défaut. en "rédacteur".
Pour ce faire, un administrateur webmestre du site doit aller dans l’espace privé de SPIP en ajoutant ecrire/ à l’url de son site.
Une fois dans l’espace privé, il lui faut suivre les menus configuration > Interactivité et activer (...) -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (7869)
-
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


-
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