Skip to content
Werner Robitza edited this page Sep 15, 2020 · 1 revision

Processing steps

The chain supports the following five steps

  1. Encoding
  • Streaming
  • Loss insertion
  • Payload extraction
  • Decoding

Encoding

STEP_IDENTIFICATION: encode_videos

Syntax: python [<CHAIN_PATH>]chain.py encode_videos [OPTIONS]

This step goes through all sources defined in the SRC table and encodes all videos referred in there with their appropriate settings stored in the HRC table.

Streaming

STEP_IDENTIFICATION: stream_videos

Syntax: python [<CHAIN_PATH>]chain.py stream_videos [OPTIONS]

This steps goes through all sources defined in the SRC table and streams them, if an encoded equivalent file could be found to the server according to the stream configuration. The streamed video will be stored as pcap file via tcpdump.

Loss insertion

STEP_IDENTIFICATION: insert_loss

Syntax: python [<CHAIN_PATH>]chain.py insert_loss [OPTIONS]

Inserts loss into a set of given pcap files (according to the SRC table) and stores them in separate pcap files.

Payload extraction

STEP_IDENTIFICATION: extract_payload

Syntax: python [<CHAIN_PATH>]chain.py extract_payload [OPTIONS]

Extracts the payload of the pcap files (according to the SRC table) and stores them in separate folders

Decoding

STEP_IDENTIFICATION: decode_loss

Syntax: python [<CHAIN_PATH>]chain.py decode_loss [OPTIONS]

Replays the lossy pcap files from the loss insertion step (according to the SRC table) and tries to decode them back into video format.

Clone this wiki locally