Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (61)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (6653)

  • Add assembly support for -fsanitize=hwaddress tagged globals.

    21 août 2019, par Peter Collingbourne
    Add assembly support for -fsanitize=hwaddress tagged globals.
    

    As of LLVM r368102, Clang will set a pointer tag in bits 56-63 of the
    address of a global when compiling with -fsanitize=hwaddress. This requires
    an adjustment to assembly code that takes the address of such globals : the
    code cannot use the regular R_AARCH64_ADR_PREL_PG_HI21 relocation to refer
    to the global, since the tag would take the address out of range. Instead,
    the code must use the non-checking (_NC) variant of the relocation (the
    link-time check is substituted by a runtime check).

    This change makes the necessary adjustment in the movrel macro, where it is
    needed when compiling with -fsanitize=hwaddress.

    Signed-off-by : Peter Collingbourne <pcc@google.com>
    Reviewed-by : Martin Storsjö
    Reviewed-by : Janne Grunau

    • [DH] libavutil/aarch64/asm.S
  • Compiling FFMPEG with x265 has ERROR : x265 not found using pkg-config

    23 mars 2023, par timweiliu

    At first, I have a project with ffmpeg build support x264 for android in Mac OS.

    &#xA;&#xA;

    Now, I want to add x265 support.

    &#xA;&#xA;

    I have compiled the x265 with make & make install like this :

    &#xA;&#xA;

    [ 81%] Built target x265-static&#xA;[100%] Built target cli&#xA;Install the project...&#xA;-- Install configuration: "Release"&#xA;-- Up-to-date: /usr/local/lib/libx265.a&#xA;-- Up-to-date: /usr/local/include/x265.h&#xA;-- Up-to-date: /usr/local/include/x265_config.h&#xA;-- Up-to-date: /usr/local/lib/pkgconfig/x265.pc&#xA;-- Up-to-date: /usr/local/bin/x265&#xA;

    &#xA;&#xA;

    and then, I run this shell script :

    &#xA;&#xA;

    make distclean &#xA;&#xA;NDK_PATH=$NDK_HOME&#xA;NDK_ARM_PATH=${NDK_PATH}/platforms/android-9/arch-arm&#xA;NDK_ARM_BIN_PATH=${NDK_PATH}/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin&#xA;&#xA;CC=${NDK_ARM_BIN_PATH}/arm-linux-androideabi-gcc&#xA;&#xA;chmod &#x2B;x configure&#xA;chmod &#x2B;x version.sh&#xA;&#xA;if [ $APP_ABI = "armeabi-v7a" ]; then&#xA;LOCAL_CFLAGS="-O3 -DANDROID -fpic -I/usr/local/include -march=armv7-a -mfloat-abi=softfp -mfpu=neon"&#xA;ABLES="--enable-asm --enable-thumb --enable-hwaccels --cpu=armv7-a --enable-neon"&#xA;elif [ $APP_ABI = "armeabi" ]; then&#xA;LOCAL_CFLAGS="-O3 -DANDROID -fpic -I/usr/local/include"&#xA;ABLES="--disable-neon"&#xA;fi&#xA;echo $LOCAL_CFLAGS&#xA;echo $ABLES&#xA;echo $PKG_CONFIG_PATH&#xA;&#xA;echo "开始configure"&#xA;./configure \&#xA;--disable-yasm \&#xA;--disable-debug \&#xA;--disable-doc \&#xA;--disable-ffmpeg \&#xA;--disable-ffprobe \&#xA;--disable-ffplay \&#xA;--disable-ffserver \&#xA;--disable-stripping \&#xA;--disable-avdevice \&#xA;--disable-postproc \&#xA;--disable-network \&#xA;--enable-pthreads \&#xA;--enable-small \&#xA;--disable-encoders \&#xA;--enable-encoder=libx264 \&#xA;--enable-encoder=libfdk_aac \&#xA;--enable-libx265 \&#xA;--pkg-config-flags="--static" \&#xA;...&#xA;&#xA;echo "开始make"&#xA;make -j4&#xA;&#xA;echo "开始install"&#xA;sudo make install&#xA;

    &#xA;&#xA;

    It results in an error :

    &#xA;&#xA;

    -O3 -DANDROID -fpic -I/usr/local/include -march=armv7-a -mfloat-abi=softfp -mfpu=neon&#xA;--enable-asm --enable-thumb --enable-hwaccels --cpu=armv7-a --enable-neon&#xA;/usr/local/lib/pkgconfig&#xA;开始configure&#xA;ERROR: x265 not found using pkg-config&#xA;

    &#xA;&#xA;

    I looked at the config.log :

    &#xA;&#xA;

    use_pkg_config x265 x265.h x265_api_get&#xA;check_pkg_config x265 x265.h x265_api_get&#xA;false --exists --print-errors x265&#xA;ERROR: x265 not found using pkg-config&#xA;

    &#xA;&#xA;

    but, the file of x265.pc is existing on the path. Its content is :

    &#xA;&#xA;

    prefix=/usr/local&#xA;exec_prefix=${prefix}&#xA;libdir=${exec_prefix}/lib&#xA;includedir=${prefix}/include&#xA;&#xA;Name: x265&#xA;Description: H.265/HEVC video encoder&#xA;Version: 0.0&#xA;Libs: -L${libdir} -lx265&#xA;Libs.private: -lstdc&#x2B;&#x2B; -lm -lgcc -ldl -lgcc -ldl&#xA;Cflags: -I${includedir}&#xA;

    &#xA;&#xA;

    and the x265.h is in include path too.

    &#xA;&#xA;

    I run

    &#xA;&#xA;

    pkg-config --list-all&#xA;

    &#xA;&#xA;

    It also finds x265 :

    &#xA;&#xA;

    TIMWEILIU-MC0:libSrc timweiliu$ pkg-config --list-all&#xA;libecpg_compat libecpg_compat - PostgreSQL libecpg_compat library&#xA;fdk-aac        Fraunhofer FDK AAC Codec Library - AAC codec library&#xA;apr-1          APR - The Apache Portable Runtime library&#xA;apr-util-1     APR Utils - Companion library for APR&#xA;libpq          libpq - PostgreSQL libpq library&#xA;libpcre        libpcre - PCRE - Perl compatible regular expressions C library with 8 bit character support&#xA;libpgtypes     libpgtypes - PostgreSQL libpgtypes library&#xA;libecpg        libecpg - PostgreSQL libecpg library&#xA;x264           x264 - H.264 (MPEG4 AVC) encoder library&#xA;x265           x265 - H.265/HEVC video encoder&#xA;libpcreposix   libpcreposix - PCREPosix - Posix compatible interface to libpcre&#xA;libiodbc       iODBC - iODBC Driver Manager&#xA;

    &#xA;&#xA;

    Now, I don’t know why it does not work.&#xA;Why does pkg-config still not find the x265 ?

    &#xA;

  • FFmpeg : H.265/HEVC - does not work on Sony Smart-TV if you change encoder

    25 juillet 2019, par oigen90

    We have such Sony Bravia Smart-TV devices :

    • Sony KD-49XD7005 (2016) - Android
    • Sony KD-49XE7096 (2017) - Linux

    Those devices does have HEVC support, as well as 4K support.

    Also, we have a one minute Apple ProRes 4K video file. I need to transcode it into HEVC with some simple params, create DASH manifest and stream it into HTML5-player.
    The problem is that if I use the regular ’libx265’ codec passing it after "-c:v" - the video does not play on Sony Bravia (just freezes on ’loadstart’ player’s event). But if I use ’hevc_nvenc’ - it works ! What’s the reason of such behavior ? Both of codecs should work identically, hevc_nvenc just should be faster and was made to work on nvidia graphic cards (that’s all I know about those codecs’ difference so far). But in fact we have working stream encoded into hevc_nvenc and invalid stream encoded into libx265.

    See my FFmpeg command below.

    Which thoughts do you have ? If you want me to provide some more info - feel free to ask.

    ffmpeg -i input.mov -c:v hevc_nvenc -pix_fmt yuv420p -b:v 12000k -maxrate 14000k -bufsize 6000k -c:a copy -f mp4 output.mp4