Trace driven ns-2 simulation of Rate Adaptive MPEG-4 VBR Video
The paper "Evalvid-RA: Trace Driven Simulation of Rate Adaptive MPEG-4 VBR Video" by Arne Lie and Jirka Klaue
is published in ACM/Springer Multimedia Systems Journal autumn 2007. A local
copy is available here. The
original publication is available at
www.springerlink.com, for direct link use
http://dx.doi.org/10.1007/s00530-007-0110-0.
This page contains information about Evalvid-RA, which is a tool-set
for trace file simulation of rate adaptive MPEG-4 video. It was created
by modifying the original
Evalvid v1.2 (from
Technical University of Berlin), original
ns-2
interface of Evalvid (Taiwan), and implementing a rate adaptive version of SVBR into
ns-2.
Note that Evalvid-RA is not (at the time of this writing) compatible with EvalVid 2.x. The practical impact
of this is that one have to work on "raw" *.m4v files, and not the ISO Media
File format *.mp4. Thus it is not possible to hint *.m4v files with
certain MTU settings, as it is possible with *.mp4 files. The MTU parameter is
however given directly in the ns-2 simulation, and the packetization will hence
follow this MTU parameter without taking notice of macro-block boundaries.
Sample test files and presentation
The following test sample *.mp4 files was created by an early version of a
new "rate adaptive" version of
et.exe named et_ra.exe, and modified ns-2 interface (compared
to the interface made by
Chih-Heng
Ke,
Taiwan). If the files do not play directly in your browser, manually download the files, and play them using e.g. QuickTime v7.x.
- Sample1: toggle each GOP
(=400ms) between Q=4 and Q=25. Just for demonstration of et_ra.exe
capability of multiplexing multiple *.m4v files into one *.m4v. *.mp4 file
created my MPEG4IP converter mp4creator60.exe
- Sample2: rate adaptive SVBR
and P-AQM+ECF to control low packet loss (packet loss only at ~2s because
all flows are started within the first 2 seconds) and fair bandwidth share
(~600kbit/s each flow, 42 flows in total, sharing 25Mbit/s bottleneck
capacity). Link utilization ~94%.
- Sample3: During the first
60 seconds 120 flows are started (random start time and position in stream),
during the last 60 seconds they are ended. This sequence was the first to
start, and last to stop. Packet loss is zero.
- Early presentation of "Evalvid-RA" and rate adaptive SVBR
December 2005 (.pdf)
- Paper in Springer Multimedia Systems Journal November 2007: See link in
top text.

Software downloads
The source code included in the winzip file is for pre-processing, ns-2
simulation, and post-processing. It is tested on Windows XP SP2 platform with
Cygwin latest build, and using ffmpeg v0.4.9-pre1 build 4756. Project files for MS
Visual Studio are included, and cover
tools for pre- and post-processing. The C-files, TCL and AWK scripts are for the ns-2
simulation, and is tested on ns-2.28. The files are complete (not patch files) and should
therefore be possible to install on both older and newer ns-2 versions.
See README.txt files and command.txt file for
installation and usage instructions.
Current version:
-
Source code: Evalvid-RA v1.03. 06.06.2008:
Same as version 1.02 but now includes the necessary icmp.c/.h source files to make
the P-AQM system work as it should.
- Win32 binaries:
Evalvid-RA v1.03 Win32/Cygwin binaries (thanks to Ahmad Suki Bin Che Mohamed Arif for making me aware of that the mp4 tool was not compatible with new ffmpeg (Unexpected marker bit problem). Provided here is an older ffmpeg version that is compatible. The ffmpeg_newer can be used as decoder.)
- Need support? Please read the paper and eventually the
presentation (see links above). E-mail your questions to arne.lie AT sintef.no.
Past versions:
-
Evalvid-RA v1.02. 08.04.2008:
Bug fix of tfrc_vbr_simple.tcl (now ...simple2.tcl): the TFRC
feedback did not reach correct source nodes. The fixyuv_ra.exe did not work
correctly at fast changing end-to-end latency combined with packet drops.
Includes both TFRC and P-AQM+ECF
(AIMD) and P-AQM+ERF (RCP) modules. It also includes most of the ns-2
scripts used during the creation of the Multimedia Systems Journal paper
(see top of this page).
- Evalvid-RA v1.01. 19.11.07: Includes both TFRC and P-AQM+ECF
(AIMD) and P-AQM+ERF (RCP) modules. It also includes most of the ns-2
scripts used during the creation of the Multimedia Systems Journal paper
(see top of this page).
-
Evalvid-RA v1.0. 13.06.07: Includes both TFRC and P-AQM+ECF
modules (both AIMD and RCP mode).
- Evalvid-RA v0.94.
(15.11.2006) Includes fixes for v0.93 tfrc-sink.cc (bug if first packet is
lost in network), and vbr_rateadapt.cc is also modified to cope with
situation where first packet is lost.
- Evalvid-RA v0.93.
(03.11.2006) Includes fixes for v0.92 tcl example file. packet.h is fixed
(DCCP code ref. Luleaa University is removed). Small bugs in tfrc/tfrc-sink
which could cause segmentation fault is fixed. Better instructions for the
pre-process is included in commands.txt. tfrc/tfrc-sink files updated to
latest ns-2 revision (2.30).
- Evalvid-RA v0.92.
(12.09.2006) Includes fixes for v0.91 tcl example file.
- Evalvid-RA v0.91.
(11.09.2006) Includes fixes for v0.9 (#define TFRC in vbr_rateadapt.cc, and
tcl sample file is cleaned up).
- Evalvid-RA v0.9.
(04.09.2006) Includes sample TCL script for ns-2 using TCP friendly rate
control (TFRC).
Authors
- This web page and Evalvid-RA, i.e. modifications of original Evalvid and
ns-2 interface, and rate adaptive SVBR:
Arne Lie, Norwegian
University of Science and Technology, Dept. of Telematics, and SINTEF ICT. 2005-2007.
- Original Evalvid:
Jirka Klaue, Berlin University of Technology. Paper: "EvalVid - A
Framework for Video Transmission and Quality Evaluation", In Proc. of the
13th International Conference on Modelling Techniques and Tools for Computer
Performance Evaluation, Urbana, Illinois, USA, September 2003.
-
Original Evalvid-to-ns-2 interface:
Ke
Chih-Heng.
Web
page.
- Original SVBR:
Maher Hamdi. Paper: M. Hamdi, J. W. Roberts, P.
Rolin, “Rate control for VBR video coders in broad-band networks”, IEEE
Journal on Selected Areas in Communications, Vol. 15 no. 6, 1997.
A list of Evalvid-RA users that has contacted me since 2008. Some of these have also contributed in identifying bugs:
- Ahmad Suki Bin Che Mohamed Arif, Universiti Utara, Malaysia (2009)
- Nazir A. Suhail, Makerere University, Kampala-Uganda (2009)
- Eng. Mohammad Adly, M. Sc., Ministry of Communications and Information Technology (MCIT), Egypt (2009)
- Wei Wang, Beijing University of Posts and Telecommunications (2008)
- Georgios Kioumourtzis, MSc, University of Patras, Greece (2008)
- Palani Kodeswaran (2008)
- Guillermo Diaz Delgado, PhD Student, Telematics Engineering Department, UPC-Campus Nord, Barcelona, Spain (2008)
- Mahmoud Zidan, (2008)
Last edited by Arne Lie:
13.10.2009
Number of web-page accesses since 20th November
2007: