
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (43)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5454)
-
Link FFmpeg with CMake on Windows
6 juillet 2021, par ldall03I'm new to CMake and I've been scratching my heads for a couple of days on this. I downloaded the FFmpeg source code and built it without issues. I got a lib folder and an include folder which I placed in my project structure :


project
 \--- build
 \--- dep
 \---ffmpeg
 \--- include
 \--- lib
 main.cpp
 CMakeLists.txt



Here is my CMakeLists.txt :


cmake_minimum_required(VERSION 3.19)
project(VidShare)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(VidShare main.cpp)
include_directories(dep/ffmpeg/include)
target_link_libraries(VidShare
 ${CMAKE_SOURCE_DIR}/dep/ffmpeg/lib/libavformat.a
 ${CMAKE_SOURCE_DIR}/dep/ffmpeg/lib/libavcodec.a)



and here is my main.cpp :


extern "C" {
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
}

#include <iostream>

int main() {
 AVFormatContext *pFormatContext = avformat_alloc_context();
 return 0;
}
</iostream>


As soon as I add this line of code :
AVFormatContext *pFormatContext = avformat_alloc_context();
I get this error when building in CLion :

[ 50%] Linking CXX executable VidShare.exe
CMakeFiles\VidShare.dir/objects.a(main.cpp.obj): In function `main':
D:/Users/dalla/Documents/Coding Projects/C++/VidShare/main.cpp:9: undefined reference to `avformat_alloc_context'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [CMakeFiles\VidShare.dir\build.make:107: VidShare.exe] Error 1
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:94: CMakeFiles/VidShare.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:101: CMakeFiles/VidShare.dir/rule] Error 2
mingw32-make.exe: *** [Makefile:136: VidShare] Error 2



I'm guessing this is a linker error and that I don't know how to link it properly (might be something stupid I am missing) as avformat_alloc_context() seems to be in the header file. Anyways, I'm quite desperate and some help would be appreciated.


I am using :


- 

- MinGW
- CLion
- Windows 10
- CMake










-
avfilter/buffersrc : limit link variance logs below debug loglevel
26 janvier 2024, par Gyan Doshiavfilter/buffersrc : limit link variance logs below debug loglevel
The video param change check will print loglines below debug level
for each frame which is different from the inlink parameters. This
can spam the console. It is now printed at warning level once for
each param change else it is kept at debug level.Partially addresses #10823
-
d3d11va : Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable
9 juin 2017, par Martin Storsjöd3d11va : Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable
When targeting the UWP API subset, the LoadLibrary function is not
available (and the fallback, LoadPackagedLibrary, can’t be used to
load system DLLs). In these cases, link directly to the functions
in the DLLs instead of trying to load them dynamically at runtime.Signed-off-by : Martin Storsjö <martin@martin.st>