Presentation is loading. Please wait.

Presentation is loading. Please wait.

Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro.

Similar presentations


Presentation on theme: "Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro."— Presentation transcript:

1 Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro

2 Tools Console – based application Integration with Sirannon Shell scripts to automatize

3 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

4 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

5 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.pcap output.pcap 5 P config.txt lossGenerator -g input.pcap output.pcap 5 93 config.txt Console – based application Integration with Sirannon Shell scripts to automatize h264streamgenerator –r input.pcap –b output.264 –x output.xml ffmpeg -i ouptput.264 -vcodec copy output.avi

6 Tools Console – based application Integration with Sirannon Shell scripts to automatize Until now, two componets were added to the Sirannonn from console based app. 1)packet-loss-config-file 2) packet-loss-generator

7 Tools blazej@ubuntu:# sirannon deletion.xml arg1 arg2 arg3 Console – based application Integration with Sirannon Shell scripts to automatize packet-loss-generator Input: input-filename, configuration-file Output: output-filename,

8 Tools Console – based application Integration with Sirannon Shell scripts to automatize packet-loss-generator Input: input-filename, frame- loss-I, frame-loss-B, frame-loss-P Output: output-filename, configuration-file

9 Tools blazej@ubuntu:#./skrypt.sh /home/blazej/pcap /home/blazej/pcap_out Console – based application Integration with Sirannon Shell scripts to automatize Catalogue with pcap files Catalogue with config files Shell script + Output pcap files, h264 files and avi files


Download ppt "Generating of packet loss in the video sequences encoded with H.264 video codec. Authors: Błażej Szczerba, Damian Ziobro."

Similar presentations


Ads by Google