Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (70)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • 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 ;

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

Sur d’autres sites (8780)

  • Raspberry Pi : how to configure audio sampling rate in ALSA, ffmpeg, mp3 encoding pipeline

    30 janvier 2014, par user3252022

    I have a Pi with the camera module and a USB sound card. The intent is to use this combination to generate the MPEG2-TS segments for HTTP Live Streaming (Apple's HLS.)

    raspivid -ih -e -w 1280 -h 720 -fps 25 -vf -hf -t 0 -b 1800000 -o - | \
    ffmpeg -y \
     -i - \
     -ac 1 \
     -f alsa -ar 22050 -i hw:0,0 \
     -c:v copy \
     -c:a libshine -strict -2 \
     -map 0:0 -map 1:0 \
     -f ssegment \
     -segment_list_entry_prefix live/ \
     -segment_time 10 \
     -segment_format mpegts \
     -segment_list "$base/live.m3u8" \
     -segment_list_size 20 \
     -segment_list_flags +live \
     -segment_list_type m3u8 \
     -segment_wrap 200 \
     live/%08d.ts"

    The above basically works. The heavy lifting of H.264 video encoding is done in hardware. However, MP3 encoding in software brings the ARM core to its knees. The option :

    -f alsa -ar 22050 -i hw:0,0

    is intended to lighten the CPU loading by reducing the ALSA audio sampling rate - from the 48kHz default down to 22.05kHz. The sampling rate, however, won't budge to anything below 44.1kHz.

    Any idea what I'm doing wrong ? Why can't I tell ALSA to sample at 22.05kHz (or 8kHz for that matter ?)

    Here's an excerpt output from running the encoding pipeline :

    ffmpeg version N-60125-g4b8c599 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jan 29 2014 10:16:02 with gcc 4.6 (Debian 4.6.3-14+rpi1)
     configuration: --enable-gpl --enable-nonfree --enable-libshine
     ...  
    Input #0, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    Guessed Channel Layout for  Input Stream #1.0 : mono
    Input #1, alsa, from 'hw:0,0':
     Duration: N/A, start: 1391066215.835499, bitrate: 705 kb/s
       Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
       ...
  • linphone on windows building error

    21 novembre 2013, par chhameed

    i have downloaded the linphone for Android from Github.
    i have also followed all the instructions in readme file. the problem is that when i run ndk-build command it produce below error .

    Android NDK: ERROR:jni/..//submodules/externals/build/ffmpeg/Android.mk:avutil-linphone: LOCAL_SRC_FILES points to a missing file
    Android NDK: Check that jni/..//submodules/externals/build/ffmpeg/arm/libavutil/libavutil-linphone-arm.so exists  or that its path is correct
    /cygdrive/c/development/android-ndk-r9b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

    what this error mean ? & how can i resolve this? i already spent many hours to searchout this error but no success...
    my OS is window 7 & i used cygwin for commands.

    i have found same question on SO
    Android NDK error when using FFmpeg in Android ?

    it says Basically problem was with ffmpeg lib.I was not able to compile ffmpeg lib on Windows 7. I switched to Ubuntu & tried AppUnite & after spending so many hours it was working.

    is it not possible to build linphone on windows ???
  • avdevice/lavfi : dont assign variables to themselfs

    9 septembre 2014, par Michael Niedermayer
    avdevice/lavfi : dont assign variables to themselfs
    

    Fixes "warning : explicitly assigning a variable of type int to itself"

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavdevice/lavfi.c