
Recherche avancée
Autres articles (101)
-
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 -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (8243)
-
FFMPEG read audio convenience function
7 mars 2016, par Phlox MidasIn Matlab, there’s a function called
audioread
that takes a file name as input and returns a vector of samples and the sample rate like this :[samples, sampleRate] = audioread(fileName);
I’ve been programming FFMPEG but finding it very low level. I have a file being read using a technique similiar to this. Is there any such equivalent C function in FFMPEG as there is in Matlab so I don’t have to fiddle with the low level stuff ? Or any library that can provide a nice API like this for FFMPEG (though I would just prefer this one function) ?
-
lavu : add av_gettime_relative()
12 mai 2014, par Olivier Langloislavu : add av_gettime_relative()
These functions are using the POSIX clock_gettime() function with the
CLOCK_MONOTONIC clock id. If these are not present on the targeted
platform, the new functions will fallback on using the original realtime functions
av_gettime() and av_usleep().Monotonic support can be added on other platforms with their
equivalent native system API eventually if possible.Whenever time is requested to measure relative time, the monotonic clock,
when available, is superior to the system realtime clock because it is
not affected by discontinuous jumps in the system timeIn a future step, offering the flexibility to let the user choose between
rt and monotonic clock for avdevices packets will be investigated.It is very easy to experience the issues that this patch attempt to address
by rewinding back in the past the system time while ffmpeg is running.this is breaking the ffmpeg report printing (ffmepg.c:print_report()) and
the the rate emulator functionality (-re) without the patch.Signed-off-by : Olivier Langlois <olivier@trillion01.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Splitting odd and even frames in Gstreamer
4 avril 2014, par user3498379I am building an application whereby I need to split a videostream(RTSP/MJPEG) into individual frames. The extracted frames then need to be put into two named pipes. I need to alternate the frames between two named pipes, i.e. even frames go to pipe one and odd frames go to pipe 2. I have been able to achieve this with ffmpeg using the following command :
ffmpeg -i "rtsp://<ipaddress>/axis-media/media.amp?videocodec=jpeg" -vf select="mod(n-1\,2)" -vcodec mjpeg -f avi -y -vf select="not(mod(n-1\,2))" -vcodec mjpeg -f avi -y
</ipaddress>However I have run into an RTP packet size issue with ffmpeg when using large resolutions e.g. 2048x1536. My question is ; is there a gstreamer equivalent command ? I have the basic gstreamer command which extracts images :
gst-launch rtspsrc location=rtsp://<ipaddress>/axis-media/media.amp?videocodec=jpeg ! decodebin2 ! jpegenc ! multifilesink location="frame%d.jpg"
</ipaddress>But now I need the additional piece, any help will be much appreciated.