Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (41)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • Correctly Allocate And Fill Frame In FFmpeg

    14 avril 2022, par Michel Feinstein

    I am filling a Frame with a BGR image for encoding, and I am getting a memory leak. I think I got to the source of the problem but it appears to be a library issue instead. Since FFmpeg is such a mature library, I think I am misusing it and I would like to be instructed on how to do it correctly.

    



    I am allocating a Frame using :

    



    AVFrame *bgrFrame = av_frame_alloc();


    



    And later I allocate the image in the Frame using :

    



    av_image_alloc(bgrFrame->data, bgrFrame->linesize, bgrFrame->width, bgrFrame->height, AV_PIX_FMT_BGR24, 32);


    



    Then I fill the image allocated using :

    



    av_image_fill_pointers(bgrFrame->data, AV_PIX_FMT_BGR24, bgrFrame->height, originalBGRImage.data, bgrFrame->linesize);


    



    Where originalBGRImage is an OpenCV Mat.

    



    And this has a memory leak, apparently, av_image_alloc() allocates memory, and av_image_fill_pointers() also allocates memory, on the same pointers (I can see bgrFrame->data[0] changing between calls).

    



    If I call

    



    av_freep(&bgrFrame->data[0]);


    



    After av_image_alloc(), it's fine, but if I call it after av_image_fill_pointers(), the program crashes, even though bgrFrame->data[0] is not NULL, which I find very curious.

    



    Looking FFmpeg's av_image_alloc() source code, I see it calls av_image_fill_pointers() twice inside it, once allocating a buffer buff....and later in av_image_fill_pointers() source code, data[0] is substituted by the image pointer, which is (I think) the source of the memory leak, since data[0] was holding buf from the previous av_image_alloc() call.

    



    So this brings the final question : What's the correct way of filling a frame with an image ?.

    


  • Ffmpeg android build

    16 avril 2016, par msj

    I’m trying to build ffmpeg library for android, using roman10 tutorial

    I am able to run build_android.sh script.. but its not creating that ‘android’ folder in my source/ffmpeg folder !!

    In my case i try ffmpeg 3.0.1 in Ubuntu 14.04 ; 64bit.

    In the command line

    ./build_android.sh : line 17 : —prefix=/home/Admin/Documents/android-ndk-r9b/sources/ffmpeg-3.0.1/android/arm : No such file or directory

    ./build_android.sh : line 19 : —enable-shared : command not found

    ./build_android.sh : line 21 : —disable-static : command not found

    ./build_android.sh : line 23 : —disable-doc : command not found

    ./build_android.sh : line 25 : —disable-ffmpeg : command not found

    ./build_android.sh : line 27 : —disable-ffplay : command not found

    ./build_android.sh : line 29 : —disable-ffprobe : command not found

    ./build_android.sh : line 31 : —disable-ffserver : command not found

    ./build_android.sh : line 33 : —disable-avdevice : command not found

    ./build_android.sh : line 35 : —disable-doc : command not found

    ./build_android.sh : line 37 : —disable-symver : command not found

    ./build_android.sh : line 39 : —cross-prefix=/home/Admin/Documents/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi- : No such file or directory

    ./build_android.sh : line 41 : —target-os=linux : command not found

    ./build_android.sh : line 43 : —arch=arm : command not found

    ./build_android.sh : line 45 : —enable-cross-compile : command not found

    ./build_android.sh : line 47 : —sysroot=/home/Admin/Documents/android-ndk-r9b/platforms/android-9/arch-arm/ : No such file or directory

    ./build_android.sh : line 49 : —extra-cflags=-Os -fpic -marm : command not found

    ./build_android.sh : line 51 : —extra-ldflags= : command not found

    why android folder doesn’t create,

    please someone can guide me to do this.

    Thanks for ur time.

  • How to play wma file in iphone ?

    3 octobre 2011, par Mohasin

    I want to build a radio app in iPhone for which wma streaming is necessary. So if u have any idea please help me.
    thanks in advance