
Recherche avancée
Autres articles (53)
-
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
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" ; -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5485)
-
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
-
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 5949 : Améliorations CSS du picker de polyhierarchie ... On supprime pleins de ...
29 septembre 2011, par kent1 — LogAméliorations CSS du picker de polyhierarchie ... On supprime pleins de styles déclarés 2 fois... On prend exemple sur le thème arscenic.