
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (6)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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
Sur d’autres sites (3643)
-
avutil/avstring : support input path as a null pointer or empty string
24 septembre 2019, par Limin Wangavutil/avstring : support input path as a null pointer or empty string
Linux and OSX systems support basename and dirname via <libgen.h>, I plan to
make the wrapper interface conform to the standard interface first.
If it is feasible, I will continue to modify it to call the system interface
if there is already a system call interface.You can get more description about the system interface by below command :
"man 3 basename"Reviewed-by : Marton Balint <cus@passwd.hu>
Reviewed-by : Tomas Härdin <tjoppen@acc.umu.se>
Reviewed-by : Steven Liu <lq@chinaffmpeg.org>
Signed-off-by : Limin Wang <lance.lmwang@gmail.com> -
Bat file that extracts subtitle file then hard encodes the subtitle file into the original mkv file
1er septembre 2019, par NolanWinsmanMy tv can play
mkv
files off of a flash drive but it cannot detect the subtitles files. I am trying to make abat
file that essentially takes the.srt
file out of themkv
file then hard encodes it into the mkv file using ffmpeg. I am getting close but the naming is not working properly. For instance when it creates the subtitle file it names itinfile.mkv.srt
. When the file is encoded it is namedinfile.mkvEncoded.mkv
. I am trying to get rid of the extra .mkvI am not great with variables in bat files so I am not exactly sure what to do. I added the "Encoded" part to the name of the file so that it doesn’t overwrite the original infile. I plan on just using bulk rename utility to get rid of that part unless there is a better way.
My code is :
DO (
MKDIR Encoded_Files
)
FOR /F "tokens=*" %%G IN ('dir /b *.mkv') DO (
ffmpeg -i "%%G" -vn -an -codec:s:0.1 srt "%%G.srt"
ffmpeg -i "%%G" -vf "subtitles=%%G.srt" "%%GConverted"
move *"%%~nG" "Encoded_Files"
)The expected result would be
infileEncoded.mkv*
-
Applying same filter_complex many times before output [duplicate]
19 août 2019, par FabiánThis question already has an answer here :
It’s not a duplicate. This is about using
filter_complex
, not -vf.In my video there’s an object that has shades of yellow (more orange-like) and a solid yellow as background.
I need to output all frames into a png sequence, using a color key filter to replace the yellow from the background :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.125:0[ckout]" -map "[ckout]" colorkey-%d.png
This removes the specific color, but leaves some pints behind, and some items are yellow-themed, so blending value is a no-no for this scenario.
I need to get rid of 4 specific yellow-colors from the frames :
0xfff31b
,0xfae56b
,0xfaec46
and0xeee2a0
, and I plan to run the same filter for specific colors before getting the final result.So first I tried this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout1];[0:v]colorkey=0xfae56b:0.4:0[ckout2];[0:v]colorkey=0xfaec46:0.4:0[ckout3];[0:v]colorkey=0xeee2a0:0.4:0[ckout4]" -map "[ckout4]" colorkeyrefined-%d.png
Then this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfae56b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfaec46:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xeee2a0:0.4:0[ckout]" -map "[ckout]" colorkeyrefined-%d.png
But both display the same error :
Filter colorkey has an unconnected output.
Is there a way to apply the colorkey feature 4 times (with the mentioned values) in one go ?