90 likes | 285 Views
Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro. Tools. Console – based application Integration with Sirannon Shell scripts to automatize. Console – based application Integration with Sirannon
E N D
Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro
Tools • Console – based application • Integration with Sirannon • Shell scripts to automatize
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools A console application wrote in C++ w/ pcap library. The application is able to analyze pcap files include H.264 video seqeuneces.
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools • Oportunities: • each packet from a pcap file has a N % chance to be discarded from pcap(i.e 5 %) • each packet from pcap, which includes defined type of frame has a N % chance to be discarded ( 5 % P-frames ) • deleting packets use Bernoulli & Gilbert-Elliot models • deleting packets base on configuration files
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools Examples: Each packet in a pcap file with P frame has 5% chance to be discarded. Using of two state Gilbert-Elliot model. lossGenerator -f input.pcapoutput.pcap 5 P config.txt lossGenerator -ginput.pcapoutput.pcap 5 93 config.txt h264streamgenerator –r input.pcap –b output.264 –x output.xml ffmpeg -iouptput.264 -vcodec copy output.avi
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools • Until now, two componets were added to the Sirannonn from console based app. • packet-loss-config-file • 2) packet-loss-generator
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools packet-loss-generator Input: input-filename, configuration-file Output: output-filename, blazej@ubuntu:# sirannon deletion.xml arg1 arg2 arg3
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools packet-loss-generator Input: input-filename, frame-loss-I, frame-loss-B, frame-loss-P Output: output-filename, configuration-file
Console – based application • Integration with Sirannon • Shell scripts to automatize Tools Catalogue with config files + Output pcap files, h264 files and avi files Shell script Catalogue with pcap files blazej@ubuntu:# ./skrypt.sh /home/blazej/pcap /home/blazej/pcap_out