Recherche avancée

Médias (91)

Autres articles (107)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

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

Sur d’autres sites (7772)

  • How to Dynamically Control FFmpeg Encoding Bitrate Based on Current Network Bandwidth ? [closed]

    26 novembre 2024, par Stove Fire

    I’ve implemented a program using FFmpeg where the server encodes OpenGL render results and sends them to the client. The client then decodes the video and renders the result onto a texture using OpenGL. What I’m trying to achieve is to adjust the encoding bitrate dynamically based on the current network bandwidth — higher bandwidth results in higher bitrate encoding, and lower bandwidth results in lower bitrate encoding.

    


    I use libx264 encoder and rtsp.

    


    I found the iperf tool online, which is useful for measuring network bandwidth, but it is a command-line tool and does not have a readily available API for programmatic use.

    


    My questions are :

    


    How can I monitor the current network bandwidth programmatically in my application (preferably in C++) ?

    


    Is there a way to integrate bandwidth monitoring into my FFmpeg encoding process so I can adjust the bitrate dynamically based on the current network conditions ?

    


  • Why is my discord.py bot not having voice while being hosted on Heroku ?

    24 juillet 2020, par Flying Thunder

    My bot is all set up and running, everything works, EXCEPT for voice : He joins the channel, but doesnt play audio. I have heard many different claims for what the reason is (no permission to use ffmpeg.exe, missing buildpack, missing dependency, Heroku blocking UDP on free users...) - but i hope that someone here ACTUALLY knows what the problem is, because i couldnt find any definitive reason online.

    


    This is the code of the bot : https://github.com/FlyingThunder/DiscordBot/blob/master/main.py
Everything is working fine on my machine.
This is the only error that Heroku logs gave me :
2020-07-24T06:28:30.329937+00:00 app[worker.1]: PermissionError: [Errno 13] Permission denied: 'res/ffmpeg.exe'

    


    I already tried adding https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git to my buildpacks, and i added cffi==1.14.0 to my requirements.txt - both solutions that are supposed to fix this exact issue.

    


  • FFMPEG Image to video zoompan starting position

    4 août 2018, par lchn

    In creating mp4 slideshows out of images, I’ve taken some examples online for zoompan, but I still haven’t quite grasped how to make them start from a certain location in an image. Here’s the typical command :

    ffmpeg -i image-000.jpg -filter_complex "color=c=black:r=60:s=1920x1080[demo] ;[0:v]format=pix_fmts=yuva420p,scale=8000 :-1,zoompan=z=’min(zoom+0.0005,1.2)’:s=2000x1333:d=360:x=’if(gte(zoom,0.9),x,x+1/a)’:y=’if(gte(zoom,0.9),y,y+1)’,fade=in:0:25:alpha=1,setpts=PTS-STARTPTS+0.0/TB[v0] ;[demo][v0]overlay=format=yuv420"
    - t 6 -c:v libx264 -y out000.mp4

    Photos I use are typically 3x2 or 4x3 in aspect ratio, so I get that they’d have to be cut off somewhere in a 16x9 video. The thing with the above code (and many other "Ken Burns effect" samples) is that they start with the bottom portion of the images cut off, then either zoom in more or zoom out, never showing the bottom.

    How do I get the animation to start further down on the image ? Nothing I do in the y=’...’ section affects it. Not even putting in constant numbers between 0 and 100000 instead of adjusting values in that formula y=’if(gte(zoom,0.9),y,y+1)’.

    Note : I’ve had some success using crop or pad for the original image, but I’d rather understand how to better position zoompan inside of the image.