Recherche avancée

Médias (91)

Autres articles (112)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Undefined symbols _init_xrpow_core_init in libmp3lame.a

    10 septembre 2015, par mbelsky

    I’m using ffmpeg tool with x264 in my android project for encoding video. Now I wanna add audio convert feature, from 3gpp to mp3. As I understand I should add libmp3lame to ffmpeg bin.

    I’ve downloaded last lame version and updated few files :

    android_build.sh

    #!/bin/bash

    . settings.sh

    BASEDIR=$(pwd)
    TOOLCHAIN_PREFIX=${BASEDIR}/toolchain-android

    for i in "${SUPPORTED_ARCHITECTURES[@]}"
    do
     rm -rf ${TOOLCHAIN_PREFIX}
     ./x264_build.sh $i $BASEDIR 0 || exit 1
     ./lame_build.sh $i $BASEDIR 0 || exit 1
     ./ffmpeg_build.sh $i $BASEDIR 0 || exit 1
    done

    rm -rf ${TOOLCHAIN_PREFIX}

    lame_build.sh

    #!/bin/bash

    . abi_settings.sh $1 $2 $3

    pushd lame

    make clean

    case $1 in
     armeabi-v7a | armeabi-v7a-neon)
       HOST=arm-linux
     ;;
     x86)
       HOST=i686-linux
     ;;
    esac

    echo $CFLAGS

    ./configure \
     --with-pic \
     --host="$HOST" \
     --enable-static \
     --disable-shared \
     --prefix="${TOOLCHAIN_PREFIX}" || exit 1

    make -j${NUMBER_OF_CORES} install || exit 1

    popd

    ffmpeg_build.sh

    #!/bin/bash
    . abi_settings.sh $1 $2 $3

    pushd ffmpeg

    case $1 in
     armeabi-v7a | armeabi-v7a-neon)
       CPU='cortex-a8'
     ;;
     x86)
       CPU='i686'
     ;;
    esac

    make clean

    ./configure \
    --target-os="$TARGET_OS" \
    --cross-prefix="$CROSS_PREFIX" \
    --arch="$NDK_ABI" \
    --cpu="$CPU" \
    --enable-runtime-cpudetect \
    --sysroot="$NDK_SYSROOT" \
    --enable-pic \
    --enable-libx264 \
    --enable-libmp3lame \
    --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="${2}/ffmpeg-pkg-config" \
    --prefix="${2}/build/${1}" \
    --extra-cflags="-I${TOOLCHAIN_PREFIX} -I${MP3LAME}/include $CFLAGS" \
    --extra-ldflags="-L${TOOLCHAIN_PREFIX} -L${MP3LAME}/lib $LDFLAGS" \
    --extra-libs="-lm" \
    --extra-cxxflags="$CXX_FLAGS" || exit 1

    make -j${NUMBER_OF_CORES} && make install || exit 1

    popd

    Result of ./android_build.sh :

    /bin/sh ../libtool --tag=CC   --mode=link gcc  -O3  -ffast-math             -funroll-loops -Wall  -fno-common      -static  -o lame lame_main.o main.o brhist.o console.o get_audio.o lametime.o parse.o timestatus.o ../libmp3lame/libmp3lame.la -lncurses  -liconv -lm
    libtool: link: gcc -O3 -ffast-math -funroll-loops -Wall -fno-common -o lame lame_main.o main.o brhist.o console.o get_audio.o lametime.o parse.o timestatus.o  ../libmp3lame/.libs/libmp3lame.a -lncurses -liconv -lm
    Undefined symbols for architecture x86_64:
     "_init_xrpow_core_sse", referenced from:
         _init_xrpow_core_init in libmp3lame.a(quantize.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [lame] Error 1
    make: *** [install-recursive] Error 1

    I will happy any your replies !

  • How do I configure ffmpeg to enable rtpdec.h or rtpdec_h264

    3 mai 2022, par mike

    I'd like to build ffmpeg libraries so I can use the functionality in rtpdec_h264.c.

    


    As far as I can tell, my current build is not including this, at least not in the headers. I can happily encode and decode h264 via AVFormat structs, but now I'm trying to decode rtp packets directly.

    


    I might be missing something but it seems like I might just need to turn on another option when building ffmpeg - if so, what is that option ?

    


    I can see rtpdec is listed in the configure script as part of CONFIG_EXTRA - it looks to me like that should be building by default, but again no sign of the functions when I dump the contents of the libavformat .lib or .dll (I'm on Windows).

    


    Should I expect rtpdec.h to be in the include/libavformat output ?

    


    Or - am I missing something and the rtpdec stuff is handled internally, and I should be going through some other interface ?

    


    Current configure string is ./configure --prefix=./../../build/ffmpeg --enable-nonfree --enable-gpl --enable-shared --enable-cuda-nvcc --enable-libx264 --enable-libx265 --enable-libnpp --extra-cflags="-I../../build/x264/include -I../x265_git/source -I../nv_sdk -I../build/nv-codec-headers/include/ffnvcodec" --extra-ldflags="-L../../build/x264/lib -L../nv_sdk -L../x265_git/build/vc16-x86_64/Release"

    


  • Live Streaming over HTTP using CloudFront and FFMPEG having delay issue

    23 avril 2021, par jitendra-gautam

    Live Streaming using CloudFront and FFMPEG having delay issue I am using the NodeJS server with FFMPEG and live streaming to CloudFront, which is then consumed by many people via CloudFront. Below is the data received at the user's end.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1317
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:1
#EXTINF:0.833333,
1317.ts
#EXTINF:0.833333,
1318.ts
#EXTINF:0.833333,
1319.ts


    


    The problem is the next .ts file that is 1320.ts is taking time to create on the server, thus the user is seeing the loading sign, and when this 1320.ts is created on the server, thereafter only the user is able to see the next live stream frame. How can the streaming be continuous ?? Below is the FFMPEG command that is being used :

    


    process = child_process.spawn('ffmpeg', commandArgs);



    


    let commandArgs = [
  '-loglevel',
  'debug',
  '-protocol_whitelist',
  'pipe,udp,rtp,rtmp,http,https,tcp',
  '-fflags',
  '+genpts',
  '-f',
  'sdp',
  '-i',
  'pipe:0',
  '-c:v',
  'libx264',
  '-crf',
  '21',
  '-preset',
  'veryfast',
  '-g',
  '25',
  '-sc_threshold',
  '0',
  '-c:a',
  'aac',
  '-b:a',
  '128k',
  '-ac',
  '2',
  '-hls_flags',
  'delete_segments+append_list',
  '-f',
  'segment',
  '-segment_list_flags',
  'live',
  '-segment_time',
  '1',
  '-segment_list_size',
  '3',
  '-segment_format',
  'mpegts',
  '-segment_list',
  `${RECORD_FILE_LOCATION_PATH}/${fileName}.m3u8`,
  `-segment_list_type`,
  'm3u8',
  `${RECORD_FILE_LOCATION_PATH}/%d.ts`
];