
Recherche avancée
Médias (2)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (10)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (2807)
-
Revision 1633685725 : Merge "Fix lingering x->skip settings if static_threshold is used." into experim
15 avril 2013, par Ronald S. BultjeMerge "Fix lingering x->skip settings if static_threshold is used." into experimental
-
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 :-)