Recherche avancée

Médias (91)

Autres articles (75)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (8774)

  • RTP Streaming with ffmpeg : server streaming, client failing

    27 novembre 2013, par Christoph Kuhr

    I compiled ffmpeg and x264 myself.

    x264 version :

    #define X264_REV 2377
    #define X264_REV_DIFF 0
    #define X264_VERSION " r2377 1ca7bb9"
    #define X264_POINTVER "0.140.2377 1ca7bb9"

    ffmpeg version : 0.11.4
    ffmpeg configuration :

    --enable-x11grab --enable-pthreads --enable-libfaac --enable-libxvid --enable-libx264 --enable-libv4l2 --enable-libmp3lame --enable-libpulse --enable-gpl --enable-nonfree --disable-yasm

    streaming server call :

    ffmpeg -f x11grab -s 1600x900 -framerate 50 -i :0.0 -vcodec libx264 -threads 4 -preset ultrafast -crf 0 -q:v 1 -b:v 8M -an -f rtp rtp://192.168.188.30:8710

    ...

    Output #0, rtp, to 'rtp://192.168.188.30:8710':
     Metadata:
       encoder         : Lavf54.6.100
       Stream #0:0: Video: h264, yuv420p, 1600x900, q=-1--1, 8000 kb/s, 90k tbn, 50 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 192.168.188.30
    t=0 0
    a=tool:libavformat 54.6.100
    m=video 8710 RTP/AVP 96
    b=AS:8000
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1

    Everything looks good so far...

    Now the problem.
    I create foo.sdp from the SDP output of the server and try to playback the stream with ffmpeg ffplay foo.sdp. ffplay fails with the following error :

    [sdp @ 0x7f5e0c0008c0] decoding for stream 0 failed
    [sdp @ 0x7f5e0c0008c0] Could not find codec parameters (Video: h264)
    [sdp @ 0x7f5e0c0008c0] Estimating duration from bitrate, this may be inaccurate
    gameserver.sdp: could not find codec parameters

    If I try the same with VLC, it also fails, but with the different error :

     [0x7f3278c045b8] live555 demux error: no data received in 10s, aborting

    Look like different reasons. But I could not solve either. Does anyone have a clue ?

  • FFmpeg HLS streaming - Why the program date time of older segment changing when re-streaming after discontinuity

    9 novembre 2020, par Suriya Krish

    Following is the ffmpeg command to stream the data.

    


    ffmpeg -re -f avfoundation 
-framerate 30 -i 0 
-codec:v h264_videotoolbox -x264-params keyint=120:scenecut=0 
-codec:a copy -f hls 
-hls_list_size 60 
-hls_time 10 
-hls_flags delete_segments 
-hls_flags +append_list 
-hls_flags +discont_start 
-hls_flags +program_date_time 
-strftime 1 
-strftime_mkdir 1 
-hls_segment_filename 
'%Y%m%dT%H%M%S%z.ts' playlist.m3u8


    


    Following is the playlist.m3u8 content which generated for few seconds.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXT-X-DISCONTINUITY
#EXTINF:10.000000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:07:53.000+0530
20201109T220753+0530.ts
#EXTINF:10.000000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:08:03.000+0530
20201109T220803+0530.ts
#EXT-X-ENDLIST


    


    When the re-stream happens(in case of restarting the streaming service), the program date time of older segments(before #EXT-X-DISCONTINUITY) also get changed like below, which is unexpected.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXT-X-DISCONTINUITY
#EXTINF:10.000000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:12:50.633+0530
20201109T220753+0530.ts
#EXTINF:10.000000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:13:00.633+0530
20201109T220803+0530.ts
#EXT-X-DISCONTINUITY
#EXTINF:10.000000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:13:12.000+0530
20201109T221312+0530.ts
#EXTINF:5.400000,
#EXT-X-PROGRAM-DATE-TIME:2020-11-09T22:13:22.000+0530
20201109T221322+0530.ts
#EXT-X-ENDLIST


    


    Why the program date time of older segment should change ? Should we add any arguments in ffmpeg command to handle this ?

    


  • Ffmpeg PNG Pictures to Video Background Issue

    6 octobre 2014, par Ryan Bansi

    I am trying to create an FLV video from a set of png images. The thing is that I’ve already removed the background of the said images with ImageMagick and use ffmpeg to create it to video. The problem is that after compiling, when I look at the video the background is there when it was supposed to have already been removed. Does anybody have any idea what might be the cause of this ?

    This is the ffmpeg code I am using :

    ffmpeg -r 10 -s 1920x1080 -i extracted_images\images%5d.png  test.flv