generating of packet loss in the video sequences encoded with h.264 video codec. authors: błażej...

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

Upload: hannah-strickland

Post on 17-Jan-2018

224 views

Category:

Documents


0 download

DESCRIPTION

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

TRANSCRIPT

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

Generating of packet loss in the video sequences encoded with H.264 video codec.

Authors: Błażej Szczerba, Damian Ziobro

Page 2: 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

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

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

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

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

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

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.xmlffmpeg -i ouptput.264 -vcodec copy output.avi

Page 6: 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

Until now, two componets were added to the Sirannonn from console based app.

1)packet-loss-config-file

2) packet-loss-generator

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

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,

Page 8: 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

packet-loss-generator

Input: input-filename, frame-loss-I, frame-loss-B, frame-loss-P

Output: output-filename, configuration-file

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

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