
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (11939)
-
How to catch a FFMPEG exception with subprocess ?
13 mai 2022, par FaindirnomainzeinI'm doing some work on subtitles and some videos have 1 subtitle track, others have 2 subtitle tracks. For those that have 2, I use the 2nd one (index = 1). I'm trying to automate it with python.


For files with with 2 subtitle tracks, I use :




-vf "subtitles='file.mkv':si=1




and for those with 1 subtitle track, I use :




-vf "subtitles='file.mkv':si=0




I'm using this code :


for mkv in all_mkvs:
 try:
 subprocess.call(f'ffmpeg -i ... -vf "subtitles='file.mkv':si=1 ...')
 except:
 subprocess.call(f'ffmpeg -i ... -vf "subtitles='file.mkv':si=0 ...')



But it doesn't seem to care about the exception and just ends the loop whenever it meets a file with 1 subtitle and gives me the error anyway.


Press [q] to stop, [?] for help
[Parsed_subtitles_0 @ 0000011af4912880] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.7.2 (COMPLEX)
[Parsed_subtitles_0 @ 0000011af4912880] Unable to locate subtitle stream in ./test/349.mkv
[AVFilterGraph @ 0000011af623d880] Error initializing filter 'subtitles' with args './test/349.mkv:si=1'
Error reinitializing filters!
Failed to inject frame into filter network: Operation not permitted
Error while processing the decoded data for stream #0:3
Conversion failed!



As you can see in the error message above, it says : "Error initializing filter .... si=1" because it should be si=0 in the case of that specific file, which is why I added the exception, but it doesn't seem to care about it.




So I'm trying to catch that error and say "ok, in that case, let's do si=0 instead".


-
Revision 08cdd006e1 : Allow checking zeromv mode in vp9_pick_inter_mode This improves the compression
22 octobre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_pickmode.c
Allow checking zeromv mode in vp9_pick_inter_modeThis improves the compression performance of speed -5 by 0.6%. The
speed impact is less than 1%.Change-Id : Ie77daa561976dfc8b479061e1221bdf428eb0c3b
-
ffmpeg record audio from Xvfb on Centos
25 mai 2017, par boygiandiI’m trying to record audio from Xvfb. And I have some problems :
- What’s the different between alsa and pulse. I get confuse
- Server Centos have no soud card :
arecord -l
arecord : device_list:268 : no soundcards found...
- I may have many Xvfb process, how to record video and audio from specific Xvfb process. I checked this https://trac.ffmpeg.org/wiki/Capture/ALSA#Recordaudiofromanapplication but still don’t understand how it works.
ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec pcm_s16le output.wav
I seen many command like this, but I don’t know how to get hw:0,0 ( id of sound card ? )
Please help. Thanks