Optimized H.264 Video Encoding and Packetization for Video Transmission over Pipeline Forwarding Networks