Recherche avancée

Médias (91)

Autres articles (92)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications 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, par

    Certains 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Pré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 ) (...)

Sur d’autres sites (12475)

  • Link FFmpeg with CMake on Windows

    6 juillet 2021, par ldall03

    I'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" {&#xA;#include "libavcodec/avcodec.h"&#xA;#include "libavformat/avformat.h"&#xA;}&#xA;&#xA;#include <iostream>&#xA;&#xA;int main() {&#xA;    AVFormatContext *pFormatContext = avformat_alloc_context();&#xA;    return 0;&#xA;}&#xA;</iostream>

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

    I am using :

    &#xA;

      &#xA;
    • MinGW
    • &#xA;

    • CLion
    • &#xA;

    • Windows 10
    • &#xA;

    • CMake
    • &#xA;

    &#xA;

  • Merge commit ’a8956eca1ff3b5b7f9aadbe6eb46536efeb2f828’

    10 octobre 2015, par Hendrik Leppkes
    Merge commit ’a8956eca1ff3b5b7f9aadbe6eb46536efeb2f828’
    

    * commit ’a8956eca1ff3b5b7f9aadbe6eb46536efeb2f828’ :
    cabac : Make CABAC states hardcoded

    Merged-by : Hendrik Leppkes <h.leppkes@gmail.com>

  • Inserting ad in a video

    29 novembre 2018, par zomie

    I am developing an application in which i want to add an ad in between video. eg:Main video is 10min long.I want to add an ad in between that say at 2nd minute.Ad video is 3min long.Video should be paused and ad video should be played along with its audio , also the main video has to be resumed from where it was paused. Can this be solved with ffmpeg ?If yes please say how ? THANKS in advance