I am saving the video from camera, using the code below:

player = Manager.createPlayer("capture://devcam1");
player.realize();
control = (VideoControl)player.getControl("VideoControl");
control.initDisplayMode(VideoControl.USE_DIRECT_VIDEO,Display.getDisplay(midlet).getCurrent());
control.setVisible(false);
player.start();
record = (RecordControl)player.getControl("RecordControl");
conn = (FileConnection)Connector.open(PATH,Connector.READ_WRITE);
if(!conn.exists()) conn.create();
stream = conn.openOutputStream();
record.setRecordStream(stream);
record.startRecord();

Right after startRecord(), i want to play the video using and get the video frame using getSnapshot():

player = Manager.createPlayer(PATH);
player.realize();
control = (VideoControl)player.getControl("VideoControl");
player.start();
raw = control.getSnapshot("encoding=bmp");

is this possible? or i need to stop the recording first before i can start with playing the video?
By the way, is second part of the code is the right way to play the video and get snapshot of the video?