
Recherche avancée
Autres articles (53)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (9822)
-
Revision 27f4b14c65 : vp9_onyx_int.h resolve visual studio warning errors Change-Id : Iec8a51bdea6d6c9
13 février 2014, par Jim BankoskiChanged Paths :
Modify /vp9/encoder/vp9_onyx_int.h
vp9_onyx_int.h resolve visual studio warning errorsChange-Id : Iec8a51bdea6d6c916051d3bc5bbc6d00754d0cc8
-
calling ffmpeg.exe in visual studio c++
14 juillet 2015, par lokc261I am just a newbie to c++.
I’m trying to use FFmpeg in a C++ project in Visual Studio 2012, by calling the ffmpeg.exe file inside it.This is what I tried so far :
//FFMPEG CALLING
char ffmpeg2[BUFSIZ];
strcpy(ffmpeg2,"..\bin\ffmpeg.exe");
strcat(ffmpeg2,"-f s16le -ar 8K -ac -ss");
strcat(ffmpeg2,buffers); //string hh:mm:ss
strcat(ffmpeg2,"-t");
strcat (ffmpeg2,buffer); //string hh:mm:ss
strcat(ffmpeg2,"-i ..\\rec.pcm ..\Desktop\newFolder\filename");
if(system(ffmpeg2) !=0)
{
ft =fopen("ffmpeg_err.txt","a");
fprintf( ft,"my command failed...\n" );
fclose(ft);
}
else
{system(ffmpeg2);}It keep producing the my command fail in the text file.
Do you guys have any hint on how to fix it. -
Problem with Linking FFMPEG Libraries in Visual Studio on Windows 10 [closed]
14 mars 2024, par Dentricky73I'm facing an issue while trying to link FFMPEG libraries in Visual Studio on a Windows 10 OS. Specifically, Visual Studio seems to locate the headers correctly, but encounters difficulties in finding the associated libraries. Initially, I attempted to compile the FFMPEG SDK myself, but encountered problems with the library extensions, which ended with a Linux .o file instead of a Windows .lib. Subsequently, I downloaded a prebuilt version from here, but I'm still encountering errors.


In Visual Studio 2022, I've configured the following settings :




Property > Configuration Properties > C/C++ > General > Additional Include Directories
C :\cmder\c++SDK\ffmpeg\include






Property > Configuration Properties > Linker > General > Additional Library Directories
C :\cmder\c++SDK\ffmpeg\lib






Property > Configuration Properties > Linker > Input > Additional Dependencies
avcodec.lib, avdevice.lib, avfilter.lib, avformat.lib, avutil.lib, postproc.lib, swresample.lib, swscale.lib




Despite these configurations, Visual Studio fails to locate the FFMPEG libraries during the linking process. Could someone please provide guidance on how to resolve this issue and correctly link the FFMPEG libraries in Visual Studio on Windows ? Any help or insights would be greatly appreciated.


Specific Issues Encountered :


During the compilation and linking process in Visual Studio 2022, I encountered the following errors :


Error 1 : A value of type "const AVCodec *" cannot be used to initialize an entity of type "AVCodec *".
Error 2 : Identifier "av_free_packet" is undefined.
Error 3 : Class "AVStream" has no member "codec".
Error 4 : Class "AVFrame" has no member "owner".
Despite configuring the project settings to include the correct include directories and library dependencies, these errors persist.


Why Previous Attempts Didn't Meet My Needs :


My previous attempts to resolve these issues were unsuccessful because I couldn't pinpoint the root cause of the compilation and linking errors. While I ensured that the include directories and library dependencies were correctly configured in Visual Studio, the errors persisted, indicating that there may be underlying issues with the setup or compatibility between the FFMPEG SDK and Visual Studio environment.