Recherche avancée

Médias (91)

Autres articles (99)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8033)

  • Revert "Merge commit ’61c31e4ee7ea79a9e74c0476b81244febf17e6d7’" (configure : Properly...

    1er octobre 2013, par Michael Niedermayer
    Revert "Merge commit ’61c31e4ee7ea79a9e74c0476b81244febf17e6d7’" (configure : Properly set zlib dependencies for all components)
    

    The reverted commit introduced undefined behavior.
    undefined in the sense that the evaluation order of the dependencies affects the results

    Fixes Ticket2920

    This reverts commit c32db6adab9942781cc5a23f62abb839a5595a83, reversing
    changes made to 05f1b4e2ecc4683467669a190e3a53df413de805.

    Alternative solutions would be to change the dependency solver to handle non trivial
    dependencies or to enable zlib by default before the dependency solver, this would
    leave a zlib dependency in the libs though then even when no zlib is needed or used.

    • [DH] configure
  • Generate new video from selected seconds of a longer video

    27 juin 2018, par martins

    I try to generate a shorter version of a 10min original videofile.mp4 that includes only four 10s subclips of the original file (i.e. from seconds 10 to 20 ;197 to 207 ;393 to 403 ;570 to 580). So far I could only generate 4 new files copying both video and audio :

    ffmpeg -i videofile.mp4 -vcodec copy -acodec copy -ss 10 -to 20 videofile1.mp4 -vcodec copy -acodec copy -ss 197 -to 207 videofile2.mp4 -vcodec copy -acodec copy -ss 393 -to 403 videofile3.mp4 -vcodec copy -acodec copy -ss 570 -to 580 videofile4.mp4

    However, I am having deep trouble in concatenating those 4 subclips to generate the desired 40seconds out_videofile.mp4. I found this alternative approach using the "select" command in ffmpeg which saves me of my "failed" concatenation process. So far I have :

    ffmpeg -i videofile.mp4 -vf "select='between(t,10,20)+between(t,197,207)+between(t,393,403)+between(t,570,580)',setpts=N/FRAME_RATE/TB" -af "aselect='between(t,10,20)+between(t,197,207)+between(t,393,403)+between(t,570,580)" out_videofile.mp4

    I guess this last code should give me the 40s out_videofile.mp4 I want. However, it gives me a "SyntaxError : invalid syntax". Any idea where I go wrong ?

    Thanks for your time anyways.

  • How do I make ffmpeg not open a window when used in Python (Discord Bot Youtube Audio Player Pytube)

    20 juin 2019, par Brandalf

    I am using pytube to create a Discord bot that gets audio from a YouTube video and plays it in the voice channel using the code below. The code works perfectly fine and does what I want which is playing audio from YouTube with a link. The issue is that it uses ffmpeg and when it does, it opens the ffmpeg.exe window. Having a window constantly pop up on my screen is kind of annoying but what’s worse is that if I am playing a game in full screen, when ffmpeg is run, it will tab out of my game. So I’m wondering if there is a way to prevent ffmpeg from opening the window or if there is an alternative to playing youtube audio in Discord with a bot that doesn’t use ffmpeg.

    user=ctx.message.author
    voice_channel=user.voice.voice_channel
    vc = await client.join_voice_channel(voice_channel)
    player = await vc.create_ytdl_player(videoLink)
    video = pafy.new(videoLink) #runs ffmpeg
    player.start()