Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (112)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (9896)

  • The GStreamer custom plugin's _transform_frame_ip function is not working [closed]

    28 octobre 2024, par Amiya

    I have created a custom GStreamer plugin named brightness I checked it with the gst-inspect-1.0 and gst-launch-1.0 commands and am able to get video output. I used the following command :

    


    gst-launch-1.0 filesrc location=sample-15s.mp4 ! decodebin ! videoconvert ! video/x-raw,format=RGB ! brightness brightness=1.0 ! videoconvert ! vp8enc ! webmmux ! filesink location=capture1.webm


    


    Codebaselink : link

    


    In the codebase, I am setting all data to 0, so I expect a black video in the output file, capture1.webm. However, I'm getting the same video as the input. I also added a print statement after setting the data to 0, and it printed 0 as expected. I'm not sure why the output is not as expected.

    


    _transform_frame_ip function details :

    


    static GstFlowReturn gst_brightness_transform_frame_ip(GstVideoFilter *filter, GstVideoFrame *frame) {
    GstBrightness *brightness = GST_BRIGHTNESS(filter);
    guint8 *data = GST_VIDEO_FRAME_PLANE_DATA(frame, 0);
    gsize size = GST_VIDEO_FRAME_COMP_PSTRIDE(frame, 0) * GST_VIDEO_FRAME_HEIGHT(frame);

    printf("frame received:%f\n", brightness->brightness);
    for (gsize i = 0; i < size; i++) {
        gint pixel = data[i] + (gint)(brightness->brightness * 255.0);
        data[i] = 0; //CLAMP(pixel, 0, 255);
    }

    return GST_FLOW_OK;
}


    


    I am expecting black video in the output file.

    


  • FFMpeg HLS Video Transcoding Generating Partial Playlist

    26 avril 2021, par moberemk

    I'm trying to convert a basic mp4 video into an HLS video using ffmpeg (running on OSX) using the following command :

    



    ffmpeg -i SampleVideo_1280x720_10mb.mp4 -codec:v libx264 -codec:a aac -strict experimental -start_number 1 out.m3u8


    



    It does manage to generate all of the .ts segment files, but the resulting .m3u8 playlist file only lists the final four segment files, cutting out any earlier segments. Help ?

    


  • FFMpeg HLS Video Transcoding Generating Partial Playlist

    17 février 2016, par moberemk

    I’m trying to convert a basic mp4 video into an HLS video using ffmpeg (running on OSX) using the following command :

    ffmpeg -i SampleVideo_1280x720_10mb.mp4 -codec:v libx264 -codec:a aac -strict experimental -start_number 1 out.m3u8

    It does manage to generate all of the .ts segment files, but the resulting .m3u8 playlist file only lists the final four segment files, cutting out any earlier segments. Help ?