I have an MP4 source video file. I also have numbers of start and end frames of commercials, which I want to cut out from original file, to produce clean output file with the same encoding parameters as source file.
My question: what is the fastest way to cut off these blocks of video? Each commercials begins with I-frame. I wouldn't to process again the whole file.
I have basic knwoledge how I can decode the video.
BTW:Could you tell me how I can disbale saving source video file as output YUV file (fwRender class object)?