
Recherche avancée
Autres articles (102)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
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.
Sur d’autres sites (12096)
-
Troubles setting up FFMPEG with Code::Blocks
14 juillet 2014, par David NorgrenI’m trying to compile this in Code::Blocks with MinGW :
extern "C" { // also tried without this
#include <libavcodec></libavcodec>avcodec.h>
}
int main()
{
AVCodec* codec;
avcodec_register_all();
return 0;
}The header file contains the AvCodec struct and void avcodec_register_all(void) ; but I still get undefined reference to `avcodec_register_all’. It doesn’t complain about the AvCodec pointer.
My project build options :
- Linker Settings->Link Libraries : C :\Libs\ffmpeg\lib\avcodec.lib
- Search Directories->Compiler : C :\Libs\ffmpeg\include
- Search Directories->Linker : C :\Libs\ffmpeg\lib
Any ideas why I get this error ?
-
How to deploy external library along with function source code to firebase ?
2 octobre 2017, par Yizhou YanI am new to the firebase. I am doing a project which requires using ffmpeg to process video.
What I know about ffmpeg is that it runs on cmd. If I want to use ffmpeg to process video on my local computer in node.js, I need to install two things :
I first need to download the ffmpeg source code from its website, and set the system path variable so that I can run ffmpeg cmd in any directory. By doing this, I am now able to run ffmpeg in cmd to process video.
Second, install the ffmpeg module via npm. By doing this, I am now able to write code in node.js(or javascript ?) and uses functions that ffmpeg module provided to process video.
Now I want to do it with firebase. what I know about the firebase is that I am only allowed to write functions in node.js(or javascript ?) and deploy the functions to firebase server which could be trigger by events.
I also know that if I run
npm install --save ffmpeg
. in the function folder, it installs the module and--save
builds the dependency for me. Here the question comes. Where should I put the ffmpeg source code file and deploy it along with the ffmpeg module and my js function source code to the firebase ? and do I need to configure the ffmpeg source file(like setting the system path variable) ? Thank you in advanced ! -
FFMPEG, change default audio track with code
2 août 2019, par GralexI have mkv video, and what just change default audio track without remux, encode/decode and other stuff. How it can be done with code ?
AVFormatContext *pFormatCtx;
av_register_all();
avcodec_register_all();
avformat_network_init();
pFormatCtx = avformat_alloc_context();
if (avformat_open_input(&pFormatCtx, [videoPath UTF8String], NULL, NULL) != 0) {
avformat_close_input(&pFormatCtx);
return;
}
if (avformat_find_stream_info(pFormatCtx, NULL) < 0) {
avformat_close_input(&pFormatCtx);
return;
}
for (int i = 0; i < pFormatCtx->nb_streams; i++) {
if (pFormatCtx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) {
// so we have audio track info
// what todo next?
}
}
avformat_close_input(&pFormatCtx);