Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (109)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (11456)

  • swscale : organize and better document flags

    10 octobre 2024, par Niklas Haas
    swscale : organize and better document flags
    

    Group them into an enum rather than random #defines, and document their
    behavior a bit more obviously.

    Of particular note, I discovered that SWS_DIRECT_BGR is not referenced
    anywhere else in the code base. As such, I have moved it to the deprecated
    section, alongside SWS_ERROR_DIFFUSION.

    Sponsored-by : Sovereign Tech Fund
    Signed-off-by : Niklas Haas <git@haasn.dev>

    • [DH] doc/APIchanges
    • [DH] libswscale/swscale.h
    • [DH] libswscale/version.h
  • mfenc : Avoid including codecapi.h, fix building in UWP mode with clang

    25 mai 2020, par Martin Storsjö
    mfenc : Avoid including codecapi.h, fix building in UWP mode with clang
    

    Including codecapi.h and uuids.h in UWP mode doesn't define all defines
    properly, ending up with constructs that MSVC silently tolerates, but
    that clang errors out on, like this :
    DEFINE_GUIDEX(CODECAPI_AVEncCommonFormatConstraint) ;

    Just avoid including codecapi.h completely and hardcode the last few
    enum values we use from there. We already use local versions of most
    enums from there, due to older mingw-w64 headers being incomplete.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/mf_utils.h
    • [DH] libavcodec/mfenc.c
  • Build native-lib_arm64-v8a : error : no matching function for call to 'av_rescale_q_rnd'

    12 septembre 2020, par yejafot

    I'm trying to compile my native-lib.cpp, but I keep getting this error. The issue here is for the parameter

    &#xA;

    pkt.pts = av_rescale_q_rnd(pkt.pts, in_stream->time_base, out_stream->time_base, (AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));&#xA;        pkt.dts = av_rescale_q_rnd(pkt.dts, in_stream->time_base, out_stream->time_base, (AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));&#xA;        pkt.duration = av_rescale_q(pkt.duration, in_stream->time_base, out_stream->time_base);&#xA;

    &#xA;

    the error which i got

    &#xA;

    > Task :app:externalNativeBuildRelease&#xA;Build native-lib_armeabi-v7a&#xA;ninja: Entering directory `\app\.cxx\cmake\release\armeabi-v7a&#x27;&#xA;[1/2] Building CXX object CMakeFiles/native-lib.dir/native-lib.cpp.o&#xA;[2/2] Linking CXX shared library \app\build\intermediates\cmake\release\obj\armeabi-v7a\libnative-lib.so&#xA;Build native-lib_arm64-v8a&#xA;ninja: Entering directory `\app\.cxx\cmake\release\arm64-v8a&#x27;&#xA;[1/2] Building CXX object CMakeFiles/native-lib.dir/native-lib.cpp.o&#xA;FAILED: CMakeFiles/native-lib.dir/native-lib.cpp.o &#xA;\AppData\Local\Android\Sdk\ndk\21.0.6113669\toolchains\llvm\prebuilt\windows-x86_64\bin\clang&#x2B;&#x2B;.exe --target=aarch64-none-linux-android23 --gcc-toolchain=/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/sysroot  -Dnative_lib_EXPORTS -I/app/src/main/libs/arm64-v8a/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -frtti -fexceptions -O2 -DNDEBUG  -fPIC -MD -MT CMakeFiles/native-lib.dir/native-lib.cpp.o -MF CMakeFiles\native-lib.dir\native-lib.cpp.o.d -o CMakeFiles/native-lib.dir/native-lib.cpp.o -c /app/src/main/cpp/native-lib.cpp&#xA;/app/src/main/cpp/native-lib.cpp:716:19: error: no matching function for call to &#x27;av_rescale_q_rnd&#x27;&#xA;        pkt.pts = av_rescale_q_rnd(pkt.pts, in_stream->time_base, out_stream->time_base, (enum AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));&#xA;                  ^~~~~~~~~~~~~~~~&#xA;/app/src/main/libs/arm64-v8a/include\libavutil/mathematics.h:160:9: note: candidate function not viable: no known conversion from &#x27;AVRational *&#x27; to &#x27;AVRational&#x27; for 2nd argument; dereference the argument with *&#xA;int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,&#xA;        ^&#xA;/app/src/main/cpp/native-lib.cpp:717:19: error: no matching function for call to &#x27;av_rescale_q_rnd&#x27;&#xA;        pkt.dts = av_rescale_q_rnd(pkt.dts, in_stream->time_base, out_stream->time_base, (enum AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));&#xA;                  ^~~~~~~~~~~~~~~~&#xA;/app/src/main/libs/arm64-v8a/include\libavutil/mathematics.h:160:9: note: candidate function not viable: no known conversion from &#x27;AVRational *&#x27; to &#x27;AVRational&#x27; for 2nd argument; dereference the argument with *&#xA;int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,&#xA;        ^&#xA;/app/src/main/cpp/native-lib.cpp:718:24: error: no matching function for call to &#x27;av_rescale_q&#x27;&#xA;        pkt.duration = av_rescale_q(pkt.duration, in_stream->time_base, out_stream->time_base);&#xA;                       ^~~~~~~~~~~~&#xA;/app/src/main/libs/arm64-v8a/include\libavutil/mathematics.h:151:9: note: candidate function not viable: no known conversion from &#x27;AVRational *&#x27; to &#x27;AVRational&#x27; for 2nd argument; dereference the argument with *&#xA;int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;&#xA;        ^&#xA;3 errors generated.&#xA;ninja: build stopped: subcommand failed.&#xA;&#xA;> Task :app:externalNativeBuildRelease FAILED&#xA;

    &#xA;

    from above error i think it throws only for arm64-v8 itseems

    &#xA;

    app\src\main\libs\arm64-v8a\include\libavutil\mathematics.h:151:9: note: candidate function not viable: no known conversion from &#x27;AVRational *&#x27; to &#x27;AVRational&#x27; for 2nd argument; dereference the argument with *&#xA;

    &#xA;

    enter image description here

    &#xA;

    As it is an ffmpeg example code block and i didnt change anything. Android Studio throws error only when i try to generate signed apk and i can run this in my Android 6 device without error.

    &#xA;

    I tried replacing in_stream->time_base, out_stream->time_base into *in_stream->time_base, *out_stream->time_base it throws other type of error

    &#xA;

    app\src\main\cpp\native-lib.cpp:716:45: error: indirection requires pointer operand (&#x27;AVRational&#x27; invalid)&#xA;

    &#xA;