Recherche avancée

Médias (91)

Autres articles (92)

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

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

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

  • Using FFMPEG I get an error when trying to insert a fade after about 35 mins in a long video - is this possible ?

    8 avril 2019, par Matt Gardiner

    I have a source video that is an hour long from which I want to extract a couple of minutes towards the end and add a video fade in at the start of the cropped section.

    Using FFMPEG, I’m specifying the following command :

    ffmpeg -i MyLongVideo.mp4 -q:v 0 -y -ss 00:50:00.000 -to 00:52:00.000 -vf "fade=t=in:st=3000.0:d=1.0, scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" ./testoutput.ts

    This is intended to crop from the source video from 50:00.000 to 52:00.00 and fade in from the 50th minute for 0.5 seconds (so at 3000 seconds in - st=3000.0).

    This command that we build programmatically, works on shorter videos or when you crop from before about 35 minutes. For this longer video though I get an error that says :

    [fade @ 0000025399981e80] Value 3000.000000 for parameter 'st' out of range [0 - 2147.48]

    The 2147.48 is around the 35 minutes in seconds which explains why this command works for shorter videos or on crops earlier than 35 minutes.

    I’ve seen a number of other issues with FFMPEG talking about this ’magic’ 2147.48 number with parameter values. Is this some sort of hard limit ?

    Is there a way to do what I want to do ? I could do this in two passes - extract the section of video and then add the fade, but I’d rather do it in one command if possible - and it works for shorter/earlier crops.

  • How to force ffmpeg to refresh overlay image more often ?

    30 avril 2019, par Alex Fomin

    I am trying to do sports live-streaming using ffmpeg. Score of a streaming match is being fetched from server and converted to png. This png must appear on top of the video.

    ffmpeg allows to put an overlay over a video stream using image2 demuxer. If I use -loop1, this overlay updates approximately every 5 seconds. How can I force ffmpeg to read it from disk more often ?

    My current attempt with overlay updating once in 5 seconds(mp4 video for testing purposes) :

    nice -n -19 ffmpeg \
           -re -y \
           -i s.mp4 \
           -f image2 -loop 1 -i http://127.0.0.1:3000/img \
           -filter_complex "[0:v][1:v]overlay" \
           -threads 4 \
           -v 0 -f mpegts -preset ultrafast udp://127.0.0.1:23000 \
           &

    P.S
    I know, that I can make youtube streaming widget on the website and put score on top of it just using html/css/js. But unfortunately it must be done directly in the video stream.

    P.P.S
    I know, that I can use ffmpeg drawtext. But it is not what I want. I have specially designed png, which must be updated as frequently, as possible ( once in 1-2 seconds would be just great )

  • ffmpeg error SSL routines:ssl3_write_pending:bad write retry

    6 mai 2019, par boygiandi

    Recently, I see this error very often. Does anyone know what the error is and how to fix ? Please check full ffmpeg output here ( I already update openssl latest version from yum )

    ffmpeg version N-93715-gd0e4d04 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
     configuration: --prefix= ....
    Input #0, mpegts, from '/tmp/4028813_video_0.ts':
     Duration: 00:04:08.19, start: 1.410111, bitrate: 1504 kb/s
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 608x1080 [SAR 1:1 DAR 76:135], 30 fps, 30 tbr, 90k tbn, 60 tbc
       Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 121 kb/s
    [ sh: 2019-05-06  9:39:46 ]
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    Output #0, flv, to 'rtmps://live-api-s.facebook.com:443/rtmp/289693778580218?s_bl=1&s_sw=0&s_vt=api-s&a=Abxj1aU9OTqh0RtS':
     Metadata:
       comment         : gs4028813
       encoder         : Lavf58.27.103
       Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p(tv, bt709, progressive), 608x1080 [SAR 1:1 DAR 76:135], q=2-31, 3000 kb/s, 30 fps, 30 tbr, 1k tbn, 30 tbc
       Stream #0:1(eng): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
       Metadata:
         encoder         : Lavc58.52.100 aac
    [ sh: 2019-05-06  9:39:47 ]size=     169kB time=00:00:00.52 bitrate=2643.9kbits/s speed=1.03x
    ......
    [ sh: 2019-05-06  9:40:10 ]size=    3386kB time=00:00:22.72 bitrate=1220.7kbits/s speed=0.999x
    [ sh: 2019-05-06  9:40:11 ]size=    3842kB time=00:00:25.32 bitrate=1242.9kbits/s speed=   1x
    [tls @ 0x30ab3c0] error:00000000:lib(0):func(0):reason(0)82 bitrate=1247.3kbits/s speed=   1x
    av_interleaved_write_frame(): Input/output error
    [flv @ 0x3030f80] Failed to update header with correct duration.
    [flv @ 0x3030f80] Failed to update header with correct filesize.
    Error writing trailer of rtmps://live-api-s.facebook.com:443/rtmp/289693778580218?s_bl=1&s_sw=0&s_vt=api-s&a=Abxj1aU9OTqh0RtS: Input/output error
    frame=  776 fps= 30 q=-1.0 Lsize=    3932kB time=00:00:25.82 bitrate=1247.3kbits/s speed=   1x
    video:3530kB audio:406kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [tls @ 0x30ab3c0] error:1409F07F:SSL routines:ssl3_write_pending:bad write retry