I am new to iSCSI programming. I have security camera videos written in iSCSI blocks in a SAN. I need to construct playback of the some video from those blocks. I have hard time finding any tutorial or lead to solve this issue.
Thanks in advance.
I'd start with the libiscsi tools. That should let you read the contents of the LUN from anywhere. Beyond that, there are no tutorials. Unless you've omitted details, you've basically lot a large block of data with video hidden in it somewhere.
Start by trying to figure out the structure of the contents of the LUN. If you're really lucky, it's just constantly rewriting a raw MPEG stream over the whole LUN, so you might copy some of the contents to a file and see what ffmpeg
says about it. If you're unlikely, you've just got a bit file format reverse engineering problem on your hands, and that's far outside the scope of stack overflow, even if you gave us details. Some places to start looking: