Visit http://www.ADShareIt.comtitle_cmdln

Top  Previous  Next

SetTargetFileFormat

CLIP0002

Usage: SetTargetFileFormat(TargetFileFormat, vCodec, aCodec)

 

Description:

TargetFileFormat: Integer;

Specify the target file format.

=0:   convert source flash file to AVI format
=1:   convert source flash file to VCD / MPEG1 format
=2:   convert source flash file to DVD / SVCD / MPEG2 format
=3:   convert source flash file to MPEG4 format
=4:   convert source flash file to WMV / ASF format
=5:   convert source flash file to OGV format
=6:   convert source flash file to FLV format
=7:   convert source flash file to MOV format
=8:   convert source flash file to 3GP format
=9:   convert source flash file to 3GP2 format
=10: convert source flash file to Animated GIF format
=11: convert source flash file to Image Sequence

 

vCodec: Integer;

Video codec of target file. Meanings depend on TargetFileFormat.

 

aCodec: Integer;

Audio codec of target file. Meanings depend on TargetFileFormat.

 

Note: Different forceformat followed by different vcodec and acodec.

 

TargetFileFormat=0, means the target file format is AVI format, and then

vCodec=0 means the video codec is RAW

vCodec=1 means the video codec is DIVX

vCodec=2 means the video codec is XVID

vCodec=3 means the video codec is X264

vCodec=4 means the video codec is Msmpeg4v2

vCodec=5 means the video codec is Msmpeg4v1

vCodec=6 means the video codec is YUVHuff

vCodec=7 means the video codec is FFVHuff

vCodec=8 means the video codec is FFV1

 

aCodec=0 means the audio codec is MP3

aCodec=1 means the audio codec is MP2

aCodec=2 means the audio codec is AC3

aCodec=3 means the audio codec is FLAC

aCodec=4 means the audio codec is PCM

 

TargetFileFormat=1, means the target file format is  VCD / MPEG1 format, and then

vCodec=0 means the video codec is VCD_NTSC

vCodec=1 means the video codec is VCD_PAL

 

aCodec=0 means the audio codec is MP2

 

TargetFileFormat=2, means the target file format is  DVD / SVCD / MPEG2 format, and then

vCodec=0 means the video codec is DVD_NTSC

vCodec=1 means the video codec is DVD_PAL

vCodec=2 means the video codec is SVCD_NTSC

vCodec=3 means the video codec is SVCD_PAL

 

aCodec=0 means the audio codec is AC3

aCodec=1 means the audio codec is MP2

 

TargetFileFormat=3, means the target file format is  MPEG4 format, and then

vCodec=0 means the video codec is XVID

vCodec=1 means the video codec is MPEG4

vCodec=2 means the video codec is X264

 

aCodec=0 means the audio codec is AAC

aCodec=1 means the audio codec is MP3

 

TargetFileFormat=4, means the target file format is  WMV / ASF format, and then

vCodec=0 means the video codec is WMV2

 

aCodec=0 means the audio codec is WMA

 

TargetFileFormat=5, means the target file format is  OGV format, and then

vCodec=0 means the video codec is THEORA

 

aCodec=0 means the audio codec is VORBIS

 

TargetFileFormat=6, means the target file format is  FLV format, and then

vCodec=0 means the video codec is H263

vCodec=1 means the video codec is X264

 

aCodec=0 means the audio codec is MP3

 

TargetFileFormat=7, means the target file format is  MOV format, and then

vCodec=0 means the video codec is XVID

vCodec=1 means the video codec is MPEG4

vCodec=2 means the video codec is X264

 

aCodec=0 means the audio codec is AAC

aCodec=1 means the audio codec is MP3

 

TargetFileFormat=8, means the target file format is  3GP format, and then

vCodec=0 means the video codec is XVID

vCodec=1 means the video codec is MPEG4

vCodec=2 means the video codec is X264

 

aCodec=0 means the audio codec is AAC

aCodec=1 means the audio codec is AMR

 

TargetFileFormat=9, means the target file format is 3GP2 format, and then

vCodec=0 means the video codec is XVID

vCodec=1 means the video codec is MPEG4

vCodec=2 means the video codec is X264

 

aCodec=0 means the audio codec is AAC

aCodec=1 means the audio codec is AMR

aCodec=2 means the audio codec is MP3

 

TargetFileFormat=10, means the target file format is Animated GIF format, and then

vCodec=0 means the video codec is RX

 

aCodec=0 means no audio stream

 

TargetFileFormat=11, means the target file format is  Image Sequence, and then

vCodec=0 means the video codec is JPG

vCodec=1 means the video codec is BMP

vCodec=2 means the video codec is GIF

vCodec=3 means the video codec is PCX

vCodec=4 means the video codec is TIF

vCodec=5 means the video codec is TGA

vCodec=6 means the video codec is PNG

 

aCodec=0 means no audio stream