Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (50)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Les images

    15 mai 2013
  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5529)

  • ffmpeg won't execute properly in google app engine standard nodejs

    3 septembre 2019, par tommyc38

    I have tried for three full days to get GAE (standard - nodejs) to run a simple video transcoder from MOV to MP4 using ffmpeg. I have tried using ffluent-ffmpeg, kicking off a child process (e.g. spawn), and nothing works. As soon as it hits the call to the executable it always errors. I have confirmed ffmpeg is installed and even tried using ffmpeg-static. Moreover, I have it working on my local machine with no problems (using all of the aforementioned ways).

    I have also tried logging the errors and nothing is really all that helpful. I can see its working through any installed package including ffmpeg (system package).

    Below is the pseudo code...step three is where the problem occurs.

    1. Send file name to GAE endpoint
    2. Download the file from google cloud storage to a temp file
    3. Transcode using ffmpeg
    4. Upload temp file to google cloud storage
    5. Remove old google cloud storage file
    6. Remove temp file

    The file I am using to test is 6MB...a 5 second video I took on my iPhone. Thank you in advance.

    UPDATE : I successfully deployed the exact same code to Node Flex environment and everything works great. I wasn’t able to get any errors in the standard environment that directed me where to look but my guess is it has something to do with how it stores the file I pipe into FFMPEG on GAE Node Standard. The docs say its a virtual file system that uses RAM. I’d love to hear if anybody managed to get it working in the standard environment.

  • Discord Music Bot interrupts music playback on Heroku

    29 mars 2023, par denisnumb

    I have a music discord bot written in Python. Bot plays music from YouTube using the yt-dlp library and ffmpeg.

    


    Everything worked fine, but a couple of days ago the bot began to interrupt the playback of any tracks for ~80% duration, crashing with an error :

    


    [tls @ 0x6e3b440] Error in the pull function.
[tls @ 0x6e3b440] IO error: Connection reset by peer
[https @ 0x6e37900] Will reconnect at 720896 in 0 second(s), error=Connection reset by peer.


    


    I have the latest version of py-cord=2.4.1 and yt-dlp==2023.3.4 installed. When the bot is launched on my computer, the bot plays all the tracks to the end, so the problem is clearly not in the code and not in the libraries.

    


    I suspect something is wrong with ffmpeg, so I tried installing different buildpacks, but that didn't solve the problem.

    


    At the moment I have the following installed :

    


    https://github.com/xrisk/heroku-opus.git
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git


    


    What could be the problem and how to solve it ? Why did this problem appear only on hosting ? Why didn't this happen before ?

    


  • macOS compile FFMpeg as static standalone binary

    27 octobre 2019, par ColdSteel

    I am trying to compile ffmpeg for macOS (from macOS) as static binary for several days with no luck.
    Here is a script I am running to compile the FFmpeg binary

    cd /Users/$USER/ffmpeg/macOSBuild
    basePath=/macOSdependencies/DependenciesOutput

    export LD_LIBRARY_PATH="/Users/romanlevin/ffmpeg/macOSdependencies/DependenciesOutputbasePath/SDL2/lib/“

    ../configure --disable-autodetect --pkg-config-flags="--static" --extra-cflags="-I$basePath/SDL2/include/" --extra-ldflags="-L/Users/romanlevin/ffmpeg/macOSdependencies/DependenciesOutput/SDL2/lib/" --prefix=/usr/local --enable-gpl --enable-version3 --enable-sdl2 --enable-static --disable-shared

    make clean
    make -j8

    However it is always linking SDL2 as dynamic lib.

    Please note I have compiled the SDL2 by myself and put it in the directory I am trying to add to ld

    enter image description here

    However I also have SDL2 installed with brew, but I don’t want to use it.
    I want Ffmpeg to pick compiled SDL2.

    It does looking for my Compiled library but only asdylib in a hardcoded path - which means I can’t get a portable binaries :(.

    Could some1 open my eyes on what am I doing wrong please ?