Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (42)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4972)

  • Android-NDK building using the Bambuser source

    13 juillet 2015, par Kenny910

    I am trying to use the FFmpeg source provided by the Bambuser.

    However, I am fail to build the files

    I get the following error :

    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    I have already set the NDK path to /home/android-ndk but still get this error

    And I am using Android-NDK-r5b

    can anyone help ? THX

    Here is my build.sh

    #!/bin/bash

    if [ "$NDK" = "" ]; then
       echo NDK variable not set, assuming ${HOME}/android-ndk
       export NDK=${HOME}/android-ndk
    fi

    SYSROOT=$NDK/platforms/android-3/arch-arm
    # Expand the prebuilt/* path into the correct one
    TOOLCHAIN=`echo $NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows`
    export PATH=$TOOLCHAIN/bin:$PATH

    rm -rf build/ffmpeg
    mkdir -p build/ffmpeg
    cd ffmpeg

    # Don't build any neon version for now
    for version in armv5te armv7a; do

       DEST=../build/ffmpeg
       FLAGS="--target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm"
       FLAGS="$FLAGS --sysroot=$SYSROOT"
       FLAGS="$FLAGS --soname-prefix=/data/data/com.streaming.realive/lib/"
       FLAGS="$FLAGS --enable-shared --disable-symver"
       FLAGS="$FLAGS --enable-small --optimization-flags=-O2"
       FLAGS="$FLAGS --enable-encoder=mpeg4 --enable-decoder=mpeg4"
       FLAGS="$FLAGS --enable-encoder=mpeg2video --enable-encoder=nellymoser"
       FLAGS="$FLAGS --enable-protocol=rtp --enable-protocol=rtmp"
       FLAGS="$FLAGS --enable-protocol=http --enable-protocol=tcp --enable-protocol=udp"
       FLAGS="$FLAGS --enable-protocol=file"

       case "$version" in
           neon)
               EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"
               EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
               # Runtime choosing neon vs non-neon requires
               # renamed files
               ABI="armeabi-v7a"
               ;;
           armv7a)
               EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp"
               EXTRA_LDFLAGS=""
               ABI="armeabi-v7a"
               ;;
           *)
               EXTRA_CFLAGS=""
               EXTRA_LDFLAGS=""
               ABI="armeabi"
               ;;
       esac
       DEST="$DEST/$ABI"
       FLAGS="$FLAGS --prefix=$DEST"

       mkdir -p $DEST
       echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" > $DEST/info.txt
       ./configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" | tee $DEST/configuration.txt
       [ $PIPESTATUS == 0 ] || exit 1
       make clean
       make -j4 || exit 1
       make install || exit 1

    done
  • Using FFmpeg's (libavformat) RTP data structures via dynamic linking

    15 septembre 2011, par ericreeves

    I want to use the RTP data structures (e.g. RTPMuxContext in libavformat/rtpenc.h) provided by FFmpeg's libavformat however they don't seem to be available with the following install :

    ffmpeg version 0.8.2.git, Copyright (c) 2000-2011 the FFmpeg developers
     built on Sep 14 2011 16:04:33 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
     configuration: --enable-shared --disable-mmx --arch=x86_64
     libavutil    51. 16. 0 / 51. 16. 0
     libavcodec   53. 14. 0 / 53. 14. 0
     libavformat  53. 12. 0 / 53. 12. 0
     libavdevice  53.  3. 0 / 53.  3. 0
     libavfilter   2. 40. 0 /  2. 40. 0
     libswscale    2.  1. 0 /  2.  1. 0

    When I look in /usr/local/include, I see the libavformat directory however only a few files are there : avformat.h, avio.h, and version.h. Of course, when I try to include libavformat/rtpenc.h I get "error : libavformat/rtpenc.h : No such file or directory"

    I'd like to achieve this by dynamic linking to the FFmpeg libraries (for LGPL compliance, among other reasons), but it doesn't seem to be possible.

    Is there a parameter for the configure script that I'm missing, or a post-installation step that I've neglected ?

  • Add SRT subtitle to video with ffmpeg

    3 juillet 2015, par jAckOdE

    I use ffmpeg to encode, and add subtitle to a video by following command

    $ ffmpeg -i hifi.avi -i hifi.srt -acodec libfaac -ar 48000 -ab 128k -ac 2 -vcodec libx264 -vpre ipod640 -s 480x240 -b 256k -scodec copy  hifi.m4v -newsubtitle

    Here is the output

    ffmpeg version 0.8.git, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug  4 2011 11:11:39 with gcc 4.5.2
     configuration: --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --disable-shared --enable-static --enable-gpl --enable-postproc --enable-pthreads --enable-ffplay --disable-ffserver --enable-memalign-hack --enable-nonfree --enable-libfaac --arch=x86 --enable-swscale --enable-libx264 --enable-avfilter --enable-debug=3
     libavutil    51. 11. 1 / 51. 11. 1
     libavcodec   53.  9. 1 / 53.  9. 1
     libavformat  53.  6. 0 / 53.  6. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 27. 5 /  2. 27. 5
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, avi, from 'hifi.avi':
     Metadata:
       encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
       IAS1            : English
     Duration: 01:49:02.20, start: 0.000000, bitrate: 897 kb/s
       Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 544x304 [SAR 1:1 DAR 34:19], 25 tbr, 25 tbn, 25 tbc
       Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 32 kb/s
    [srt @ 0152c100] Estimating duration from bitrate, this may be inaccurate
    Input #1, srt, from 'hifi.srt':
     Duration: N/A, start: 56.080000, bitrate: N/A
       Stream #1.0: Subtitle: srt
    File 'hifi.m4v' already exists. Overwrite ? [y/N] y
    [buffer @ 02548920] w:544 h:304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 02558ee0] w:544 h:304 fmt:yuv420p -> w:480 h:240 fmt:yuv420p flags:0x4
    [libx264 @ 02547f20] Default settings detected, using medium profile
    [libx264 @ 02547f20] using SAR=1/1
    [libx264 @ 02547f20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
    [libx264 @ 02547f20] profile High, level 3.0
    [libx264 @ 02547f20] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=256 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=10000 nal_hrd=none ip_ratio=1.40 aq=1:1.00
    Output #0, ipod, to 'hifi.m4v':
       Stream #0.0: Video: libx264, yuv420p, 480x240 [SAR 1:1 DAR 2:1], q=2-31, 256 kb/s, 90k tbn, 25 tbc
       Stream #0.1: Audio: libfaac, 48000 Hz, 2 channels, s16, 128 kb/s
       Stream #0.2: Subtitle: srt
       Stream #0.3: Subtitle: [0][0][0][0] / 0x0000, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
     Stream #1.0 -> #0.2
     Stream #1.0 -> #0.3
    Encoder (codec id 0) not found for output stream #0.3

    can anyone tell what wrong with my command ??

    thanks,