Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7663)

  • Using libav, how to force RTSP stream over TCP ?

    15 août 2023, par hamidi

    By using ffmpeg or ffplay you may specify "-rtsp_transport tcp" switch to force the rtsp stream be opened via tcp. In programming, I'm using libav to open the rtsp stream with the following code :

    


    AVDictionary *options = NULL;
av_dict_set(&options, "rtsp_transport", "tcp", 0);
int status = avformat_open_input(&mFormatContext, path.c_str(), inputFormat, &options);


    


    and I expect the same behavior. But the url 'path' is opened via udp. I may figure this out this way :

    


    I create an SDP file with libav and write the received packets to it. Then I use ffplay to process and play the sdp file. I get errors like :

    


    


    RTP : missed 1 packets

    


    


    


    error while decoding MB 75 38, bytestream -48

    


    


    If the rtsp stream has been opened via TCP, I should not miss any packets, and the second type of error, I think, is caused by losing packets too. So, it seems that the rtsp_transport option is not working.

    


    Any idea ?

    


    Update

    


    I found that av_dict_set works as expected, but the SDP file is made incorrectly (maybe). Its content is like :

    


    v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 226.1.1.15/0
t=0 0
a=tool:libavformat 56.40.101
m=video 43908 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z00AKpY1QPAET8s3AQEBAgA=,aO48gAA=; profile-level-id=4D002A


    


    I researched about it and found that the line beginning with 'm' should contain TCP instead of RTP/AVP, although all of this is my guess. The ffplay is reading the sdp file in the same system, so no socket or network connection exists between ffplay and the sdp file. So my guess may be incorrect. What do you think about the sdp file ? May it be incorrect ? I make it by av_sdp_create function and don't change it. I write it directly to the file.

    


  • Merge commit ’46bacb5cc6169ff5e8e982495c4925467c1d8bb7’

    14 janvier 2014, par Michael Niedermayer
    Merge commit ’46bacb5cc6169ff5e8e982495c4925467c1d8bb7’
    

    * commit ’46bacb5cc6169ff5e8e982495c4925467c1d8bb7’ :
    x86 : Consistently use cpu flag detection macros in places that still miss it

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/x86/mpegaudiodsp.c
    • [DH] libswscale/x86/swscale.c
    • [DH] libswscale/x86/yuv2rgb.c
  • fate : change the scenecut fate threshold

    21 juillet 2019, par Limin Wang
    fate : change the scenecut fate threshold
    

    why change .4 to .25, it's for :
    one scenecut(pkt_pts=20040) isn't detected by 0.4 threshold

    why not change to 0.3 instead of 0.25 :
    it will miss the scenecut(pkt_pts=20040) after applying the next
    patch which enables yuvj420

    for fate testing, it's better to catch all scenecut scenes.

    Reviewed-by : Marton Balint <cus@passwd.hu>
    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] tests/fate/filter-video.mak
    • [DH] tests/ref/fate/filter-metadata-scenedetect