Recherche avancée

Médias (91)

Autres articles (70)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • Ffmpeg converted video with image not playing on discord

    16 février 2023, par GiantBooley

    I am trying to convert music8.jpg and music8.mp3 into a video with the audio and image.

    


    I have already tried

    


    ffmpeg -i music8.mp3 -i music8.jpg -pix_fmt yuv420p music8.mp4


    


    It plays fine in windows media player but when I send it in discord, it sees it as corrupted and doesn't play.

    


  • Python / Discord FFMPEG playing not a audio

    19 août 2022, par F L R U Z

    I wanted to play an mp3 file in a voice channel, however, it gives me an error... I have already installed FFMPEG correctly on my computer.

    


    My Code :

    


    @bot.command()
async def joinandplay(ctx):
   song = os.path.isfile("musik.mp3")
   voice_channel = bot.get_channel(940326390857883648)
   vc = await voice_channel.connect()
   voice = discord.FFmpegPCMAudio(song)
   vc.play(voice)


    


    The error :

    


    AttributeError: 'FFmpegPCMAudio' object has no attribute '_process'


    


  • HTML5 video not playing properly in Firefox browser on OS X

    10 août 2016, par Brian J

    The issue :

    I recently made a video that I would like to embed in my website as html5 video. I have the video in .mp4 and .ogv format. Here is a test page that I have set up with the video :

    http://www.briancjenkins.com/video_test/

    Here is the relevant html code that I used to embed the video :

    <video width="75%" controls="controls" loop="loop" poster="US_Inflation_Unemployment_Monthly_BP_Filtered.png">
     <source src="US_Inflation_Unemployment_Monthly_BP_Filtered.mp4" type="video/mp4">
     <source src="US_Inflation_Unemployment_Monthly_BP_Filtered.ogv" type="video/ogg">
     Your browser does not support the video tag.
    </source></source></video>

    The video plays perfectly on Safari (iOS and OS X), Chrome (OS X), and Firefox (iOS).

    However, the video does not play properly in Firefox on OS X. On both my desktop and laptop, when I play the video, the time bar moves, but there is no video. However, if I copy and paste the video URL into the Firefox address bar, the video plays fine. Here a the direct link to the .ogv-format video :

    http://www.briancjenkins.com/video_test/US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    I would like to know why the video is not playing in Firefox on OS X and how to fix the problem.

    What I know about the issue :

    I know that plenty of people have had trouble with html5 video and Firefox. And I also know from reading other questions that in some cases, the server is sending an incorrect mime type. I ran :

    $ curl -I http://www.briancjenkins.com/video_test/US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    and found that this does not seem to be the case here :

    Server: GitHub.com
    Content-Type: video/ogg

    which isn’t too surprising since Firefox will play the video hosted by Github, just not when its embedded in a webpage. Note that I also tried converting to .webm as an alternative to .ogv but that didn’t solve the issue.

    About the video

    The video was created in Python and and Matplotlib. I used Matplotlib to save the video to .mp4 and then I used ffmpeg to convert the video to .ogv format. Here is the ffmpeg command I used :

    $ ffmpeg -i US_Inflation_Unemployment_Monthly_BP_Filtered.mp4 -acodec libvorbis -ac 2 -ab 128k -ar 44100 -b:v 1800k  US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    It’s possible that I am not doing the conversion correctly, but I have tried several different variations on the conversion command. The video in question is hosted by Github.