Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (72)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9245)

  • UWP C# and Windows Runtime Component C++ Permission Denied error when opening file

    29 décembre 2020, par Surya Solanki

    I have developed a UWP app in C# which contains a Windows Runtime Component C++ project. the app allows the user to choose an mp4 file and passes this file to the c++ code, which then utilizes ffmpeg libraries to retrieve the presentation time stamps of a video file and output them to a file.

    


    the issue i'm facing is that the c++ code is not able to open the mp4 file when using the avformat_open_input function :

    


    int PTSExtraction::parse_file(Platform::String^ filename)
{
    int ret = 0;
    AVPacket pkt = { 0 };


    std::wstring fileNameW(filename->Begin());
    std::string fileNameA(fileNameW.begin(), fileNameW.end());
    const wchar_t* w_chars = fileNameW.c_str();
    src_filename = fileNameA.c_str(); 

    if (avformat_open_input(&fmt_ctx, src_filename, NULL, NULL) < 0) {
        fprintf(stderr, "Could not open source file %s\n", src_filename);
        return 1; 
    }
    // rest of code 
}


    


    the error received by avformat_open_input is Permission Denied. I cannot even open a random text file in this function by doing :

    


    ofstream output; 
output.open("output.txt");


    


    I realize there are file system permissions that are blocking the C++ component of my uwp app from opening files. here are the things i have tried so far :

    


    


    None of these allow the C++ component to open any files. i would really appreciate if anyone has a solution for this problem.

    


  • FFmpeg has text relocation's.This is wasting memory and prevents security hardening

    6 février 2018, par Sagar Hudge

    I am getting following exception on video trimming.

    video path : /storage/emulated/0/Pictures/Instagram/Fast & Furious 7 - Get Low Extended Version Video.mp4

    I have found the issue ,it is causing due to the file name having spaces in between them you can check in above mentioned path and in exception.

    after changing file name its working but changing name of every file from device its not the right way so how can I solve this exception

    FAILED with output : WARNING: linker: /data/user/0/com.example.SeekBarActivity/files/ffmpeg
    has text relocations. This is wasting memory and prevents security hardening.
    Please fix. ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers

    built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-
    android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --
    cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-
    Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264
    --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig
    --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --
    enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --
    enable-yasm --disable-doc --disable-shared --enable-static --pkg-
    config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --
    prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-
    cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -
    U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-
    all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-
    android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-
    lpng -lexpat -lm' --extra-cxxflags=
     libavutil      54.  7.100 / 54.  7.100
     libavcodec     56.  1.100 / 56.  1.100
     libavformat    56.  4.101 / 56.  4.101
     libavdevice    56.  0.100 / 56.  0.100
     libavfilter     5.  1.100 /  5.  1.100
     libswscale      3.  0.100 /  3.  0.100
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  0.100 / 53.  0.100
     /storage/emulated/0/Pictures/Instagram/Fast: No such file or directory
  • Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) properties.

    23 novembre 2012, par mlynch

    m demo/custom-messages-data-demo.html m demo/index.html m jquery.validate.js - lib/jquery.metadata.js m test/index.html m test/rules.js m test/test.js Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) (...)