
Recherche avancée
Autres articles (87)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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
Sur d’autres sites (16256)
-
avformat_open_input return value, error code on NaCl Module
7 février 2016, par JarI’m trying to port FFmpeg into my NaCl module.
So far, my module linked ffmpeg and SDL libraries.
It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it’s very easy).
Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns
-5
when input is URL string, such asrtmp://
ormmsh://
; it returns-1052488119
when input is file name, such as/saved/tmp
(I mount the file system - html5fs).
There are some questions :
- What means of -5 and -1052488119 ?
- If file can’t open by avformat_open_input, is it possible the input type is from buffer not from file name or url string ?
If I’m not clearly about my question or description, you can tell me.
If you are doing the same thing or having the same problem, we can discuss together.Thanks,
Jar -
avcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily
15 août 2022, par Andreas Rheinhardtavcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily
It is unused since 3575a495f6dcc395656343380e13c57d48b9f976
(and the error message is dangerous : av_get_pix_fmt_name(format)
returns NULL iff av_pix_fmt_desc_get(format) returns NULL
and using a NULL string for %s would be UB).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
all pages of the same domain keep loading until background process finish [on hold]
7 juillet 2013, par KalI upload video files to mydomain_1.com and once the upload finish I store info about the uploaded file in mydomain_1 database under table process_queue.
I have process.php under mydomain_2.com that connects to mydomain_1 database and check if process_queue table has any new entries. If there is then process.
notice we are talking two separate domains.
the moment process.php finds a new entry it starts converting the video using exec with ffmpeg.
while the process is happening I cannot access any page under mydomain_1.com. all pages keep loading forever. the moment the process is done on mydomain_2.com I get access to pages on mydomain_1.com
I thought it could be a
mysql
connection issue so on process.php I usedmysql_close($db)
immediately after every call to the database.