
Advanced search
Other articles (66)
-
Organiser par catégorie
17 May 2013, byDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Création définitive du canal
12 March 2010, byLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
On other websites (5042)
-
ffmpeg code error in creating timelapse video from images
18 June 2021, by Ruiqing WuMy codes below used to work:


ffmpeg -y -framerate 25 -start_number 0 -i "a_%08d.jpg" -c:v libx264 -vf scale=-1:1500 -pix_fmt yuv420p d:\mystars.mp4



But it now shows error in my new computer with error:


[image2 @ 000001ae31e2e600] Could find no file with path 'a_%08d.jpg' and index in the range 0-4
a_%08d.jpg: No such file or directory



My images are under
D:\mystars
. All are jpg files named froma__00000000.jpg
toa__00000099.jpg
.

May I have some advice here?


-
FFMPEG: is there a way to keep RTSP connection alive in code?
14 December 2011, by AlexI'm taking frames from a RTSP connection as follows (in pseudocode):
av_open_input_file(&avcontext)
while(av_read_frame(&frame) > 0) {
doSomething(frame);
av_free_packet(frame);
}For some reason the
doSomething()
function takes much time and, because of this (at least, I think so) the connection interupts -av_read_frame()
returns 'eof' and the loop exits.When I make
doSomething()
shorter such interruptions do not occur.For some reasons I can't do
doSomething()
in another thread.Therefore, I'm interested if maybe there are some parameters to avcontext which will let me keep the connection alive or increase the timeout?
Thank you!
-
How to split 5.1/7.1 audio input to 6x mono outputs using FFMPEG source code?
20 March 2023, by CJ_NotnedI know how to achieve this by using cmd line as:


ffmpeg -i in.wav \
-filter_complex "channelsplit=channel_layout=5.1[FL][FR][FC][LFE][BL][BR]" \
-map "[FL]" front_left.wav \
-map "[FR]" front_right.wav \
-map "[FC]" front_center.wav \
-map "[LFE]" lfe.wav \
-map "[BL]" back_left.wav \
-map "[BR]" back_right.wav



would do the job I want for me, but, how can I achieve the same in the source code itself?


I assume the trick would be to set some option for
AVCodec
context orSwrContext
when setting up the encoder, but I cannot find any option, that should do this job for me.

I am interested just in FFMPEG solutions and how to do it using directly the source code. The original API is in C, but any, even tiny, code sample in any language highly appreciated.


I would bet on something like:

av_set_options_string(...)
orav_opt_set(...)
, but I am doing something wrong using these or it is done some other way.