Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7663)

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

  • How to convert mp4 to h264 adding AUDs using FFMPEG

    16 mars 2021, par syntheticgio

    I am trying to convert an mp4 clip to h264 bytestream format using FFMPEG. I have successfully compiled FFMPEG from source with access to libx264.

    



    Looking at the documentation for FFMPEG (version 3.2.2) under libx264 there is a bool flag -aud. In the online documentation it gives the example

    



    ffmpeg -i input.flac -id3v2_version 3 out.mp3


    



    Using this format, the following command works, but doesn't produce the desired AUDs in the output file :

    



    ffmpeg -i input.mp4 -codec:v libx264 -aud 1 output.h264


    



    I've also tried different variants with this including :

    



    ffmpeg -i input.mp4 -vcodec libx264 -aud 1 output.h264
ffmpeg -i input.mp4 -aud 1 output.h264


    



    etc.

    



    I assume there is something I'm misunderstanding about performing this operation. I basically want to take a h264 movie in an mp4 container and dump it as an h264 stream with AUDs added to it. Any idea why this isn't working ?

    



    (I've also tried using x264 with the -aud flag, also ran fine but didn't produce the desired output).