
Recherche avancée
Autres articles (52)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (...) -
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 (3715)
-
libavfilter - reconfigure filter graph using avfilter_graph_parse_ptr returns -22
16 juillet 2021, par RahulI am using
transcode.c
sample from ffmpeg examples and it is working as expected. It usesavfilter_graph_parse_ptr
to setup filter graph and it works fine.

However, I need change filter graph dynamically and there
avfilter_graph_parse_ptr
fails. It returns -22. I am not certain if it is a valid operation to do (reconfigure) ? If it is possible, does it require more thanavfilter_graph_parse_ptr
andavfilter_graph_parse_ptr
? libavfilter documentation doesn't say anything about reconfigure or reset existing graph.

I can create a new graph but I am avoiding it since it is affecting the existing buffers.


Thank you for your insight.


-
FFmpeg av_hwdevice_ctx_create returns ENOMEM
4 mars 2021, par lnogueirI am trying to perform h264 video encoding on a GPU using the ffmpeg's vaapi library.


I have been following this example from ffmpeg Github repo.


It fails for me here :


AVBufferRef* vaapi_encoder;
int err = av_hwdevice_ctx_create(&vaapi_encoder, AV_HWDEVICE_TYPE_VAAPI,
 NULL, NULL, 0);



This returns -12, which maps to
ENOMEM
(out of memory) error, but that doesn't make sense to me because I have plenty of memory.

For reference, this is my output after running 'vainfo' :


libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
 VAProfileMPEG2Simple : VAEntrypointVLD
 VAProfileMPEG2Main : VAEntrypointVLD
 VAProfileH264Main : VAEntrypointVLD
 VAProfileH264Main : VAEntrypointEncSliceLP
 VAProfileH264High : VAEntrypointVLD
 VAProfileH264High : VAEntrypointEncSliceLP
 VAProfileJPEGBaseline : VAEntrypointVLD
 VAProfileJPEGBaseline : VAEntrypointEncPicture
 VAProfileH264ConstrainedBaseline: VAEntrypointVLD
 VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
 VAProfileVP8Version0_3 : VAEntrypointVLD
 VAProfileHEVCMain : VAEntrypointVLD
 VAProfileHEVCMain10 : VAEntrypointVLD
 VAProfileVP9Profile0 : VAEntrypointVLD
 VAProfileVP9Profile2 : VAEntrypointVLD



Thanks !


-
php fread returns empty after one time of execution for popen
20 avril 2021, par HamedI'm trying to get real-time output from ffmpeg command with popen, but it returns empty after one time of execution in the loop.


<?php

$a = popen('ffpb -i mymovie.mp4 -vf subtitles=subtitles.srt mysubtitledmovie.mp4 2>&1', 'r');


while (true) {
 $b = fread($a, 2096);

 var_dump($b) . "<br />\n";

 ob_flush();
 flush();

 sleep(1);
}



The output : :


mymovie.mp4: 0%| | 0/61080.0 [00:00<?, ? frames/s]"
string(105) "Unexpected exception: 'ascii' codec can't encode characters in position 43-47: ordinal 
not in range(128)
"
string(0) ""
string(0) ""
string(0) ""