Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (11)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (1779)

  • Is there a way of making ffmpeg start with the largest folders first ? [closed]

    5 décembre 2024, par tuqueque

    I have the following script (snippet), where I search for all the folders and then pass the result to xargs, where I run ffmpeg in parallel for as many threads as my CPU has (32) to convert the image sequences inside each folder :

    


    find . -type d -print0 | xargs -0 -P32 -I{} ffmpeg...


    


    The thing is that there are folders with just 10 images inside and other folders with 150 images... I'd love if ffmpeg started with the largest folders first and then continue in a descending order... not one at a time, but keeping the parallel nature of the script.

    


    Is that even possible without radically altering the one-line script I have ?

    


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

    


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