
Recherche avancée
Autres articles (67)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7123)
-
How to send MPEGTS streams over UDP
24 décembre 2015, par pAkY88I am developing a realtime video-streaming system which is composed basically by a server and several clients.
For now, let’s ignore how packets are forwarded among the server and the clients, let’s focus just on how the server can send a MPEGTS stream over UDP packets.
The stream is encoded in MPEGTS format.
What I’m trying to do is reading some packets (the main question is "how many ?") and encapsulating them in UDP packets. The destination (a client) reads these UDP packets and then forward them to VLC, which is able to play MPEGTS network streams by reading UDP packets.
If I send only video packets, everything works fine, instead if I try to encapsulate in the same UDP packet, both some video packets and some audio packets, VLC is not able to decode and play the stream.
I read somewhere that each UDP packet should contain 7 TS packets, but unfortunately even if I comply with this rule, VLC doesn’t decode the stream correctly.Here is a sample code of my program : http://pastebin.com/evMi6FkY
How should I encapsulate MPEGTS packets in UDP packets ?
Thanks !
-
How to set time_base when muxing AVI with libavformat ?
18 mai 2012, par AnastasiaIn my application I receive from a remote server synchronized video
(mpeg4) and audio (mp3) and mux them to avi file. The video comes
frame-by-frame, and the audio comes in small chunks, say 200-250 ms.
Both video frames and audio chunks have timestamps in milliseconds.My question is how to set audio time_base and pts correctly ?
For video I set time_base.num = framerate, time_base.den = 1 ; and
calculate pts as follows :AVRational time_base_1kHz;
time_base_1kHz.num = 1;
time_base_1kHz.den = 1000;
packet.pts = av_rescale_q(timeStamp - baseTimeStamp_, time_base_1kHz, videoStream_->time_base);where baseTimeStamp_ is the 1st timestamp of the stream.
But if I try do similar calculation for audio, I don't get playable
avi. If I always set to audio AV_NOPTS_VALUE, then avi has playable
video, but no audio.So what are the correct values for audio time_base and pts's ?
Do I set time_base and pts's for video correctly ? -
ffmpeg vs mencoder
2 février 2013, par Jonah BraunI'm doing a bunch of video encoding for a variety of devices and platforms. I've bounced back and forth a few times between mencoder and ffmpeg. Which do you recommend and why ?
Side question : From googling it seems that mencoder uses ffmpeg. Does it do this all the time or only when it deems necessary ?