
Recherche avancée
Autres articles (48)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (5255)
-
when audioqueue play lpcm decoded from ffmpeg, the elapsed time of audio queue exceeds the duraion of the media
15 août 2012, par zhzhyWhen play the lpcm data decoded from ffmpeg with audioqueue, the elapsed time got by
AudioQueueGetCurrentTime
exceeds the duration of media. But when decode the same media with AVFoundation framework, the elapsed time equals duration of the media, and so when read media by ffmpeg with no decoded, then send the compressed media data to audioqueue, the elapsed time also equals duration of the media. The AudioStreamBasicDescription set as following :asbd.mSampleRate = 44100;
asbd.mFormatID = kAudioFormatLinearPCM;
asbd.mFormatFlags = kAudioFormatFlagsCanonical;
asbd.mBytesPerPacket = 4;
asbd.mFramesPerPacket = 1;
asbd.mBytesPerFrame = 4;
asbd.mChannelsPerFrame = 2;
asbd.mBitsPerChannel = 16;
asbd.mReserved = 0;When playing with data decoded from AVFoundation, the setting of AudioStreamBasicDescription is the same as above. By my test found that
AudioTimeStamp.mSampleTime
got byAudioQueueGetCurrentTime
is different between ffmpeg and AVFoundation, the value of ffmpeg is greater than AVFoundation. So I want to know how this happen, and how to fix it ?
Thanks ! -
ffmpeg time unit explanation and av_seek_frame method
3 septembre 2013, par user325320What does
time_base
mean in ffmpeg ? document(here) says it is "frames per second".
and I see in a real example that :AVFormatContext->streams[video_index]->time_base
== 1 / 30000But video's
AVCodecContext->time_base
== 1001 / 60000This makes me quite confused, and I don't understand them.
The second question is about av_seek_frame method.
If seeking via time stamp (last parameter is AVSEEK_FLAG_BACKWARD or 0),
the seek is started from current position read by av_seek_frame ?
or from the start of the file ? or from the start position of decoding after last av_seek_frame call ? -
doc/utils : rewrite doc for time duration syntax
4 septembre 2013, par Timothy Gu