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)

  • ffmpeg 2.8.x cross compile error on mac os x 10.10

    22 avril 2016, par alijandro

    I want to cross compile ffmpeg 2.8.x on Mac OS X 10.10, but I got the following error.

    HOSTCC  libavcodec/cabac_tablegen.o
    In file included from libavcodec/cabac_tablegen.c:25:
    In file included from libavcodec/cabac_functions.h:43:
    libavcodec/arm/cabac.h:96:25: error: value '24' out of range for constraint 'M'
             [byte]"M"(offsetof(CABACContext, bytestream)),
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stddef.h:120:24: note:
     expanded from macro 'offsetof'
    #define offsetof(t, d) __builtin_offsetof(t, d)
                      ^~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [libavcodec/cabac_tablegen.o] Error 1

    The error show some error in host cc, the host cc is clang-700.1.81

    $ gcc --version
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 7.0.2 (clang-700.1.81)
    Target: x86_64-apple-darwin14.5.0
    Thread model: posix

    Before I upgrade Xcode to 7.2, it worked fine.

    For ffmpeg 3.x, there is no such problem. But the ffmpeg version I need is 2.8.x. How can I fix without downgrade Xcode to previous version ?

  • Cross compiling Rust app depending on ffmpeg fails

    28 juin 2024, par user253530

    Trying to cross compile an application depending on ffmpeg-next from Linux to Windows. It works well on Linux but when using cross to compile for Windows I get this error

    


    error: failed to run custom build command for `ffmpeg-sys-next v7.0.0`

Caused by:
process didn't exit successfully: `/target/debug/build/ffmpeg-sys-next-a15fd7744c0ae4bc/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LIBAVUTIL_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/ffmpeg-sys-next-7.0.0/build.rs:740:14:
called `Result::unwrap()` on an `Err` value:
pkg-config exited with status code 1
> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libavutil

The system library `libavutil` required by crate `ffmpeg-sys-next` was not found.
The file `libavutil.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.```

Appreciate the help.


    


  • Cross origin issue in html 5 player

    2 septembre 2020, par Danish Abdul Hamid

    Hey Guys i am new this field i encoded video through ffmpeg and for packaging used bento 4 for output single file in ts below the command i used

    


    mp4hls —hls-version 4 —output-single-file —segment-duration 6 input_7000kb.mp4 input_5000kb.mp4 input_3500kb.mp4

    


    and this is output file http://stream.simpaisa.com/output/master.m3u8 when i open this url in html 5 player its showing error "not allowed by Access-Control-Allow-Headers in preflight response" but in android and vlc this url is working. server already have .htaccess file for cross origin allow .

    


    when i used this command mp4hls —hls-version 4 input_7000kb.mp4 input_5000kb.mp4 input_3500kb.mp4

    


    the output file is http://stream.simpaisa.com/new/output/master.m3u8 and this file is working in html 5 player no cross origin issue

    


    Please tell me whats the issue

    


    this is .htaccess file configuration

    


    Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Credentials "true"
Header set Access-Control-Allow-Methods "GET,HEAD,OPTIONS,POST,PUT"
Header set Access-Control-Allow-Headers "Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers"
RewriteEngine On

    


    RewriteCond %REQUEST_FILENAME !-f
RewriteRule ^(.*)$ index.php [QSA,L]