Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (34)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4321)

  • How to use FFmpeg to generate a pure black stream and push to RTMP by code in C++

    23 avril 2022, par Guohy

    I'm new in FFmpeg. I want to generate a pure black stream using FFmpeg, and I don't want to use the FFmpeg command. I know below command can work.

    


    ffmpeg -f lavfi -i color=size=1920x1080:rate=25:color=black -f flv rtmp://172.16.63.123:9911/live/33bld


    


    So, someone knows how to generate a pure black stream and push to RTMP by code in C++ ? Thanks a lot.

    


  • Concatenate videos and add black frames between them with ffmpeg

    4 octobre 2024, par user3406207

    I have three videos that I am concatenating with ffmpeg. I would like to add a few black frames in between them. Although I've found a few hints on the web it has not worked for me yet. I have tried to generate an 'empty' video with just black frames with :

    



    ffmpeg -t 20 -s 1920x1080 -f rawvideo -pix_fmt rgb24 -r 25 -i c:\nul  E:\empty.avi


    



    and then concatenate with another one but doesn't work. I have tried a few other things without success. Any help would be greatly appreciated

    



    EDIT : also tried to add black frames before and after video with the following code, but no success :

    



    ffmpeg -f lavfi -i color=c=black:s=1920x1080:r=25:d=100 -i middle_video.avi -filter_complex 
"[0:v]trim=start_frame=1:end_frame=21[blackstart];
[0:v] trim=start_frame=1:end_frame=21 [blackend]; 
[blackstart] [1:v] [blackend] concat=n=3:v=1:a=0[out]" -map "[out]" -c:v qtrle -c:a -copy output.avi


    



    EDIT2 :
Output from ffprobe

    



    Metadata:
encoder: Lavf57.3.100
Duration: 00:00:10.05, start: 0.000000, bitrate: 43302 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 192
0x1080 [SAR 1:1 DAR 16:9], 43333 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 10k tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 k
b/s


    



    EDIT 3
Link to the report of the ffmpeg console output :
FFMPEG session report

    


  • Concatenate videos and add black frames between them with ffmpeg

    25 avril 2016, par user3406207

    I have three videos that I am concatenating with ffmpeg. I would like to add a few black frames in between them. Although I’ve found a few hints on the web it has not worked for me yet. I have tried to generate an ’empty’ video with just black frames with :

    ffmpeg -t 20 -s 1920x1080 -f rawvideo -pix_fmt rgb24 -r 25 -i c:\nul  E:\empty.avi

    and then concatenate with another one but doesn’t work. I have tried a few other things without success. Any help would be greatly appreciated

    EDIT : also tried to add black frames before and after video with the following code, but no success :

    ffmpeg -f lavfi -i color=c=black:s=1920x1080:r=25:d=100 -i middle_video.avi -filter_complex
    "[0:v]trim=start_frame=1:end_frame=21[blackstart];
    [0:v] trim=start_frame=1:end_frame=21 [blackend];
    [blackstart] [1:v] [blackend] concat=n=3:v=1:a=0[out]" -map "[out]" -c:v qtrle -c:a -copy output.avi

    EDIT2 :
    Output from ffprobe

    Metadata:
    encoder: Lavf57.3.100
    Duration: 00:00:10.05, start: 0.000000, bitrate: 43302 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 192
    0x1080 [SAR 1:1 DAR 16:9], 43333 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 10k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 k
    b/s

    EDIT 3
    Link to the report of the ffmpeg console output :
    FFMPEG session report