Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (84)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7105)

  • Patching FFmpeg to extract more detailed MV information

    13 février 2018, par helmo

    I am new to video compression and in the past one month I have been studying and reading a lot on this topic. My main aim as of now is to be able to extract in a meaningful way, motion vectors data into a text file.

    Some may write about ffmpeg’s extract_mvs.c but I have already explored this example file and is not returning the complete information I would like to get, for instance, the output of this file does not tell the frame type nor whether a backward or forward motion vector was used for a particular frame number.

    I saw here on SO a similar post that had as answers to explore ’patch’ of FFMpeg to get more meaningful information, that’s a reply from Ronald.

    Is there anyone in the community who can help in expanding this file and get more out of ffmpeg ? Does anyone know about this patch and what it means/entails ?

    Thanks in advance.

  • Rails 5 - Video streaming using Carrierwave uploaded video size constraint on the server

    21 mars 2020, par Milind

    I have a working Rails 5 apps using Reactjs for frontend and React dropzone uploader to upload video files using carrierwave.

    So far, what is working great is listed below -

    1. User can upload videos and videos are encoded based on the selection made by user - HLS or MPEG-DASH for online streaming.
    2. Once the video is uploaded on the server, it starts streaming it by :-
      • FIRST,copying video on /tmp folder.
      • Running a bash script that uses ffmpeg to transcode uploaded video using predefined commands to produce new fragments of videos inside /tmp folder.
      • Once the background job is done, all the videos are uploaded on AWS S3, which is how the default carrierwave works
    3. So, when multiple videos are uploaded, they are all copied in /tmp folder and then transcoded and eventually uploaded to S3.

    My questions, where i am looking some help are listed below -

    1- The above process is good for small videos, BUT what if there are many concurrent users uploading 2GB of videos ? I know this will kill my server as my /tmp folder will keep on increasing and consume all the memory, making it to die hard.How can I allow concurrent videos to upload videos without effecting my server’s memory consumption ?

    2- Is there a way where I can directly upload the videos on AWS-S3 first, and then use one more proxy server/child application to encode videos from S3, download it to the child server, convert it and again upload it to the destination ? but this is almost the same but doing it on cloud, where memory consumption can be on-demand but will be not cost-effective.

    3- Is there some easy and cost-effective way by which I can upload large videos, transcode them and upload it to AWS S3, without effecting my server memory. Am i missing some technical architecture here.

    4- How Youtube/Netflix works, I know they do the same thing in a smart way but can someone help me to improve this ?

    Thanks in advance.

  • My bot that I uploaded to heroku doesn't work the music command

    25 août 2022, par Lucas Silva

    I'm creating a bot for discord it works great locally, but after I uploaded it on heroku the music command stopped working I'm using these buildpacksenter image description here

    


    The command code is this

    


     @commands.command(name="musga", help="coloque um url da musica que deseja reproduzir!")
async def play(self, ctx, arg):
    global vc
    
    try:
        voice_channel = ctx.author.voice.channel
        vc = await voice_channel.connect()
    except:
        print('[ERROR]') #debug

    if vc.is_playing():
        await ctx.send(f'{ctx.author.mention}, Já estou cantando.')

    else:
        with YoutubeDL(self.YDL_OPTIONS) as ydl:
            info = ydl.extract_info(arg, download=False)
        
        URL = info['formats'][0]['url']

        vc.play(discord.FFmpegPCMAudio(executable="ffmpeg", source = URL, **self.FFMPEG_OPTIONS))
                
        while vc.is_playing():
            await sleep(1)


    


    in my requirements.txt file I have : discord.py[voice] PyNaCL youtube_dl ffmpeg

    


    When I use the command it enters the call but it doesn't play the music and it doesn't return any error.

    


    i hope someone can help me. Thanks in advance