
Recherche avancée
Autres articles (76)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (13454)
-
avformat/dashenc : Set VP9 codec string with profile, level and bitdepth
23 avril 2018, par Karthick Jeyapal -
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 ?
-
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 ?