The present invention is related to video encoding. In an embodiment, a
first root mean squared (RMS) value is calculated for a first frame
relative to a second frame, and a second frame relative to a third frame.
A second temporal derivative RMS value is calculated. Based at least in
part on the second derivative value, the second frame is designated as a
scene change frame.