Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (67)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6697)

  • Configured Half-ninja android FFMPEG project

    24 décembre 2013, par Mr.G

    I have configured android-halfninja project completely and i manage to build

    refered to this link

    libs/armeabi/libvideokit.so and
    libs/armeabi/ffmpeg

    libs from the given source

    But i had to make some changes to the .sh files in order to build .so files.

    But now i tried to execute following ffmpeg command in my android project it doesn't run properly

       String var[] = {"ffmpeg","-i",input};



    12-24 10:34:44.569: I/VideoKit(14374): Loading native library compiled at 14:43:51 Dec 18 2013
    12-24 10:34:44.599: I/ActivityManager(290): Process uk.co.halfninja.videokit (pid 14374) has died.
    12-24 10:34:44.599: W/ActivityManager(290): Force removing ActivityRecord{2bea3e28 uk.co.halfninja.videokit/.MainActivity}: app died, no saved state

    Can any one tell me what might be th issue to have this error in half-nonja project

    here is my configure_ffmpeg.sh file

       #!/bin/bash
    pushd `dirname $0`
    . settings.sh

    if [[ $DEBUG == 1 ]]; then
     echo "DEBUG = 1"
     DEBUG_FLAG="--disable-stripping"
    fi

    # I haven&#39;t found a reliable way to install/uninstall a patch from a Makefile,
    # so just always try to apply it, and ignore it if it fails. Works fine unless
    # the files being patched have changed, in which cause a partial application
    # could happen unnoticed.
    patch -N -p1 --reject-file=- &lt; redact-plugins.patch
    patch -N -p1 --reject-file=- &lt; arm-asm-fix.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       ARM_generate_position_independent_code_to_access_data_symbols.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       ARM_intmath_use_native-size_return_types_for_clipping_functions.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       enable-fake-pkg-config.patch

    pushd ffmpeg

    ./configure \
    $DEBUG_FLAG \
    --arch=arm \
    --cpu=cortex-a8 \
    --target-os=linux \
    --enable-runtime-cpudetect \
    --prefix=$prefix \
    --enable-pic \
    --disable-shared \
    --enable-static \
    --cross-prefix=$NDK_TOOLCHAIN_BASE/bin/$NDK_ABI-linux-androideabi- \
    --sysroot="$NDK_SYSROOT" \
    --extra-cflags="-I../x264 -mfloat-abi=softfp -mfpu=neon" \
    --extra-ldflags="-L../x264" \
    \
    --enable-version3 \
    --enable-gpl \
    \
    --disable-doc \
    --enable-yasm \
    \
    --disable-everything \
    --enable-decoder=mjpeg \
    --enable-demuxer=mjpeg \
    --enable-parser=mjpeg \
    --enable-demuxer=image2 \
    --enable-muxer=mp4 \
    --enable-encoder=libx264 \
    --enable-decoder=rawvideo \
    --enable-protocol=file \
    --enable-hwaccels \
    --enable-filter=buffer \
    --enable-filter=buffersink \
    --disable-demuxer=v4l \
    --disable-demuxer=v4l2 \
    --disable-indev=v4l \
    --disable-indev=v4l2 \
    \
    --disable-indevs \
    --enable-indev=lavfi \
    --disable-outdevs \
    \
    --enable-hwaccels \
    \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-network \
    \
    --enable-libx264 \
    --enable-zlib \
    --enable-muxer=md5

    popd; popd


    #--enable-decoders \
    #--enable-encoders \
    #--enable-muxers \
    #--enable-demuxers \
    #--enable-parsers \
    #--enable-protocols \
    #--enable-filter=buffer \
    #--enable-filter=buffersink \
    #--enable-avresample \
    #--enable-faac \
  • WebRTC books – a brief review

    30 décembre 2013, par silvia

    I just finished reading Rob Manson’s awesome book “Getting Started with WebRTC” and I can highly recommend it for any Web developer who is interested in WebRTC.

    Rob explains very clearly how to create your first video, audio or data peer-connection using WebRTC in current Google Chrome or Firefox (I think it also now applies to Opera, though that wasn’t the case when his book was published). He makes available example code, so you can replicate it in your own Web application easily, including the setup of a signalling server. He also points out that you need a ICE (STUN/TURN) server to punch through firewalls and gives recommendations for what software is available, but stops short of explaining how to set them up.

    Rob’s focus is very much on the features required in a typical Web application :

    • video calls
    • audio calls
    • text chats
    • file sharing

    In fact, he provides the most in-depth demo of how to set up a good file sharing interface I have come across.

    Rob then also extends his introduction to WebRTC to two key application areas : education and team communication. His recommendations are spot on and required reading for anyone developing applications in these spaces.

    Before Rob’s book, I have also read Alan Johnson and Dan Burnett’s “WebRTC” book on APIs and RTCWEB protocols of the HTML5 Real-Time Web.

    Alan and Dan’s book was written more than a year ago and explains that state of standardisation at that time. It’s probably a little out-dated now, but it still gives you good foundations on why some decisions were made the way they are and what are contentious issues (some of which still remain). If you really want to understand what happens behind the scenes when you call certain functions in the WebRTC APIs of browsers, then this is for you.

    Alan and Dan’s book explains in more details than Rob’s book how IP addresses of communication partners are found, how firewall holepunching works, how sessions get negotiated, and how the standards process works. It’s probably less useful to a Web developer who just wants to implement video call functionality into their Web application, though if something goes wrong you may find yourself digging into the details of SDP, SRTP, DTLS, and other cryptic abbreviations of protocols that all need to work together to get a WebRTC call working.

    Overall, both books are worthwhile and cover different aspects of WebRTC that you will stumble across if you are directly dealing with WebRTC code.

  • Download m3u8 playlist and merge into one C#

    10 août 2014, par trinvh

    Solution 1 :

    I tried this by using create a ffmpeg wrapper, read output from cmd with following command :

    -i \"{m3u8-url-for-download}\" -y -c copy -bsf:a aac_adtstoasc \"{destination-filename}\"

    I can get duration, current state for downloading. Everything seems be ok. However sometimes it crashed and I can’t detect why. It isn’t ALWAYS, but SOMETIME.

    Solution 2 :

    I download m3u8 playlist file and get contents within it. It contains an array *.ts file url that I can easily download by using HttpClient. But I don’t know how to combine these *.ts file into one mp4 file that keeps their format.

    Are there other solutions for doing this ?