Hmm...i think it would be better for me to wait for the next version of 'makexml' since there are many 'segment' related lines. I will probably mess it up more and waste time.
I did get your 'idvid' email, i will test it out soon and let you know.
Thx.
Edit, here are some preliminary tests with 'idvid', you can compare them to my stats file if you want, since the names are the same in the stats file that i sent you:
./idvid.sh *.mpg *.avi
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: jimkarate.mpg
Width: 480 pixels
Height: 480 pixels
Duration: 0:4:19 hours/mins/secs
Framerate: 29.970 frames per second
Video format: MPEG2
Audio format: mp2
Video bitrate: 2500000 bits per second
Audio bitrate: 224000 bits per second
Audio channels: 2 channels
Audio sampling rate: 44100 Hz
=====================================================
Audio is compliant with the following formats:
VCD 1.1
VCD 2.0
2-channel 224000 bps SVCD
Video is compliant with the following formats:
2500000 bps 29.970 fps MPEG2 NTSC SVCD
You can burn this video to NTSC SVCD
=====================================================
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: satbashdenoised.mpg
Width: 480 pixels
Height: 480 pixels
Duration: 0:42:56 hours/mins/secs
Framerate: 29.970 frames per second
Video format: MPEG2
Audio format: mp2
Video bitrate: 2500000 bits per second
Audio bitrate: 224000 bits per second
Audio channels: 2 channels
Audio sampling rate: 44100 Hz
=====================================================
Audio is compliant with the following formats:
VCD 1.1
VCD 2.0
2-channel 224000 bps SVCD
Video is compliant with the following formats:
2500000 bps 29.970 fps MPEG2 NTSC SVCD
You can burn this video to NTSC SVCD
=====================================================
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: smallinte.mpg
Width: 480 pixels
Height: 480 pixels
Duration: 0:42:26 hours/mins/secs
Framerate: 29.970 frames per second
Video format: MPEG2
Audio format: mp2
Video bitrate: 2500000 bits per second
Audio bitrate: 224000 bits per second
Audio channels: 2 channels
Audio sampling rate: 44100 Hz
=====================================================
Audio is compliant with the following formats:
VCD 1.1
VCD 2.0
2-channel 224000 bps SVCD
Video is compliant with the following formats:
2500000 bps 29.970 fps MPEG2 NTSC SVCD
You can burn this video to NTSC SVCD
=====================================================
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: vanilla.mpg
Width: 480 pixels
Height: 480 pixels
Duration: 0:2:24 hours/mins/secs
Framerate: 29.970 frames per second
Video format: MPEG2
Audio format: mp2
Video bitrate: 2500000 bits per second
Audio bitrate: 224000 bits per second
Audio channels: 2 channels
Audio sampling rate: 44100 Hz
=====================================================
Audio is compliant with the following formats:
VCD 1.1
VCD 2.0
2-channel 224000 bps SVCD
Video is compliant with the following formats:
2500000 bps 29.970 fps MPEG2 NTSC SVCD
You can burn this video to NTSC SVCD
=====================================================
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: saturday.night.live.presidential.bash.2004.pdtv-lol.avi
Width: 512 pixels
Height: 384 pixels
Duration: 0:42:57 hours/mins/secs
Framerate: 29.970 frames per second
Video format: XVID
Audio format: mad
Video bitrate: 982976 bits per second
Audio bitrate: 128000 bits per second
Audio channels: 2 channels
Audio sampling rate: 48000 Hz
=====================================================
Audio is compliant with the following formats:
Video is compliant with the following formats:
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=====================================================
--------------------------------
idvid video identification script
Version 0.17
Written in 2004 by Eric Pierce
http://tovid.sourceforge.net/
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=====================================================
File: smallville.s04e04.hdtv-lol.avi
Width: 624 pixels
Height: 352 pixels
Duration: 0:42:25 hours/mins/secs
Framerate: 23.976 frames per second
Video format: XVID
Audio format: mad
Video bitrate: 1007296 bits per second
Audio bitrate: 128000 bits per second
Audio channels: 2 channels
Audio sampling rate: 48000 Hz
=====================================================
Audio is compliant with the following formats:
Video is compliant with the following formats:
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=====================================================
./idvid.sh -terse *.mpg *.avi
WIDTH:480
HEIGHT:480
DURATION:259
FPS:29.970
VIDEO_FORMAT:MPEG2
AUDIO_FORMAT:mp2
VIDEO_BITRATE:2500000
AUDIO_BITRATE:224000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:44100
A_VCD1
A_VCD2
A_SVCD
V_SVCD
WIDTH:480
HEIGHT:480
DURATION:2576
FPS:29.970
VIDEO_FORMAT:MPEG2
AUDIO_FORMAT:mp2
VIDEO_BITRATE:2500000
AUDIO_BITRATE:224000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:44100
A_VCD1
A_VCD2
A_SVCD
V_SVCD
WIDTH:480
HEIGHT:480
DURATION:2546
FPS:29.970
VIDEO_FORMAT:MPEG2
AUDIO_FORMAT:mp2
VIDEO_BITRATE:2500000
AUDIO_BITRATE:224000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:44100
A_VCD1
A_VCD2
A_SVCD
V_SVCD
WIDTH:480
HEIGHT:480
DURATION:144
FPS:29.970
VIDEO_FORMAT:MPEG2
AUDIO_FORMAT:mp2
VIDEO_BITRATE:2500000
AUDIO_BITRATE:224000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:44100
A_VCD1
A_VCD2
A_SVCD
V_SVCD
WIDTH:512
HEIGHT:384
DURATION:2577
FPS:29.970
VIDEO_FORMAT:XVID
AUDIO_FORMAT:mad
VIDEO_BITRATE:982976
AUDIO_BITRATE:128000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:48000
WIDTH:624
HEIGHT:352
DURATION:2545
FPS:23.976
VIDEO_FORMAT:XVID
AUDIO_FORMAT:mad
VIDEO_BITRATE:1007296
AUDIO_BITRATE:128000
AUDIO_CHANNELS:2
AUDIO_SAMPLING_RATE:48000
I separated the above for clearity, so don't think the script is doing it. But the order of the movies should be the same since i ran the commands from the same directory of movies. I didn't analyze the results, but will let you know later if i find something fishy. But the script is quite fast, and if thats all thats taking to get accurate results, then excellent job. idvid might end up being just as important as tovid itself.