Recherche avancée

Médias (91)

Autres articles (110)

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

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (15256)

  • Nginx-rtmp vod play a list of files from a directory

    7 juillet 2022, par Balazs

    I have the following use case :

    


    I would like to playback MP4 files one after another in a mounted directory with nginx-rtmp. I managed to play/access only 1 files at a time.

    


    So instead of this
rtsp ://192.168.1.100/vod/movie01.MP4

    


    then change it to this manually
rtsp ://192.168.1.100/vod/movie02.MP4

    


    Have and endpoint like this and play all of the videos one after another (without using ffmpeg stream to nginx rtmp endpoint).

    


    rtsp ://192.168.1.100/vod/stream

    


    I have a simple config so far

    


    rtmp {
    server {
        listen 1935;
        chunk_size 4096;

        # video on demand for mp4 files
        application vod {
          allow play all;
          wait_video on;
          play /opt/video/vod;

    }
    }
}


    


    How can I achieve this ?

    


  • How to play video bytes(h265,h264) to any media server from java [closed]

    29 avril 2023, par gtejas

    I have video bytes(came from device through tcp) i write into a file and its able to play now I need to play that stream on media server.

    


    ffmpeg -re -i myfile.mp4 -c:v libx265 -preset ultrafast -f mpegts rtmp ://ip:1935/live/stream

    


    can i play bytes directly ?

    


  • FFmpeg doesn't play any audio through Discord.py BOT

    12 mai 2019, par Lewis H

    Here is my code for my Discord bot’s play function :

    @bot.command()
    async def play(ctx, url:str = None): # DOESN'T WORK, DOWNLOADS BUT DOESN'T PLAY

           ...

           ytdl_options = {
               'format': 'bestaudio/best',
               'postprocessors': [{
                   'key': 'FFmpegExtractAudio',
                   'preferredcodec': 'mp3',
                   'preferredquality': '192',
               }],
           }
           ytdl = youtube_dl.YoutubeDL(ytdl_options)

           loop = asyncio.get_event_loop()
           data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url))


           if 'entries' in data:
               data = data['entries'][0] # taking top item from a YT playlist

           source = ytdl.prepare_filename(data)

           vc.play(discord.FFmpegPCMAudio(source)) #play audio
           print(vc.is_playing())
           await ctx.send("Now playing: " + data.get('title')) #now playing
           asyncio.sleep(3)
           print(vc.is_playing())

    When I call the function, it runs fine and downloads the video from youtube-dl, then sends the message "Now playing : X", but doesn’t play any audio.

    I added the two print(vc.is_playing()) lines and what is returned in the shell is :

    True
    False

    So clearly it tries to play the song but immediately fails.

    There are no exceptions thrown, so I can’t understand why FFmpeg doesn’t want to play the audio.