Hi,

I've received a bug report. Unable to encode a list of jpg files in
xvid. Doesn't work on amd64 and i386.

,----
| $ ./encode /home/marillat/tmp/tmp/fred/100v3240_032                           
                          
| transcode v1.1.0 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
| [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=im)
| [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       | -1...@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_im.so] v0.1.3 (2008-10-07) (video) RGB
| [transcode] critical: video format not supported by import module
| [transcode] critical: failed to init import modules
| [transcode] critical: plug-in initialization failed
`----

The script.

,----
| #!/bin/sh
| 
| 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
`----


Christian

Reply via email to