
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (36)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (8746)
-
Revision d24f4e49c1 : Removing CONFIG_MD5. We don't need compile time md5 configuration because —md5
28 décembre 2013, par Dmitry KovalevChanged Paths :
Modify /configure
Modify /vpxdec.c
Removing CONFIG_MD5.We don't need compile time md5 configuration because —md5 is a runtime
option.Change-Id : Ic0a2427ae5de5a18f31e5ee60c3732481b377ca1
-
av_read_frame and time stamps C++
19 avril 2014, par halfwaythruI am recording an RTSP H264 stream from an Axis IP camera using libavformat. This camera is supposed to stamp every frame with the time that the frame was acquired, and this information is supposed to be in the RTP packet header.
This is the code that I am using to read in the frames.
AVFormatContext *inputFormatCtxt = NULL;
avformat_open_input(&inputFormatCtxt, inputURL, NULL, NULL)
avformat_find_stream_info(inputFormatCtxt, NULL )
while(av_read_frame(inputFormatCtxt, &packet) >=0)
{
if(packet.stream_index == videoStreamIndex)
{
// Do something to video packet.
}
else
{
// Do something to audio packet.
}
if (packet.pts != AV_NOPTS_VALUE)
packet.dts = packet.pts = av_rescale_q(packet.pts, stream->time_base, oStream->time_base);
else
NSLog(@"packet.pts == AV_NOPTS_VALUE");
if(av_interleaved_write_frame(outputFormatCtxt, &packet) < 0)
NSLog(@"Could not write out frame.");
av_free_packet(&packet);
}Now in AVPacket, the only time-related information is the pts and the dts. After converting them into seconds, these are supposed to be the offset of the packet (in seconds) from the start of the stream.
My question is : How do I get the start time of the stream ?
These are the many things that I have tried :
1.) In
AVFormatContext
there is a variablestart_time_realtime
that is "supposed" to be the start time of the stream in real world time, in microseconds. This is exactly what I need. But no matter what I do, this value is always 0, and never changes. Am I missing a step in initialization that this never get set ?2.) Looking at this link, I added an
RTPDemuxContext
object to my code :RTSPState* rtsp_state = (RTSPState*) inputFormatCtxt->priv_data;
RTSPStream* rtsp_stream = rtsp_state->rtsp_streams[0];
RTPDemuxContext* rtp_demux_context = (RTPDemuxContext*) rtsp_stream->transport_priv;When I tried to look at the
last_rtcp_reception_time
,last_rtcp_ntp_time
,last_rtcp_timestamp
timestamps within theRTPDemuxContext
object, these values are also 0 always, and dont change.3.) With the last point, I tried to force fetch a packet using
ff_rtsp_fetch_packet(inputFormatCtxt, &packet)
. This did update the RTPDemuxContext timestamps, but only while stepping through code. If I just ran the code in a loop, it always remained the same as whatever was in theRTDemuxContext
object before the loop.int64_t x = 0;
x = rtp_demux_context->last_rtcp_reception_time; // x is 0.
while(ff_rtsp_fetch_packet(inputFormatCtxt, &packet))
{
x = rtp_demux_context->last_rtcp_reception_time; // x changes only when stepping through code. else remains 0
}At this point I have no idea what I am doing wrong. I cant seem to get this timestamp information, no matter what I try. Any help is much appreciated. Thanks !
-
provide time period in ffmpeg drawtext filter
25 janvier 2014, par ZafarYousafiI am trying to add text to video using ffmpeg and wants text to appear for a given period of time. I am trying to use DrawText filter but don't know how to provide time period for this filter. Can Anybody please help me.
Thanks