Recherche avancée

Médias (0)

Mot : - Tags -/logo

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (14139)

  • Recorded & uploaded video from iphone device won't play in iphone

    11 juin 2019, par Sohil Chamadia

    I am facing an issue regarding :

    Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.

    This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.

    Below is the code which i have used to play video :

    <video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>

    When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
    enter image description here

  • Encode raw PCM to aac using ffmpeg native AAC

    10 avril 2012, par newentry

    I am trying to convert raw PCM to aac .So i am trying to achieve it through ffmpeg.

    My ffmepg configuration

    —enable-cross-compile —arch=arm —cpu=armv6 —enable-asm —target-os=linux —disable-stripping —enable-neon —enable-version3 —disable-shared —enable-static —enable-gpl —enable-memalign-hack —cc=arm-linux-androideabi-gcc —ld=arm-linux-androideabi-ld —extra-cflags='-fPIC -DANDROID -D_thumb_ -mthumb -Wfatal-errors -Wno-deprecated -marm -march=armv6 ' —disable-everything —enable-encoder=aac —enable-decoder=h264 —enable-hwaccels —disable-ffmpeg —disable-ffplay —disable-ffprobe —disable-ffserver —disable-network —enable-filter=buffer —enable-filter=buffersink —disable-demuxer=v4l —disable-demuxer=v4l2 —disable-indev=v4l —disable-indev=v4l2

    avcodec_find_encoder(CODEC_ID_AAC)  find&#39;s the AAC encoder succesfully.

    audio_context= avcodec_alloc_context()
    avcodec_open(audio_context, audio_encoder)  failed to open aac

    any idea ?

  • How can I develop a 264 "codec format worked in VideoView API on android ?

    31 juillet 2018, par lscodex

    I have got a big problem. I have a video "tc10.264" I downloaded from live555.com. I can not play the video that using videoview,exoplayer and vitamio sdk
    on android.
    I know that the video is codec.it is not container like mp4,flv etc.
    Later, I played the video with "ffplay -f h264 tc10.264 " via on windows console.
    and ffmpeg shows me this spec.
    h264(baseline), yubj420p and 25 fps.

    Okay this video is exist.
    After, I downloaded ffmpeg from on ubuntu in virtual machine. And I build(compile) the ffmpeg with x264 it as shown below.

    my directory path is like ffmpeg > x264 and I compiled libx264.a for ffmpeg from x264 folder.

    Note : my android phone has architecturally armeabi_v7a

    There is build_android_arm.sh script.

    #!/bin/bash
    echo starting building ....
    NDK=/home/lscodex/android-sdk/ndk-bundle
    PLATFORM=$NDK/platforms/android-19/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    PREFIX=./android/arm

    function build_one
    {
     ./configure \
     --prefix=$PREFIX \
     --enable-static \
     --enable-pic \
     --host=arm-linux \
     --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
     --sysroot=$PLATFORM

     make clean
     make
     make install
    }

    build_one

    echo Android ARM builds finished....

    After, I have a folder called android containing lib,include and bin files.So, I compiled script that shown below to achieve shared folder (".so") in ffmpeg folder.
    there is build_android_armeabi_v7a.sh script

    #!/bin/bash

    echo Android starting armeabi_v7a
    NDK=/home/lscodex/android-sdk/ndk-bundle
    PLATFORM=$NDK/platforms/android-19/arch-arm/
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    CPU=armeabi_v7a
    PREFIX=$(pwd)/android/$CPU

    GENERAL="\
    --enable-small \
    --enable-cross-compile \
    --extra-libs="-lgcc" \
    --arch=arm \
    --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
    --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
    --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
    --extra-cflags="-I../x264/android/arm/include" \
    --extra-ldflags="-L../x264/android/arm/lib" "


    MODULES="\
    --enable-gpl \
    --enable-libx264"

    H264TEST="\
    --enable-encoder=libx264 \
    --enable-encoder=libx264rgb \
    --enable-decoder=h264 \
    --enable-muxer=h264 \
    --enable-demuxer=h264 \
    --enable-parser=h264"

    function build_ARMv7
    {
     ./configure \
     --target-os=android \
     --prefix=$PREFIX \
     ${GENERAL} \
     --sysroot=$PLATFORM \
     --enable-shared \
     ${H264TEST} \
     --disable-static \
     --extra-cflags="-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300" \
     --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \
     --enable-zlib \
     ${MODULES} \
     --disable-doc \
     --enable-neon

     make clean
     make
     make install
    }


    build_ARMv7
    echo Android ARMv7-a builds finished

    finally, I obtained another an android folder that contain shared library.
    I integrated the files from the android studio. I created CMakeLists.txt and cpp folder.
    So, Everything is perfectly working, I think.
    this ndk code helping me for receive a duration of bugs_bunny.mp4 video.

    extern "C"
    JNIEXPORT jint JNICALL
    Java_com_lscodex_just_videoplayertesting2_VideoProcessing_videoDuration(
           JNIEnv *env,
           jobject obj,
           jstring input) {


       AVFormatContext *pFormatCtx = NULL;

        if(avformat_open_input(&amp;pFormatCtx,convertStringFileToChar(env,input),NULL,NULL)&lt;0){
            throwException(env,"Could not open input file ");
            loge("Could not open input file ");
            return 0;
        }
        if (avformat_find_stream_info(pFormatCtx,NULL)&lt;0){
            throwException(env,"Failed to retrieve input stream information");
            loge("Failed to retrieve input stream information");
            return 0;
        }

       logd("I reached it here :) ");


       int64_t duration = pFormatCtx->duration;
       avformat_close_input(&amp;pFormatCtx);
       avformat_free_context(pFormatCtx);
       return (jint) (duration / AV_TIME_BASE);
    }

    at least for mp4 video format.
    So, my question is, How can I run tc10.264 codec video format via ffmpeg on exoplayer or on videoview api ?