[Home]Import Modules/Import Imlist

Showing revision 1
Difference (from revision 1 to revision 1) (minor diff, author diff)
(The revisions are identical or unavailable.)
The imlist import module takes as input a list of images. It should support any image format that your installed ImageMagick can handle.

The images must all be the same size. For optimal results, the images' dimensions should be divisible by 16. In other words, the result of 640x480 input is well defined, the result of 509x327 input is not.

transcode cannot currently autodetect the size of the images in the list, so that will need to be given with the -g switch.

The imlist module only works in RGB video mode, so --use_rgb is required.

In this example, the image files are in a directory named jpg. Make a list of files, verify the size, and run transcode.

  puff:~/tmp/tctest% find jpg -type f | sort > list
  puff:~/tmp/tctest% tcprobe -i `head -n 1 list`
  [tcprobe] JPEG image
  [tcprobe] summary for jpg/file.000018.jpg, (*) = not default, 0 = not detected
  import frame size: -g 320x240 [720x576] (*)
         frame rate: -f 1.000 [25.000] frc=0 (*)
     no audio track: use "null" import module for audio
  puff:~/tmp/tctest% transcode -i list -g 320x240 --use_rgb -x imlist,null
  transcode v1.0.0beta1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
  libdvdread: Using libdvdcss version 1.2.8 for DVD access
  libdvdread: Can't open file VIDEO_TS.IFO.
  [/home/portobj/transcode-1.0.0beta1/transcode-1.0.0beta1/import/fileinfo.c:118] file read error: Permission denied
  [transcode] auto-probing source list (failed)
  [transcode] V: import format    | unknown  (V=imlist|A=null)
  [transcode] V: import frame     | 320x240  1.33:1  
  [transcode] V: bits/pixel       | 0.938
  [transcode] V: decoding fps,frc | 25.000,0
  [transcode] A: import format    | 0x2001  AC3/A52      [48000,16,2]
  [transcode] A: export           | disabled
  [transcode] V: encoding fps,frc | 25.000,3
  [transcode] A: bytes per frame  | 7680 (7680.000000)
  [transcode] A: adjustment       | 0@1000
  [transcode] V: IA32 accel mode  | sse (sse 3dnowext 3dnow mmxext mmx asm C)
  tc_memcpy: using mmxext for memcpy
  [transcode] warning : no option -o found, encoded frames send to "/dev/null"
  [transcode] V: video buffer     | 10 @ 320x240
  [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
  [import_imlist.so] v0.0.2 (2003-11-13) (video) RGB
  [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
  encoding frames [000000-000081],  77.94 fps, EMT: 0:00:03, ( 0| 0| 0) 
  clean up | frame threads | unload modules | cancel signal | internal threads | done
  [transcode] encoded 82 frames (0 dropped, 0 cloned), clip length   3.28 s
  puff:~/tmp/tctest% 

NB


Transcode Wiki | Import Modules | Recent Changes | Preferences
Password required to edit | View other revisions | View current revision
Edited November 23, 2004 5:00 am by c-67-168-231-99.client.comcast.net (diff)
Search: