
Recherche avancée
Autres articles (67)
-
List of compatible distributions
26 avril 2011, parThe 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 (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)
Sur d’autres sites (8583)
-
Revision b800ec1772 : Merge "Motion vector decoder cleanup." into experimental
15 avril 2013, par Dmitry KovalevMerge "Motion vector decoder cleanup." into experimental
-
rtp mpg stream using jrtplib occurred error "illegal timestamp unit"
13 avril 2013, par socketI 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,&tparam);
if(status<0)
{
cerr<<"error 1"</~
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<0)
{
cerr<<"error 3"<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 builderActually, I didn't know timestamp exactly. When I use ffplay to play a.mpg showing that :
Input #0, mpeg, from 'a.mpg':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/s2.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. BultjeMerge "Make filter RD code and encode breakout variance size-independent." into experimental