Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eoinsha/tssim
TSSim is a small simulation Framework for MPEG or DVB Transport Streams
https://github.com/eoinsha/tssim
Last synced: 15 days ago
JSON representation
TSSim is a small simulation Framework for MPEG or DVB Transport Streams
- Host: GitHub
- URL: https://github.com/eoinsha/tssim
- Owner: eoinsha
- License: other
- Created: 2015-06-15T07:59:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-15T08:04:53.000Z (over 9 years ago)
- Last Synced: 2024-04-13T16:08:09.314Z (9 months ago)
- Language: C++
- Size: 201 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick Start
Get systemC:
[http://www.accellera.org/downloads/standards/systemc/](http://www.accellera.org/downloads/standards/systemc/)
Install:
python-mediainfodll
python-cffi
python-cheetahRun:
make
Run the example simulation:make testsuiteexample
orcd ./testsuite && python -m unittest test_basicSimulation_DB.Test
create your own simulations:Go to "./testsuite" and look at the existing tests. Edit them, or write your own test to simulate something.
To run them:
make sure you are in ./testsuite
type:python -m unittest filename.classname
or do:
python filename
# Build
## Requirements
### systemC
Please get SystemC from the Website:
http://www.accellera.org/downloads/standards/systemc/
and save in the same Directory as this README file.
### python
Please make sure the following python extansions are installed:mediainfodll
cffi
cheetah
In Ubuntu, run:
sudo apt-get install python-mediainfodll python-cffi python-cheetah## Make
To build everything, run:make all
This will build systemc, download BiTStream, rapidjson and compile the simulator.
To run an example, run:
make testsuiteexampleTo clean up, run :
make cleanThe systemc tgz will remain as well as the downloaded streams.
## TestSuite
### testcases/Simulations
To set up and run the Simulations, use testcases. There is an example configuration
which can be found in ./testsuite named test_pipeline.py.### Indexer
There is an indexer that build an Index of all available files.
To use the script you will need:python-mediainfodll
python-cffiTo run:
cd testsuite
./index_files.py -name= [-json] [-save]Depending on the configuration, the script will read SD and HD files
from "helper_functions/streams.py" and parse them. !!! This may take some time.For help see
./index_files.py -h
##DocumentationThe documentation could be found in the Wiki.