
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (10)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...)
Sur d’autres sites (3587)
-
sws/"rgb2rgb" : drop RGB2YUV_SHIFT
15 avril 2013, par Michael Niedermayersws/"rgb2rgb" : drop RGB2YUV_SHIFT
-
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 399a6cbcde : Merge "Renaming vp9_token_struct to vp9_token and removing previous typedef." in
14 avril 2013, par Dmitry KovalevChanged Paths : Modify /vp9/common/vp9_entropy.c Modify /vp9/common/vp9_entropy.h Modify /vp9/common/vp9_entropymode.c Modify /vp9/encoder/vp9_bitstream.c Modify /vp9/encoder/vp9_tokenize.c Merge "Renaming vp9_token_struct to vp9_token and removing previous typedef." into (...)