Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (47)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5451)

  • I'm having an issue with my discord bot playing audio from a youtube url

    19 avril 2022, par Alex Graeca
    sync def hog():
channel = bot.get_channel(964971002289356893)
url = 'https://www.youtube.com/watch?v=GyRmkAfpCOM'
await asyncio.sleep(1)
voice_channel = bot.get_channel(int(964971002289356893))
vc = await voice_channel.connect()
#vc.play(discord.FFmpegPCMAudio('C:/Users/alexa/Downloads/hogrider.mp3'))
vc.play(discord.FFmpegPCMAudio(source='https://www.youtube.com/watch?v=GyRmkAfpCOM', executable='ffmpeg.exe'))
while vc.is_playing():
    await asyncio.sleep(5)
await vc.disconnect()


    


    It works fine with the audio file from my laptop, but I want to play it from a youtube link.
It gives me an error :
https://www.youtube.com/watch?v=GyRmkAfpCOM : Invalid data found when processing input

    


    Thank you in advance

    


  • Display YUV420P video using OpenGLES on iPhone

    25 décembre 2014, par user3487978

    I am writing an app displaying YUV420p video using ffmpeg library on iPhone, every thing works fine, but the OpenGL color is a little strange, see picture, the bellow image is displaying using AVPicture in RGB format, above is using AVPicture in YUV format.
    any ideas ?

    my shader

    varying highp vec2 varTexcoord;
    uniform sampler2D SamplerY;
    uniform sampler2D SamplerUV;
    void main (void)
    {
       mediump vec3 yuv;
       lowp vec3 rgb;
       yuv.x = texture2D(SamplerY, varTexcoord).r;
       yuv.yz = texture2D(SamplerUV, varTexcoord).rg - vec2(0.5, 0.5);
       // Using BT.709 which is the standard for HDTV
       rgb = mat3(      1,       1,      1,
                   0, -.18732, 1.8556,
                   1.57481, -.46813,      0) * yuv;
       gl_FragColor = vec4(rgb,1.0);
    }

    Renderer :

    glActiveTexture(GL_TEXTURE0);
    glTexImage2D(GL_TEXTURE_2D,
                0,
                GL_LUMINANCE,
                (GLsizei)model.width,
                (GLsizei)model.height,
                0,
                GL_LUMINANCE,
                GL_UNSIGNED_BYTE,
                [model.y bytes]);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);

    glActiveTexture(GL_TEXTURE1);
    glTexImage2D(GL_TEXTURE_2D,
                0,
                GL_LUMINANCE,
                (GLsizei)model.width/2,
                (GLsizei)model.height/2,
                0,
                GL_LUMINANCE,
                GL_UNSIGNED_BYTE,
                [model.uv bytes]);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);

    image on bottom is using RGB, above is using YUV

  • Video streaming with ipCamera in iphone

    6 juillet 2013, par user1120998

    I am developing app for the connecting ip camera and get stream. I don't know how to convert stream into video. I have analysed, and then i tried FFMPEG library. But i did not get correct url for ios with FFMPEG. Can you suggest the guide for implementation.

    Now i am integrating ffmpeg, when i integrated i got the error when opening avformat_find_stream_info() function. I used the increase or less the value of pFormatCtx->max_analyze_duration. But no solution for this.

    [mjpeg @ 0x8b85000] max_analyze_duration 1000 reached at 40000
    [mjpeg @ 0x8b85000] Estimating duration from bitrate, this may be inaccurate

    Pls help how to solve this.