Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (82)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (5662)

  • MacOS - how to choose audio device from terminal

    9 octobre 2024, par jon_two

    I've been working on a Python program to create audio and also play back existing sound files. I can spawn multiple processes and have them all play to the laptop speakers, but I was wondering if it was possible to send each signal to a separate sound device. This is so I can apply effects to some processes but not all together.

    


    I'm using a MacBook and python simpleaudio, which calls AudioToolbox to connect to the output device. I've also got ffmpeg installed, so could use ffplay if that is easier. The pydub library uses this - it exports the current wave to a temp file then uses subprocess and ffplay to play it back.

    


    I can get a list of devices, but am not sure how to use this list to choose a device.

    


    % ffplay -devices
Devices:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E audiotoolbox    AudioToolbox output device
 D  avfoundation    AVFoundation input device
 D  lavfi           Libavfilter virtual input device
  E sdl,sdl2        SDL2 output device
 D  x11grab         X11 screen capture, using XCB


    


    I did see a post that suggested using ffmpeg to list devices, again I can't figure out how to use this list.

    


    % ffmpeg -f lavfi -i sine=r=44100 -f audiotoolbox -list_devices true -
Input #0, lavfi, from 'sine=r=44100':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
  Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[AudioToolbox @ 0x135e3f230] CoreAudio devices:
[AudioToolbox @ 0x135e3f230] [0]               Background Music, (null)
[AudioToolbox @ 0x135e3f230] [1]   Background Music (UI Sounds), BGMDevice_UISounds
[AudioToolbox @ 0x135e3f230] [2]         MacBook Air Microphone, BuiltInMicrophoneDevice
[AudioToolbox @ 0x135e3f230] [3]           MacBook Air Speakers, BuiltInSpeakerDevice
[AudioToolbox @ 0x135e3f230] [4]               Aggregate Device, ~:AMS2_Aggregate:0
Output #0, audiotoolbox, to 'pipe:':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s16le
size=N/A time=00:00:05.06 bitrate=N/A speed=0.984x    
video:0kB audio:436kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.


    


    This does at least give me a recognisable list of devices. If I add more Aggregate Devices, can I play back different files to each device ?

    


  • Errors compiling ffmpeg for iPhone

    20 juillet 2013, par simon.d

    I'm on OS X Lion and I'm trying to compile the armv7 libraries of ffmpeg for the iPhone. I'm using ffmpeg 0.10.

    Here's my configure line :

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk' --enable-pic --disable-avdevice --disable-avfilter --disable-zlib --disable-bzlib

    Configure runs fine although it ends with : WARNING : Compiler does not indicate floating-point ABI, guessing soft.

    Here are my make results :

    Users-MacBook-Pro:ffmpeg-0.10 user$ make
    CC    libavformat/4xm.o
    CC    libavformat/a64.o
    CC    libavformat/aacdec.o
    CC    libavformat/ac3dec.o
    CC    libavformat/act.o
    CC    libavformat/adtsenc.o
    CC    libavformat/adxdec.o
    CC    libavformat/aea.o
    CC    libavformat/aiffdec.o
    CC    libavformat/aiffenc.o
    CC    libavformat/allformats.o
    CC    libavformat/amr.o
    CC    libavformat/anm.o
    CC    libavformat/apc.o
    CC    libavformat/ape.o
    CC    libavformat/apetag.o
    CC    libavformat/applehttp.o
    CC    libavformat/applehttpproto.o
    CC    libavformat/asf.o
    CC    libavformat/asfcrypt.o
    error: invalid operand in inline asm: 'ldr   ${0:Q}, $1
       ldr   ${0:R}, $2
       '
    make: *** [libavformat/asfcrypt.o] Error 1
    Users-MacBook-Pro:ffmpeg-0.10 user$

    Any ideas ? Thanks !

  • uwp app throw error when install from package but works fine in any mode when run directly launching from visual studio

    30 septembre 2020, par Abhishek Sharma

    I have created an app wrapping FFmpeg in uwp now for the requirement
I have all the major dll of FFmpeg and then set to content and copy always in property
now when I launch the app installed from the visual studio in any mode weather release, debug, x86,x64 it works fine but as I created a package and then install the app and run it, it throws an error where it says that dll not found not directly but says file not found which is because of dll because I face that problem in debug mode before and it's because of dll not available to uwp
you can look at the project here : https://github.com/AbhiSharma9350/Winfftool