Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (6)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (3064)

  • rtp mpg stream using jrtplib occurred error "illegal timestamp unit"

    13 avril 2013, par socket

    I wanna code rtp video stream sender and use VLC to play it in the LAN. I just have a mpeg4 file "a.mpg". And in my opinion, jrtplib can pack the packed well, so I think I can use sendPacket() function directly to send the mpg file. code below :

    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include <iostream>
    #include

    using namespace jrtplib;
    using namespace std;
    int main()
    {
    RTPSession s;
    RTPSessionParams sparam;
    s.SetTimestampUnit(160.0/104857.0);//~
    RTPUDPv4TransmissionParams tparam;
    tparam.SetPortbase(9000);
    int status=s.Create(sparam,&amp;tparam);
    if(status&lt;0)
    {
       cerr&lt;&lt;"error 1"&lt;/~
    s.SetDefaultMark(false);
    s.SetDefaultTimestampIncrement(160);//~~

    unsigned char buf[160];
    FILE*f=fopen("a.mpg","rb");
    while(!feof(f))
    {
       fread(buf,1,160,f);
       RTPTime delay(0.02);//~
       bool ret=false;
       status=s.SendPacket(buf,160);
       if(status&lt;0)
       {
           cerr&lt;&lt;"error 3"&lt;code></iostream>

    Then, I compile it :

    g++ jrtpsend.cpp -ljrtp -I /usr/local/include/jrtplib3

    After that, I run the program but error occurred :

    kl@kl-ubuntu:~/code/RTP$ ./a.out
    error 1
    Speficied an illegal timestamp unit for the the RTCP packet builder

    Actually, I didn't know timestamp exactly. When I use ffplay to play a.mpg showing that :

    Input #0, mpeg, from &#39;a.mpg&#39;:q=    0KB vq=    0KB sq=    0B f=0/0  
    Duration: 00:01:00.69, start: 0.529089, bitrate: 556 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 239:182 DAR 478:273],   104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 128 kb/s

    2.46 A-V : -0.003 fd= 7 aq= 2KB vq= 33KB sq= 0B f=0/0

    So, I use the data 104857kb/s in the code (setTimestampUnit()), but I have no idea whether I use it correctly.
    All in all, please give me some suggestion how to run the program well or ...
    Best regards :-)

  • Revision 6fa2480897 : Merge "Make filter RD code and encode breakout variance size-independent." into

    15 avril 2013, par Ronald S. Bultje

    Merge "Make filter RD code and encode breakout variance size-independent." into experimental

  • Revision 4ee671a15c : Merge "Initial addition of multiple ARF frames" into experimental

    15 avril 2013, par Adrian Grange

    Changed Paths : Modify /vp9/encoder/vp9_bitstream.c Merge "Initial addition of multiple ARF frames" into experimental