dear friends can any body help to write c program task---"open sample.mpg (any video file) in binary mode, read bytewise and write all the bytes into the another file say a.mpg but stop writing when read 4bytes from the video file equal to 001b8.if it matches then u have to insert another strucured data .After inserting this strucured data append this with video file data continued from 001b8 upto the end of file.