
Recherche avancée
Autres articles (75)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (10590)
-
How can I detect ffmpeg vs libav in CMake ?
19 décembre 2015, par Scott LambMy project uses libavformat to connect to
rtsp://
URLs. It’s important that it set a socket timeout and reconnect on error. Unfortunately, thestimeout
open option for this only exists in ffmpeg (and in particular, its libavformat versions >= 55.1.100), not the competing project libav (any version). And some systems I’d like to support (such as Raspbian Jessie) are still bundled with libav.So, I think my best option is to detect whether I have a suitable version using cmake, and install ffmpeg in-tree if not. I think I should be able to do this via something like :
pkg_check_modules(FFMPEG libavutil libavcodec libavformat)
if(not FFMPEG_FOUND or FFMPEG_VERSION VERSION_LESS 55.1.101)
ExternalProject_Add(
FfmpegProject
URL "http://ffmpeg.org/releases/ffmpeg-2.8.3.tar.xz"
URL_HASH "SHA1=a6f39efe1bea9a9b271c903d3c1dcb940a510c87"
INSTALL_COMMAND "")
...set up flags and such to use this in-tree version...
endif()except that I don’t know how to detect libav vs ffmpeg. I don’t see anything in the pkgconfig stuff or
libavformat/version.h
to distinguish them. The version numbers they use seem to overlap. It’s not obvious to me at all how to tell the difference programmatically, much less do so with a not-weird cmake rule. Any ideas ? -
Cannot get first frames using avformat_seek_file
14 octobre 2015, par JonesVI want to seek for an arbitrary frame in a video using
libav
. More precisely, using the functionavformat_seek_file
, which apparently usesav_seek_frame
internally.I want to make a backward search (i.e. to get the closest possible frame before the one I seek), so that I can then go forward until I find precisely the one I want. For this, I use the function as follows :
avformat_seek_file(..., ...,
std::numeric_limits::min(),
target_pts,
target_pts,
...);Which means that I don’t have any tolerance about finding a frame that comes after my target_pts, but I am happy with any frame coming before.
I am using the Big Buck Bunny videos for testing. Using the 480p H.264 video, I can seek any
pts
without problems. But using the 480p OGG video, I can’t. Actually, I can seek for any frame afterpts = 73
, but not before. Seeking forpts = 0
sets the video topts = 73
.One might think that the stream actually begins at
pts = 73
, but this is not what<stream>.start_time</stream>
returns. Moreover, if I only load the video and read the frames in order, I can get the first 73 frames without any problem. The issue is that I can never come back to one of those frames by usingavformat_seek_file
.Last point : if I use the flag
AVSEEK_FLAG_ANY
, then it works. But that might result in me decoding only a part of the frame I want, which is not a solution for me.Can anybody explain this weird behavior ?
-
Cannot get first frames using av_seek_file
31 janvier 2014, par JonesVI want to seek for an arbitrary frame in a video using
libav
. More precisely, using the functionavformat_seek_file
, which apparently usesav_seek_frame
internally.I want to make a backward search (i.e. to get the closest possible frame before the one I seek), so that I can then go forward until I find precisely the one I want. For this, I use the function as follows :
avformat_seek_file(..., ...,
std::numeric_limits::min(),
target_pts,
target_pts,
...);Which means that I don't have any tolerance about finding a frame that comes after my target_pts, but I am happy with any frame coming before.
I am using the Big Buck Bunny videos for testing. Using the 480p H.264 video, I can seek any
pts
without problems. But using the 480p OGG video, I can't. Actually, I can seek for any frame afterpts = 73
, but not before. Seeking forpts = 0
sets the video topts = 73
.One might think that the stream actually begins at
pts = 73
, but this is not what<stream>.start_time</stream>
returns. Moreover, if I only load the video and read the frames in order, I can get the first 73 frames without any problem. The issue is that I can never come back to one of those frames by usingavformat_seek_file
.Last point : if I use the flag
AVSEEK_FLAG_ANY
, then it works. But that might result in me decoding only a part of the frame I want, which is not a solution for me.Can anybody explain this weird behavior ?