Sensoray 614 Windows User Manual
Page 10

Multiplexed stream callbacks(cbmux)
MPEG1 PES Capture example commands
•
“encode 0”
•
“cbmux c:\\mpeg1_pes.mpg”
•
wait 10 seconds
•
“stop”
MPEG2 PES Capture example commands
•
“encode 1”
•
“cbmux c:\\mpeg1_pes.mpg”
•
wait 10 seconds
•
“stop”
MPEG4 and Motion JPEG are NOT supported for this mode. Please see
SN_StartCompressedCaptureOnly function and the Regular Recording section below.
Split stream (separate Video and Audio callbacks)
The split stream commands allow separate video and audio callbacks. Please see the console demo.
Raw Uncompressed stream
“cbraw filename” starts an uncompressed capture stream using sample grabber callbacks. Inside
the callback, a snapshot is saved each time with increasing frame index. Eg. The first snapshot is
filename0.bmp, the second filename1.bmp, etc…
This command uses the
SN_StartCaptureOnly_CB to create the DirectShow filtergraph.
Regular Recording
The console application also demonstrate the standard recording functionality using
SN_StartRecord. SN_StartRecord builds a full Capture Graph for recording. All encode types are
supported. The AVI Mux rewrites the start of the MPEG4 and MotionJPEG AVI files when the
stream is stopped. This is why MPEG4 and MotionJPEG are not supported by the “cbmux”
callback multiplexing method. MPEG4DIVX is not supported by this function or “cbmux”
10