Questions tagged [multiplexing]

In telecommunications and computer networks, multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.

In telecommunications and computer networks, multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.

The aim is to share an expensive resource. For example, in telecommunications, several telephone calls may be carried using one wire. Multiplexing originated in telegraphy in the 1870s, and is now widely applied in communications.

In telephony, George Owen Squier is credited with the development of telephone carrier multiplexing in 1910.

243 questions
5
votes
2 answers

Why is threading works on a single core CPU?

To better understand Threading in Java, I wrote the following code public class SimpleRunnableTest { public static void main(String[] args) throws InterruptedException { long start = System.currentTimeMillis(); Thread t1 = new…
Will
  • 539
  • 2
  • 8
  • 18
5
votes
1 answer

How to detach program from terminal and to attach it back?

I am working on an embedded project, where I need a program without external dependencies that works like screen or tmux. These two programs are not good because they need other libraries. Since I only need to detach a program, being able to log-out…
Ottavio Campana
  • 4,088
  • 5
  • 31
  • 58
4
votes
1 answer

Where is the SPI multiplexer of my dreams?

Consider you have an SPI bus with only a single chip select. Is there a chip such that I can connect 8 or more devices to that SPI bus? To simplify things, you may assume that all devices agree on the SPI mode (data needs to be valid on a rising…
Sven
  • 1,364
  • 2
  • 17
  • 19
4
votes
1 answer

Does passing data through multiple UDP ports increase performance

I'm currently implementing reliable UDP transport inspired by KCP, Dragonite, and QUIC just in self-education purpose. I want to apply several optimizations, one of which is multiplexing. My idea is: I split data into small chunks (chunk size is…
4
votes
1 answer

HTTP/2 streams vs HTTP/1.1 connections

If we disregard the overhead of new connection creation in HTTP/1.1, is there any cases where connections perform better than HTTP/2 streams? I conducted some performance tests for page load times and I noticed that HTTP/1.1(https) performs better…
4
votes
1 answer

How to multiplex Vorbis and Theora streams using libogg

I am currently writing a simple Theora video encoder, which uses libogg, libvorbis and libtheora. Currently, I can submit frames to the Theora encoder, and PCM samples to the Vorbis encoder, pass the resulting packets to Ogg streams (one for Theora…
Thalex
  • 479
  • 3
  • 7
4
votes
1 answer

PTS and DTS calculation for video and audio frames

I am receiving video H264 encoded data and audio G.711 PCM encoded data from two different threads to mux / write into mov multimedia container. The writer function signatures are like: bool WriteAudio(const unsigned char *pEncodedData, size_t…
Kaidul
  • 15,409
  • 15
  • 81
  • 150
4
votes
1 answer

How to disable Multiplexing with Socket.io

I am using Socket.io to stream live tweets to my users using Twitter's Streaming API (my implementation is more or less based on this tutorial). The problem is that every time a connection event is fired by Socket.io the newly connected client…
user1907342
  • 41
  • 1
  • 2
4
votes
3 answers

Coding Theory in PHP: Need to direct traffic for multiple queues (multiplexing)

I am putting together an interface for our employees to upload a list of products for which they need industry stat's (currently doing 'em manually one at a time). Each product will then be served up to our stat's engine via a webservice api. I will…
mOrloff
  • 2,547
  • 4
  • 29
  • 48
4
votes
2 answers

ffmpeg for screen capture?

So I have an Applet that captures the screen, and sound from the computer's microphone, the screenshots are then encoded to ScreenVideo2, and the sound is encoded to AAC. How can I use ffmpeg to mux this, frame by frame, and then send the muxed…
RicardoE
  • 1,665
  • 6
  • 24
  • 42
3
votes
1 answer

How can I tell if HTTP2.0 requests are being multiplexed?

I have an nginx server configured to use HTTP2. Hosted on that server is some javascript that has the browser send a series of concurrent fetch() requests. The network tab in my browser shows them all starting at roughly the same time, but I'm…
tehryan
  • 53
  • 3
3
votes
3 answers

How to read jpos QMUX key field programmatically?

For some reason, I want to read the key I have set inside the QMUX config file (20_client_mux.xml) with 37.I could not find any way from jpos itself, so I am using the below code to get things done. I want to do it without using…
Sanjok
  • 341
  • 1
  • 9
3
votes
1 answer

Chisel function for mux with more than two inputs

What single function can I use in chisel to represent a multiplexer with more than two inputs (choices)? MuxLookup()?
3
votes
1 answer

HTTP2 multi request/response over single tcp connection

just want to know that how could or where we can check multiple request/response over single tcp connection in http2....i mean practically. Thanks in advance
beginer1
  • 31
  • 1
3
votes
1 answer

How to work around open files limit when demuxing files?

I frequently have large text files (10-100GB decompressed) to demultiplex based on barcodes in each line, where in practice the number of resulting individual files (unique barcodes) is between 1K and 20K. I've been using awk for this and it…
merv
  • 67,214
  • 13
  • 180
  • 245
1 2
3
16 17