Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (26)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (4702)

  • Compile FFmpeg with libfdk_aac

    26 mars 2024, par Toydor

    I been reading on how to convert mp3 to m4a, and found that I must compile FFmpeg if I'll use the AAC encoder, libfdk_aac.

    



    But reading FFmpeg guide on how to compile FFmpeg with libfdk_aac makes no sense for a beginner like me.

    



    To use libfdk_aac the encoding guide says :

    



    


    Requires ffmpeg to be configured with —enable-libfdk_aac
 —enable-nonfree.

    


    



    Where do I put those flags ?

    



    Do I put it here somewhere ? :

    



    cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
make distclean


    



    Or maybe here somewhere ?

    



    cd ~/ffmpeg_sources
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
export PKG_CONFIG_PATH
./configure --prefix="$HOME/ffmpeg_build" \
  --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
  --bindir="$HOME/bin" --extra-libs="-ldl" --enable-gpl --enable-libass --enable-libfdk-aac \
  --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx \
  --enable-libx264 --enable-nonfree --enable-x11grab
make
make install
make distclean
hash -r


    



    If I'm reading the compile guide right I guess that these two chunks of code is what I need to compile FFmpeg.

    



    I'm using Ubuntu server 12.4

    



    UPDATE

    



    After upgrading my system to Ubuntu 16.04 I had to install ffmpeg again. 
I still needed libfdk-aac. Fortunately there's a good step-by-step guide at http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu on how to compile ffmpeg.

    



    I thought I would share how to compile if just interested in compiling ffmpeg with libfdk-aac and libmp3lame.

    



    If you haven't already a bin in home directory :

    



    mkdir ~/bin 


    



    Install dependencies. Didn't need the non-server packages :

    



    sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-dev 


    



    Then install the encoders. Had to install yasm as well, otherwise I got errors when compiling.

    



    sudo apt-get install libfdk-aac-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install yasm


    



    Then compile ffmpeg with needed flags

    



    cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libtheora \
--enable-libvorbis \
--enable-libmp3lame \
--enable-nonfree \
--enable-gpl
PATH="$HOME/bin:$PATH" make
make install
make distclean
hash -r


    


  • How to build opencv_ffmpeg.so for Linux/MacOS

    27 octobre 2016, par Black

    How to build opencv_ffmpeg.so like opencv_ffmpeg.dll in Windows for OpenCV use in java app.
    I followed build guide of FFmpeg.org but when build completed, it just generated many lib*.so.
    How to build opencv_ffmpeg.so for shipping in my java application and load it dynamically when app runs ?

  • avformat/matroskaenc : Only write Tracks if there is a track

    29 décembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Only write Tracks if there is a track
    

    The Matroska muxer does not write every stream as a Matroska track ;
    some streams are written as AttachedFile. But should no stream be
    written as a Matroska track, the Matroska muxer would nevertheless
    write a Tracks element without a TrackEntry. This is against the spec.
    This commit changes this and only writes a Tracks if there is a Matroska
    track.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c