Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (30)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6180)

  • Opengl sws_scale is not working (segmentation fault)

    12 avril 2020, par Bruce

    I am working on an OpenGL video application where I want to render a video in full screen mode. I am trying to render the video with following code :

    



    GLFWmonitor* monitor = glfwGetPrimaryMonitor();
const GLFWvidmode* mode = glfwGetVideoMode(monitor);
glfwWindowHint(GLFW_RED_BITS, mode->redBits);
glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);


    



    However, it generates a segmentation fault when I try to scale a video frame.
I am using the ffmpeg and sws scales for color conversion.

    



    sws_scaler_ctx = sws_getContext(width, height, av_codec_ctx->pix_fmt,
                                width, height, AV_PIX_FMT_RGB0,
                                SWS_FAST_BILINEAR, NULL, NULL, NULL);

uint8_t* dest[4] = { frame_buffer, NULL, NULL, NULL };
int dest_linesize[4] = { width*4, 0, 0, 0 };
sws_scale(sws_scaler_ctx, av_frame->data, av_frame->linesize, 0, av_frame->height, dest, dest_linesize);


    



    Do anyone know why this would cause a segmentation fault when trying to scale a video frame ?

    


  • embed timestamps into MP4 container

    28 juin 2023, par Dmitrii Dunaev

    I have a fragmented MP4 file. It was created by recording a stream from a digital camera. Is there some way to store timestamps inside the container for later display on the web interface ?

    


  • How to speed up ffmpeg video conversions [closed]

    24 janvier 2013, par PIKP

    I need to extract the audio as a MP3 file from a given video file. I have selected "ffmpeg" for audio extraction process. with the use of following arguments I have managed to extract the audio as a MP3. this work very well. but it takes about "2 minutes" to extract the audio from "21 minutes" long video file.

    ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 128k -f mp3 sound.mp3

    for my purpose "2 minutes" for "21 minutes" is a long time. I need to speed up this as much as possible.

    could someone please tell me what are the factors that control the conversion speed ?

    currently I'm using a SATA hard disk with 7500rmp, will it speed up the conversion process if I upgrade my hard disk to SSD ?

    Thank you !