Recherche avancée

Médias (91)

Autres articles (111)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

Sur d’autres sites (5249)

  • How to specify —extra-cflags and —extra-ldflags when cross compiling ?

    29 avril 2024, par H. Yong

    I am using the cross compiler aarch64-none-linux-gnu.

    


    Now I am trying to compile ffmpeg for aarch64 for a board with arm cpu.

    


    My question is when I run script like :

    


    export SYSROOT=/mnt/d/Libs/cross-compilers/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc

./configure --prefix=/usr/local \
    --enable-cross-compile \
    --cross-prefix=${CROSS_PREFIX} \
    --sysroot=${SYSROOT} \
    --arch=aarch64 \
    --target-os=linux \
    --host-os=linux \
    --enable-libvpx \
    --extra-cflags="-I/usr/local/include/vpx" \
    --extra-ldflags="-L/usr/local/lib"


    


    Does the compiler will search headers in /usr/local/include/vpx or ${SYSROOT}/usr/local/include/vpx (the absolute path) ?

    


    In other words, will the compiler add $SYSROOT prefix to the -I/usr/local/include/vpx and -L/usr/local/lib automatically ?

    


  • avdevice/decklink_common : Fix "Cross-compiling FFmpeg on Debian for Windows with...

    25 novembre 2014, par Carl Eugen Hoyos
    avdevice/decklink_common : Fix "Cross-compiling FFmpeg on Debian for Windows with MinGW-w64"
    

    Fixes Ticket4130

    Requested and Tested by : Zeranoe
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavdevice/decklink_common.h
  • Cross Fade Arbitrary Number of Videos ffmpeg Efficiently

    15 avril 2022, par jippyjoe4

    I have a series of videos named 'cut_xxx.mp4' where xxx represents a number 000 through 999. I want to do a cross fade on an arbitrary number of them to create a compilation, and each fade should last 4 seconds long. Currently, I'm doing this with Python, but I suspect this is not the most efficient way :

    &#xA;

    import subprocess    &#xA;def get_length(filename):&#xA;  result = subprocess.run(["ffprobe", "-v", "error", "-show_entries",&#xA;                          "format=duration", "-of",&#xA;                          "default=noprint_wrappers=1:nokey=1", filename],&#xA;    stdout=subprocess.PIPE,&#xA;    stderr=subprocess.STDOUT)&#xA;  return float(result.stdout)&#xA;&#xA;CROSS_FADE_DURATION = 4&#xA;&#xA;basevideo = &#x27;cut_000.mp4&#x27;&#xA;for ii in range(total_videos - 1):&#xA;  fade_start = math.floor(get_length(basevideo) - CROSS_FADE_DURATION) # new one&#xA;  outfile = f&#x27;cross_fade_{ii}.mp4&#x27;&#xA;  append_video = f&#x27;cut_{str(ii&#x2B;1).zfill(3)}.mp4&#x27;&#xA;  cfcmd = f&#x27;ffmpeg -y -i {basevideo} -i {append_video} -filter_complex "xfade=offset={fade_start}:duration={CROSS_FADE_DURATION}" -an {outfile}&#x27;&#xA;  basevideo = outfile&#xA;  subprocess.call(cfcmd)&#xA;  print(fade_start)&#xA;

    &#xA;

    I specifically remove the audio with -an because I'll add an audio track later. The issue I see here is that I'm compressing the video over and over again with each individual video file I add to the compilation because I'm only adding one video at a time and then re-encoding.

    &#xA;

    There should be a way to cross fade multiple videos together into a compilation, but I'm not sure what this would look like or how I would get it to work for an arbitrary number of video files of different durations. Any idea on what that monolithic ffmppeg command would look like or how I could automatically generate it given a list of videos and their durations ?

    &#xA;