Sensoray 614 Windows User Manual
Page 9

Compressed MPEG stream(cbmpeg)
The compressed MPEG stream in the console demo uses callbacks to get every MPEG frame(or
JPEG for Motion JPEG) as it passes through the SampleGrabber. To start the VES(video
elementary stream) of the compressed data, type “cbmpeg f” in the console demo where f is the
filename. Currently, only encode modes MPEG1, MPEG2, and MPEG4 DIVX(encode=9)
produce useable results. MotionJPEG capture is not demonstrated, but can be easily added by the
user. MPEG4(Microsoft) encode=2 is NOT supported because this mode has no sequence
headers.
MPEG1 VES Capture example commands
•
“encode 0”
•
“cbmpeg c:\\mpeg1_ves.mpg”
•
wait 10 seconds
•
“stop”
MPEG2 VES Capture example commands
•
“encode 1”
•
“cbmpeg c:\\mpeg2_ves.mpg”
•
wait 10 seconds
•
“stop”
MPEG4 VES Capture example commands
•
“encode 9”
•
“cbmpeg c:\\mpeg4_ves.mpg”
•
wait 10 seconds
•
“stop”
9