Recherche avancée

Médias (91)

Autres articles (3)

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (3025)

  • Looking for a non-FFMPEG/non-Lame Python audio converter for Android [closed]

    1er avril, par Marcelcolt

    So as the title suggests, I'm looking for another way to convert audio.
I am currently using PyTubeFix to download audio from YouTube. That works awesome, but it downloads in M4A.
I would really like it in MP3.

    


    Most converter libraries and packages use FFMPEG. I've tried to download it through Termux and PyDroid3, but that doesn't work. I've tried to compile it for Android with NDK, but I am so lost in what I am supposed to be doing...
Same goes for Lame.
I've been at it for over a week now, but I can't find any other way to convert.

    


    AI only suggests that I write a library of my own, but not HOW to do that (only that I'd have to convert M4A to WAV first and then back to MP3).

    


    So I would love it if someone could point me towards a library or package that doesn't depend on FFMPEG or Lame.

    


    I hope you guys can help !

    


  • Debugging Gstreamer pipeline with tee and a filesink in C

    28 septembre 2020, par NicolasBourbaki

    There is an excellent example on how to construct a C program using GStreamer and its tee and filesink elements on https://gist.github.com/crearo/a49a8805857f1237c401be14ba6d3b03.
(Another one can be found on https://gstreamer.freedesktop.org/documentation/tutorials/basic/multithreading-and-pad-availability.html?gi-language=c).

    


    The idea of the tee element in a pipeline is similar like the tee program in Unix : Like a T-shaped tube, it allows to add a bifurcation to a pipeline, which is in my case used to display a video stream to the screen (which works perfectly) and writing it at the same time to a file (which doesn't work - the file is created but stays empty, i.e. has a size of 0 bytes after closing the program).

    


    I deviated from the examples mentioned above by neither having a queue element for recording (because I also don't have one for displaying, which works) as well as neither having an encoder nor a muxer. Although this might be a problem for what gets written to the file in the end, I would expect that there is written something to the file at all.

    


    The program does compile. What additional diagnostics could I run in order to pin down the problem ?

    


  • Building ffmpeg libraries for third party usage

    23 mars 2023, par mikeProgrammer

    I am trying to create bindings for FFmpeg in Elixir programming language and would love to handle FFmpeg binaries for users of my library.

    


    The whole flow is as follows :

    


      

    1. Write some function definition in Elixir
    2. 


    3. Implement it in in C using ffmpeg libs
    4. 


    5. Compile C code as shared library
    6. 


    7. When running application, Erlang Virtual Machine will load my dynamic library
    8. 


    


    The question is how to compile and include ffmpeg libs in my shared lib so that users of my Elixir lib don't have to install any native dependencies.

    


    Here is what I was trying :

    


      

    1. Compile ffmpeg libs as shared ones. When my Elixir lib is compiling, it downloads precompiled ffmpeg archive, extracts its content and links to it when compiling native functions. I realized that this still won't work as ffmpeg shared libs depend on other shared libs that user has to install on their own.

      


    2. 


    3. Compile ffmpeg libs as static ones and include them in my native shared library using —whole-archive linker option. Here I am getting

      


    4. 


    


    /usr/bin/ld : ffmpeg_build/lib/libavcodec.a(vp9lpf_16bpp.o) : warning : relocation against ff_pw_1' in read-only section .text'
/usr/bin/ld : ffmpeg_build/lib/libavcodec.a(cavsdsp.o) : relocation R_X86_64_PC32 against symbol `ff_pw_5' can not be used when making a shared object ; recompile with -fPIC
/usr/bin/ld : final link failed : bad value
collect2 : error : ld returned 1 exit status

    


    The command I am using

    


    cc -fPIC -I/home/michal/.asdf/installs/erlang/25.1/erts-13.1/include -Iffmpeg_build/include -Ic_src/xav -shared -DXAV_DEBUG=1 c_src/xav/xav_nif.c c_src/xav/reader.c c_src/xav/utils.c -o /home/michal/Repos/xav/_build/test/lib/xav/priv/libxav.so -Lffmpeg_build/lib -Wl,--whole-archive -lavcodec -lswscale -lavutil -lavformat -Wl,--no-whole-archive


    


    FFmpeg configuration

    


    ./configure \
--prefix="$PWD/ffmpeg_build" \
--extra-cflags="-fPIC -I$PWD/ffmpeg_build/include" \
--extra-ldflags="-L$PWD/ffmpeg_build/lib" \
--enable-pic
--disable-programs


    


    Does anything that I am trying to do make sense to you ?

    


    When I am installing ffmpeg-libs package on Fedora, it depends on other shared libs that are automatically downlaoded but what I would love to achieve is to provide self-contained ffmpeg build that can be used in other shared libraries.