Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (47)

  • 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 (5063)

  • Warning VSP2005 & Error VSP1048 when instrumenting C++ code dynamically linked to FFMPEG

    20 juin 2018, par TTJG

    I am trying to profile my project with the Instrumentation profiler of Visual Studio 2013 Ultimate. I have a 64bit C++ project which is dynamically linked to FFMPEG. However, the profiler is giving me the following error Error VSP1048: Internal instrumentation error. I don’t want to profile FFMPEG but only analyze the performance of my code. I downloaded the pre-built FFMPEG libs from this site ffmpeg.zeranoe.com/builds/. The project is also linking against Boost, live555 and x264. It is running and debugging fine. The full output of the profiler is :

    Profiling started.
    Instrumenting ...\Player.exe in place
    Info VSP3049: Small functions will be excluded from instrumentation.
    Microsoft (R) VSInstr Post-Link Instrumentation 12.0.21005 x64
    Copyright (C) Microsoft Corp. All rights reserved.
    Warning VSP2005: Internal instrumentation warning: The object '...\ffmpeg-20150506-git-a2190de-win64-dev\lib\avutil.lib(dbyqh.o)' was built without debug information.
    File to Process:
    \Player.exe --> ...\Player.exe
    Original file backed up to ...\Player.exe.orig
    Warning VSP2005: Internal instrumentation warning: The object '...\ffmpeg-20150506-git-a2190de-win64-dev\lib\avutil.lib(dbyqh.o)' was built without debug information.
    Error VSP1048: Internal instrumentation error.
    PRF0002: Instrumentation failed with these options: /u "...\Player.exe"   /excludesmallfuncs.  Please check the output window for additional details.
    Data written to ...\Player150506.vsp.
    Profiling finished.
    File contains no data buffers
    File contains no data buffers
    Analysis failed
    Profiling complete.

    Any ideas how this could be solved ? I have found very little about this issue on the Internet.

  • How to get a list of libraries ffmpeg has linked to (static ffmpeg libraries) ?

    6 octobre 2018, par myWallJSON

    I have compiled Ffmpeg (1.0) with newt configuration :

    ./configure  --disable-doc  --disable-ffplay --disable-ffprobe  --disable-ffserver    --disable-avdevice   --disable-avfilter   --disable-pthreads  --disable-everything --enable-muxer=flv --enable-encoder=flv --enable-encoder=h263 --disable-mmx  --disable-shared   --prefix=bin/  --disable-protocols --disable-network --disable-debug  --disable-asm --disable-stripping

    It compiled - no errors - headers and libs (static .a) are in place. (special experimental cigwin, experimental gcc, with no asm options, and no known by ffmpeg platform defines) (yet I have compiled and tested boost on it)

    Now I try to compile my app. I get next exceptions :

    ../ffmpeg-1.0/bin/lib/libavcodec.a: error: undefined reference to 'exp'
    ../ffmpeg-1.0/bin/lib/libavcodec.a: error: undefined reference to 'log'

    My compiler build line looks like this :

    g++ -static -emit-swf -o CloudClient.swf  -I../boost/boost_libraries/install-dir/include -I../ffmpeg-1.0/bin/include -L../boost/boost_libraries/install-dir/lib -L../ffmpeg-1.0/bin/lib \
       timer.o \
       audio_encoder.o \
       audio_generator.o \
       video_encoder.o \
       video_generator_rainbow.o \
       simple_synchronizer.o \
       multiplexer.o \
       transmitter.o \
       graph_runner.o \
       cloud_client.o \
       -pthread \
       -lswscale \
       -lavutil \
       -lavformat \
       -lavcodec \
       -lboost_system \
       -lboost_date_time \
       -lboost_thread

    So as you see quite complex and I already have all object files compiled and ready... Only one thing left - link it all to ffmpeg (striped from ffmpeg version compiled with boost)

    Tried adding -lm - no help...

    Well here my question is - how to get list of libraries ffmpeg linked to (like -lm etc) ?

  • How is decoded audio data stored in ffmpeg AVFrame ?

    23 février 2023, par necrosato

    I'm looking for clarification on how ffmpeg stores decoded audio data in frames before I start writing code to do audio mixing. AVFrame has int format and uint8_t* data[] members. If my understanding is correct, then the bytes in data should be cast to the proper type for format before working with it. So to do a simple 2x level boost if format == AV_SAMPLE_FMT_S16, I would :

    



    int16_t* audio_samples = frame->data[0];
int num_samples = frame->nb_samples * frame->channels;
for (int i = 0; i < num_samples; ++i) {
  audio_samples[i] = audio_samples[i] * 2;
}


    



    Is this the correct way of going about things ?