Recherche avancée

Médias (91)

Autres articles (10)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (3178)

  • fftools/ffmpeg : simplify output stream initialization call graph

    25 mars 2023, par Anton Khirnov
    fftools/ffmpeg : simplify output stream initialization call graph
    

    Several places in the code currently call init_output_stream_wrapper(),
    which in turn calls init_output_stream(), which then calls either
    enc_open() or init_output_stream_streamcopy(), followed by
    of_stream_init(), which tells the muxer the stream is ready for muxing.

    All except one of these callers are in the encoding code, which will be
    moved to ffmpeg_enc.c. Keeping this structure would then necessitate
    ffmpeg_enc.c calling back into the common code in ffmpeg.c, which would
    then just call ffmpeg_mux, thus making the already convoluted call chain
    even more so.

    Simplify the situation by using separate paths for filter-fed output
    streams (audio and video encoders) and others (subtitles, streamcopy,
    data, attachments).

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg_enc.c
  • Linking to ffmpeg libraries fails while installing OpenCV

    12 août 2015, par Serhan

    FFMpeg 2.7.2 and all necessary libav* libraries are installed on my Ubuntu 14.04 machine. However, when I try to install OpenCV 2.4.11 (with FFMpeg enabled), I get the following error :

    /usr/bin/ld: cannot find -lavcodec
    /usr/bin/ld: cannot find -lswresample
    /usr/bin/ld: cannot find -lavutil
    /usr/bin/ld: cannot find -lavformat
    /usr/bin/ld: cannot find -lavcodec
    /usr/bin/ld: cannot find -lswresample
    /usr/bin/ld: cannot find -lavutil
    /usr/bin/ld: cannot find -lavformat
    collect2: error: ld returned 1 exit status
    make[2]: *** [bin/opencv_annotation] Error 1
    make[1]: *** [apps/annotation/CMakeFiles/opencv_annotation.dir/all] Error 2
    make: *** [all] Error 2

    I already tried pointing LD_LIBRARY_PATH and PKG_CONFIG_PATH to the locations which contain the FFmpeg libraries. I also tried with OpenCV 3.0 and obtained the same error.

    It seems that there is some kind of incompatibility between these versions of FFMpeg and OpenCV. Is there a workaround for this ?

    EDIT :
    For example locate libavcodec.a outputs :

    /home/guel/cvpr2014/bin/dependencies/ffmpeg-2.4/libavcodec/libavcodec.a
    /home/guel/cvpr2014/bin/dependencies/lib/libavcodec.a
    /home/guel/cvpr2014/bin/dependencies/opencv-2.4.9/3rdparty/lib/libavcodec.a
    /home/guel/ffmpeg_build/lib/libavcodec.a
    /home/guel/git/ffmpeg/libavcodec/libavcodec.a
    /home/guel/mplayer/ffmpeg/libavcodec/libavcodec.a
    /home/guel/projects/mpegflow/dependencies/opencv-2.4.11/3rdparty/lib/libavcodec.a

    So, I have it in multiple places. Is that bad ?

  • Standardizing many mp4 files into same resolution

    22 novembre 2018, par Cowfod

    I have a huge collection of Instagram videos in different resolutions and with different audio codecs.

    Some videos are 640x640, others are 640x800. You get the picture.

    When I try to concat the videos, the video and audio go out of sync in the final output and the in some places the audio is slowed down(?).

    This is my ffmpeg concat command :

    ffmpeg -i "$(cat /home/list.txt)" -c:v copy -c:a copy /home/output.mp4

    list.txt contains over 800 clips and is formatted correctly :

    file 'clip1.mp4'
    file 'clip2.mp4'
    file 'clip3.mp4'
    etc...

    I believe the issue is due to all the different resolutions and different codecs used, so how can I standardize my collection of clips in order to concat them into a working video file ?