Bonjour,

j'espère poster au bon endroit...

En fait j'ai installé sur mon Mac flvtool2 pour injecter des metadatas dans mes fichiers vidéo .flv.

J'arrive à le faire fonctionner en ligne de commande :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
cd (+ drag&drop du dossier où sont les flv)
flvtool2 -U nom_du_fichier.flv
Ça marche impec, sauf que j'ai un grand nombre de fichiers à traiter et là je les prends 1 par 1...

Je ne sais pas comment faire du "batch processing" mais je sais que flvtool2 permet de le faire.

L'aide de flvtool2 donne :
FLVTool2 1.0.6
Copyright (c) 2005-2007 Norman Timmler (inlet media e.K., Hamburg, Germany)
Get the latest version from http://www.inlet-media.de/flvtool2
This program is published under the BSD license.

Usage: flvtool2 [-ACDPUVaciklnoprstvx]... [-key:value]... in-path|stdin [out-path|stdout]

If out-path is omitted, in-path will be overwritten.
In-path can be a single file, or a directory. If in-path is a directory,
out-path has to be likewise, or can be omitted. Directory recursion
is controlled by the -r switch. You can use stdin and stdout keywords
as in- and out-path for piping or redirecting.

Chain commands like that: -UP (updates FLV file than prints out meta data)

Commands:
-A Adds tags from -t tags-file
-C Cuts file using -i inpoint and -o outpoint
-D Debugs file (writes a lot to stdout)
-H Helpscreen will be shown
-P Prints out meta data to stdout
-U Updates FLV with an onMetaTag event

Switches:
-a Collapse space between cutted regions
-c Compatibility mode calculates some onMetaTag values different
-key:value Key-value-pair for onMetaData tag (overwrites generated values)
-i timestamp Inpoint for cut command in miliseconds
-k Keyframe mode slides onCuePoint(navigation) tags added by the
add command to nearest keyframe position
-l Logs FLV stream reading to stream.log in current directory
-n Number of tag to debug
-o timestamp Outpoint for cut command in miliseconds
-p Preserve mode only updates FLVs that have not been processed
before
-r Recursion for directory processing
-s Simulation mode never writes FLV data to out-path
-t path Tagfile (MetaTags written in XML)
-v Verbose mode
-x XML mode instead of YAML mode
Si vous pouviez me donner un coup de pouce...

Merci !


PAul