Recherche avancée

Médias (91)

Autres articles (64)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4894)

  • How to get ffmpeg to run on Heroku ? (libpulsecommon-15.99.so error)

    10 octobre 2023, par Fabien Snauwaert

    I'm trying to run ffmpeg on Heroku using an Aptfile (for use in a Flask app where I want to be able to perform audio conversions using pydub, which works fine locally.)

    


    # Aptfile
libsndfile1
libsndfile1-dev
ffmpeg
libvpx7
libpulse0
pulseaudio


    


    I've got these buildpacks :

    


    # Output from `heroku buildpacks`
1. heroku-community/apt
2. heroku/python


    


    And I keep getting this error with a simple heroku run 'ffmpeg --version' :

    


    


    ffmpeg : error while loading shared libraries : libpulsecommon-15.99.so : cannot open shared object file : No such file or directory

    


    


    This is on Heroku-22, but I was getting the same error on Heroku-20.

    


    Now I've spent hours on this and I'm still confused as to...

    


      

    1. What is libpulsecommon-15.99.so even part of ?
    2. 


    3. Is it a case of the library not being installed ? Or being installed but not found ?
    4. 


    


      

    • ls $HOME/.apt/usr/lib/x86_64-linux-gnu | grep libpulse (where $HOME is /app/) gives :
    • 


    


    libpulse-simple.so.0
libpulse-simple.so.0.1.1
libpulse.so.0
libpulse.so.0.24.1


    


      

    • echo $LD_LIBRARY_PATH returns /app/.heroku/vendor/lib:/app/.heroku/python/lib:/app/.apt/usr/lib/x86_64-linux-gnu:/app/.apt/usr/lib/i386-linux-gnu:/app/.apt/usr/lib:
    • 


    


    I'm lost and these are hours of my life I'm not going to get back 🤔😅

    



    


    I'm also wondering if there's much a point trying to get ffmpeg to work on Heroku this way : with the dependencies listed above (in the Aptfile), I'm already at 487 MB in slug size (out of a 300 MB soft limit, 500 MB hard limit), for a codebase under 1 MB.

    


    Any help welcome. I'll update the question as needed.

    


  • ffplay - change playback speed without re-encoding

    2 novembre 2016, par Timothy Tan

    I have some .264 video files that I would like to view at half playback speed, without encoding them into a new file. I remember using ffplay to do this in the past, but it was some time ago, and I can’t seem to be able to do it now. From lots of searching, this is what is supposed to work :

    ffplay -f h264 -vf "setpts=2.0*PTS" filename.264

    However this does not seem to change the playback speed at all. If I try :

    ffplay -f h264 -filter:v "setpts=2.0*PTS" filename.264

    I get an error message saying ’Failed to set value ’setpts=2.0*PTS’ for option ’filter:v’ : Option not found’.

    I specifically remember being able to do this before but cannot find any information about this now. Converting the videos is not really an option because the files are finicky and often cause an error halfway through converting, corrupting the whole file.

    Is there a simple solution to this problem ? Am I typing one of the commands wrongly ?

  • ffplay - change playback speed without re-encoding

    18 novembre 2017, par Timothy Tan

    I have some .264 video files that I would like to view at half playback speed, without encoding them into a new file. I remember using ffplay to do this in the past, but it was some time ago, and I can’t seem to be able to do it now. From lots of searching, this is what is supposed to work :

    ffplay -f h264 -vf "setpts=2.0*PTS" filename.264

    However this does not seem to change the playback speed at all. If I try :

    ffplay -f h264 -filter:v "setpts=2.0*PTS" filename.264

    I get an error message saying ’Failed to set value ’setpts=2.0*PTS’ for option ’filter:v’ : Option not found’.

    I specifically remember being able to do this before but cannot find any information about this now. Converting the videos is not really an option because the files are finicky and often cause an error halfway through converting, corrupting the whole file.

    Is there a simple solution to this problem ? Am I typing one of the commands wrongly ?