
Recherche avancée
Autres articles (71)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (9191)
-
ffmpeg's av_read_frame will block or not ?
24 janvier 2020, par DanielThere is a question posted on StackOverflow that asks if there is any mode to wait until a valid data comes with av_read_frame : link.
My question is the opposite :
Can I be sure that this method will always return with either -1, 0 or 1 ?I.e. it will not block ? In the official docs, there is no mention on this subject.
Some threads also mention setting up an interrupt callback for this purpose.
But I would need a solid non-blocking call which means I can do other tasks during waiting for a network video. If there is no exact way to define if av_read_frame can be set to non-blocking I would go with threads but I’d rather not doing that.
-
convert youtube video to mp3
31 août 2015, par Try Mersiantoi want to convert video from youtube to mp3 format ,
i have try to get real path and i got url like this (http://r9---sn-npo7en7d.googlevideo.com/videoplayback?mm=31&mn=sn-npo7en7d&ratebypass=yes&mime=video/webm&source=youtube&pl=18&dur=0.000&sver=3&expire=1440995594&mt=1440973944&mv=m&ms=au&sparams=dur,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,source,upn,expire&signature=27B5A991402F61990D7D97C423D167C51B984E11.FA358ECCB3BAC29953749463A37659BB4ADDF4AB&fexp=9405997,9408214,9408511,9408710,9409069,9413318,9415365,9415485,9416023,9416105,9416126,9416524,9417097,9417126,9417707,9418153,9418409,9418448,9418700,9419239,9420020,9420056&ipbits=0&ip=128.199.181.252&key=yt5&lmt=1413466470642964&initcwndbps=15202500&itag=43&id=010d2b7ac9d709c1&upn=ZmvSS1PBRW0&signature=%20%27&title=%27Hardwell-feat-Chris-Jones---Young-Again-Official-Video-HD%27)i tried to convert it with ffmpeg command like ffmpeg -i the-url play.mp3 but it fail,
am i wrong when getting the URL or wrong when using ffmpeg command ?
anyone can help me ? ,
i cant using youtube-dl because i do this for my project
thanks -
FFmpeg WASM Custom build : defining custom flags
4 avril, par EtturI wish to create custom ffmpeg.wasm build


Now the official GUIDE show four commands "make dev" "make prd" etc


So I cloned THE REPO and ran "make prd". It did build, but obviously, this build was with default settings, whatever exactly they made be.


So pardon my stupidity, as I cannot figure out how / where / what do I edit to set the custom flags about what I want to be included / excluded in the build ?