When using DirectShow and Haali Media Splitter to playback MPEG4 or MKV videos encoded in H264, picture can be distorted or "scrambled".
Based on the electronic time-table solution (WebUntis) for schools from an Austrian company (http://www.grupet.at), we implemented a 3D digital signage display of the time-table of our school, controllable via Kinect.
The basis for data acquisition is a JSON-RPC-API from WebUntis, for which we developed a Java interface for use with the 3D display application.
Credits: Johannes Grünberger, Thomas Hasl, Theodor Seiser
JackAudio is a low latency audio connection software, that can transmit audio data via TCP/IP network connections. Setup is somewhat crucial for "first timers". I hope that this post can help over the standard pitfalls.
- Download and Install JackAudio
- Download JACK2 installer for Your OS
- Install JACK
- Setup JACK Master
- Launch Jack Control Application (as Administrator)
- Configure Jack according to the following settings
- Start Jack using the "Start"-Button in the Jack Control GUI
- Run an elevated command prompt (as Administrator), change to the Program Files/Jack directory and run the following command:
jack_load netmanagerYou can optionally bind the netmanager to an IP-Address using:
jack_load netmanager -i "-a [IP-Address]"
- Setup the JACK Slave on another computer
- From the command line enter the following:
jackd -R -d net -a 192.168.0.1Note that the IP-Address must match the IP from the step before.
- From the command line enter the following:
Using ASIO-Software, Jack publishes a "JackRouter" virtual driver that can be used to stream audio data through the network channel. Within the directory "C:\Program Files (x86)\Jack\32bits" there is a file called "Jackrouter,ini" which lets you configure input and output channels of the virtual sound driver.
During an ongoing programming project in our school, I developed a multichannel ASIO-DirectShow filter. This filter provides ASIO multichannel output for any DirectShow source in Windows.
The filter can be used with almost any Windows media player that supports user-defined output filters (e.g. Media Player Classic, The Core Media Player, Zoom Player, RadLight, WinAmp, etc.).
- Dynamic ASIO-Driver Selection
- Supports up to 24 output channels
- Waveformat conversion and detection
- Mono, Stereo, Surround modes 4.0,4.1,184.108.40.206,6.0,6.1,7.0,7.1
- Sample rates up to 192kHz
- Encoding PCM 16,24,32-Bits and PCM Float
- FFT-Spectrum Analyzer
- Output sample rate selection
- Output volume control for master and separate output channels
- N:N channel mapping (i.e. connect each input channel to arbitrary number of output channels)
- Virtual speaker room (i.e. graphical interface to control volume of each speaker, using 2D-position of user within a virtual room)
- Spatial FFT mapping feature that moves virtual user, and therefore sound based on frequency spectrum
In order to use the Multichannel ASIO Renderer Filter, just download and install the software. Prerequisite is .NET 4.
- Fixed install issues with regasm
- Deleted Mathnet, implemented Vector class
- Modified setup routine
- Fixed bufferlength for multichannel wav
- Modified Pause/Start/Stop reinitialization of ASIO Drivers
- Modified ClearBuffer
- Re-implemented ASIO-output
- Adaptive buffersize
- Fixed sync- and click-issues
- Fixed spectrum viewer
- Included NAudio in Assembly
- Eliminated Sourcegrid - now only one Assembly-DLL
- Smaller footprint
Version 1.66 (10/04/2016):
- Fixed synchronization
Version 1.67 (10/10/2016):
- Fixed small bug in virtual speakerroom
Version 1.70 (10/14/2016):
- Fixed small channel-mapping grid problem
Version 1.72 (10/28/2016):
- Timestamp-based synchronization
- Remember speakerroom settings
- Modified ASIO driver initialization
Version 1.76 (12/03/2016):
- Fixed bug where renderer crashed when switching drivers
- Changed registry key to HKCU/Software
- Fixed bug in channel mapping grid with channel names
Version 1.80 (12/19/2016):
- Fixed serious memory leak in renderer
- Improved audio output
- Fixed update bug in channel mapping grid
Version 1.81 (12/22/2016):
- Fixed channel grid update bug when changing channels while displaying mapping
Version 1.91 (01/02/2017):
- Fixed driver initialization
- Fixed registry entries for channel mapping and driver selection
Fixed registry save and load
Version 1.94 (01/08/2017):
- Updated to audio library
- Modified driver initialization
- Fixed bug in audio buffering
- Added output samplerate selection
Version 1.95 (01/12/2017):
- Modified Pause function
Version 1.96 (01/18/2017):
- Fixed issue with default driver selection
- Fixed concurrency issue in buffering
Version 1.98 (01/24/2017):
- Fixed renderer disposal problem
- Fixed memory leaks when renderer is removed from filter graph
Version 1.99 (02/23/2017):
- Fixed compatibility with other player (KMPlayer, PotPlayer, etc.)
- Fixed problem with speaker names
- Reworked memory management
Version 2.00 (02/27/2017):
- Fixed volume issue
- Fixed issue in PotPlayer
LICENSING: Through donations, you are eligible to use this software for private, non-commercial purposes. If you intend to sell, include or distribute this software in connection or packaged with or within a commercial product, please contact the author for commercial licensing at: email@example.com
PLEASE -DONATE- before using the software!
|Download from Softonic|
|Download from Videohelp.com|
|Download from Softpedia|
|Download from download.com|
Please donate between $5 and $10 if you are using the software. Thank you!
Additional Links on this topic:
The basic function, that takes a linear value in the range of [0;1] and converts to a exponential value can be denoted as:
Note, that this function ranges from 0 up to 10 on the vertical axis. The inverse function can be denoted as the logarithmic function with base 10:
In order to apply the correct ranges, we need to shift the values of x in both functions. Thus, we can rewrite $f(x)$ as:
For the logarithmic function, we write:
Using these formulae, we can convert volumes within the linear ranges from 0.0 to 1.0 to logarithmic values between -10000 and 0 and vice versa.