Recherche avancée

Médias (91)

Autres articles (68)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (4506)

  • ffmpeg color space metadata not working for some sources

    28 août 2023, par pawel

    I have a bit of a pickle. I'm trying to change incorrect tags on mp4 videos using ffmpeg.

    


    I'm using this command (in a bat file) :

    


    ffmpeg.exe -i %1 -colorspace "rgb" -color_primaries "bt709" -c copy -y %1.sRGB.mp4

    


    I'm on windows and I'm using ffmpeg 6.0

    


    The above command sets the tags for some videos correctly for for others does nothing. The file sizes change but ffprobe still shows me the old tags. It doesn't matter what color spaces I request or if I use numbers or strings.

    


    The only difference I can see in the source videos (ffprobe) is the SAR and DAR section.

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-1, progressive), 3840x2160, 91942 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn (default)

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-1, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 119433 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)

    


    the values are still the same but the grouping is different. the second one is the one that is not working through ffmpeg.

    


    do I need to provide more information on the commandline ? direct it to a stream I want to alter ? I'm a bit out of my depth here and google is not helping much on this.

    


    EDIT : updated to latest ffmpeg and I get warnings telling me that my commands were ignored :

    


    Codec AVOption colorspace (color space) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

    


    however I get the same warnings on the mp4s that worked fine before and it is no longer working in the latest ffmpeg.

    


    my goal is to get from :

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, gbr/bt709/bt709, progressive)

    


    to :

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive)

    


    basically I want to remove bt709 tag from it

    


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

    


  • Fix the timeout option not working when connecting to a HTTP url that requires authen...

    15 novembre 2014, par Brandon Lees
    Fix the timeout option not working when connecting to a HTTP url that requires authentication.
    

    In http_open_cnx, the patch restores the AVDictionary if connection needs to be re-tried
    because of a authentication/redirect status code.

    Previously, if a 401/407/30x status code was encountered, http_open_cnx would restart at the redo label, but any options
    used by the underlying protocol would be missing because they were removed by the first attempt.

    Signed-off-by : Brandon Lees <brandon@n-hega.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/http.c