Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (85)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (12561)

  • libav MPEGTS demuxing - handle loop/discontinuity

    28 septembre 2021, par Michal Artazov

    I'm writing a video/audio player that uses libav/ffmpeg for demuxing and decoding MPEGTS streams over UDP. One problem that I'm dealing with is that sometimes the stream is looping and when it loops, my player breaks down.

    


    The issue is that once the stream loops, the new packets have widely different dts/pts. My player is relying on pts for video - audio synchronisation so it's important that I can handle pts properly.

    


    Whenever the server loops the stream, it sends a discontinuity flag, which I can confirm is being correctly received by libav mpegts demuxer (I did some digging in the code and inspected the debug logs). However, it seems to me that the demuxer doesn't act on the discontinuity flag much. In other words, from the point of view of the user I can't tell that there's a discontinuity, apart from the dramatic jump in dts/pts.

    


    Is there a way I can reliably tell that there was a discontinuty so I can recalculate my timestamps and continue playback smoothly ?

    


  • How do I configure Janus to accept H.264 video with periodic intra refresh enabled ?

    31 août 2021, par CompuCat

    I have a Janus server set up to accept H.264 video over RTP and stream it to clients over WebRTC. This is for a low-latency application, so I would like to enable libx264's periodic intra refresh option, which minimizes "keyframe pumping" and avoids bitrate spikes on keyframes. (When streaming at low latency, there is not much wiggle room in the playback buffer, and bitrate spikes tend to cause playback stutters or dropouts.)

    


    If I enable periodic intra refresh, however, a video client cannot play back the stream unless it is listening form the very beginning of the stream. In other words, a client cannot start viewing video mid-stream. I suspect this is because WebRTC is waiting for a full keyframe to start video...which never comes, as periodic intra refresh replaces keyframes.

    


    The stream is being sent from ffmpeg using these parameters :

    


    ffmpeg -i  -an -s 426x240 -c:v libx264 -profile:v baseline -preset superfast -tune zerolatency -pix_fmt yuv420p -minrate 1000 -maxrate 1000 -bufsize 100 -crf 20 -intra-refresh 1 -f rtp rtp://:<port>?pkt_size=1300</port>

    &#xA;

    yuv420p is being set to force a color conversion, since my input video is 4:2:2 encoded, and 4:2:2 H.264 over WebRTC causes a segfault on Chrome. ?pkg_size=1300 is being applied to avoid packets exceeding the MTU per this StackOverflow thread.

    &#xA;

    What can I do to allow clients to start viewing video mid-stream without disabling periodic intra refresh ?

    &#xA;

  • Next drawtext clears the previous one ffmpeg

    27 août 2021, par Макс Шульдинер
    ffmpeg.exe -i ffmpeg_inputs/zheltiy_chelik.mp4  -vf "[in]drawtext=fonts/Temporarium.otf:text=&#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;0:y=0:enable=&#x27;between(t,0, 11)&#x27;, drawtext =fonts/Temporarium.otf:text = &#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;20:y=0:enable=&#x27;between(t,11, 22)&#x27;, drawtext =fonts/Temporarium.otf:text = &#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;40:y=0:enable=&#x27;between(t,22, 33)&#x27;[out]" ffmpeg_outputs/test2.mp4 -y &#xA;

    &#xA;

    There is such a ffmpeg line. Its meaning is to draw a letter 20 pixels to the right of the current position of the word every 11 seconds, and in this way "write the word". But here's the problem - when the second letter starts to render, it overwrites the first, and the third, respectively, overwrites the second. The string seems to have prescribed [in] and [out] but does not help, maybe someone has ideas

    &#xA;