Bonjour,
J'utilisais le script suivant pour assembler des images et en faire une
vidéo (film d'animation de mes gamins) :
FPS="18"
QUALITY="3"
BITRATE="800"
GEOMETRY="1024x768"
TMP_FILE="/tmp/jpglist"
DIR=$1
AVI_FILE="film-"$DIR".avi"
ls $DIR/*.jpg >$TMP_FILE
transcode -x imlist,null -i $TMP_FILE -f $FPS -o $AVI_FILE -Q $QUALITY \
-y xvid,null -k -w $BITRATE -g $GEOMETRY --accel C
mais ça ne marche plus :
[fileinfo.c] warning: [fileinfo.c:125] file read error: Wrong medium type
[probe_ffmpeg.c] critical: unable to open '/tmp/jpglist' (libavformat
failure)
[transcode] V: auto-probing | /tmp/jpglist (FAILED)
[transcode] V: import format | (null) in (module=imlist)
[transcode] A: auto-probing | /tmp/jpglist (FAILED)
[transcode] A: import format | AC3 in (module=null)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 1024x768 1.33:1 encoded @ UNKNOWN
[transcode] V: rgb2bgr | yes
[transcode] V: bits/pixel | 0.057 (low)
[transcode] V: decoding fps,frc | 18.000,0
[transcode] V: video format | YUV420 (4:2:0) aka I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 18.000,0
[transcode] A: bytes per frame | 10668 (10666.666667)
[transcode] A: adjustment | -1332@1000
[transcode] V: IA32/AMD64 accel | none
[transcode] V: video buffer | 10 @ 1024x768 [0x2]
[transcode] A: audio buffer | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_imlist.so] v0.1.1 (2007-08-04) (video) RGB
[transcode] critical: video format not supported by import module
[transcode] critical: failed to init import modules
[transcode] critical: plug-in initialization failed
Je précise que /tmp/jpglist est bien généré, pas de problème de ce côté. Il
semblerait que le filtre d'import imlist ne marche plus... Une idée ?
--
Frédéric
http://www.gbiloba.org