View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Fri Feb 03, 2006 9:54 pm Post subject: Advanced Relaying |
|
|
Hello. I want to relay 10 (or more) streams from one server to another with lower bitrate using only 1(instance) application. To relay each stream separately using a few instances of applications is simple. How about this?
Note: OS is Windows XP. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Feb 04, 2006 12:52 am Post subject: |
|
|
A single icecast can relay multiple streams from different servers if you want. Just make each stream have its own unique mountpoint so that your listeners can reference them.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Sat Feb 04, 2006 7:29 am Post subject: |
|
|
karlH wrote: |
A single icecast can relay multiple streams from different servers if you want. Just make each stream have its own unique mountpoint so that your listeners can reference them.
karl. |
Quote of a Karl's phrase: '... Just make each stream have its own unique mountpoint...'
Each stream with lower bitrate?
Can 10 (or more) streams be reencoded to lower bitrate by 1 instance of 'Icecast server'? (Source of those streams is another server. Each stream looks like 'http://ip:port/mount/')
Note: OS is Windows XP.
Thanks to you Karl for your immediate response. (How much it costs? ) |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Feb 04, 2006 1:54 pm Post subject: |
|
|
reencoding is different from relaying, for reencoding would need to know the details of the format. Something like that requires apps like streamtranscoder to create the lower bitrate stream, which those can then be relayed.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Sat Feb 04, 2006 8:33 pm Post subject: |
|
|
karlH wrote: |
reencoding is different from relaying, for reencoding would need to know the details of the format. Something like that requires apps like streamtranscoder to create the lower bitrate stream, which those can then be relayed.
karl. |
Ok. Let's look at 'Streamtranscoder':
1) Receives a stream from 'http://ip:port/mount';
2) Encodes him with lower bitrate;
3) Sends newly endcoded stream to another 'http://ip:port/mount'; (or another mount)
It works fine with one stream.
The task is:
To execute 1) 2) 3) with 10 (or more) streams using one instance of application like 'Streamtranscoder'.
With 'Streamtranscoder' task can be done by using 10 (or more) instances of 'Streamtranscoder'.
So, the main task is to substitute 10 (or more) instances of 'Streamtranscoder' by 1 (only one instance) of
"Multi-Streamtranscoder".
"Multi-Streamtranscoder" looks like: All functions of 'Streamtranscoder', but he is able to work with a lot of streams simultaneously. With built-in queue (!).
-----------------------------------------------------------------------------------------------
Queue:
- - - ID - - - - - - - - INPUT - - - - - - - - OUTPUT - - - - - - - - - QUALITY - - - - -
[000001] - ip1:port/mount01 - ip2:port/mount01 - reencode to 96 kbps
[000002] - ip1:port/mount02 - ip2:port/mount02 - reencode to 256 kbps
[000003] - ip1:port/mount03 - ip2:port/mount03 - keep original quality
[000004] - ip1:port/mount04 - ip2:port/mount04 - reencode to 24 kbps
[000005] - ip1:port/mount05 - ip2:port/mount05 - resample to 20050 Hz
[000006] - ip1:port/mount06 - ip2:port/mount06 - keep original quality
[000007] - ip1:port/mount07 - ip2:port/mount07 - reencode to 64 kbps
[000008] - ip1:port/mount08 - ip2:port/mount08 - resample to 44000 Hz
[000009] - ip1:port/mount09 - ip2:port/mount09 - reencode to 128 kbps
[000010] - ip1:port/mount10 - ip2:port/mount10 - resample to 22050 Hz
- - - ... - - - - - - - - - - ...- - - - - - - - - - - - ... - - - - - - - - - - - - - - ... - - - - - - -
[451400] etc...
-----------------------------------------------------------------------------------------------
IP adresses, ports and mounts of INPUT and OUTPUT can be absolutely different (!).
Is there exists any analog of living in my mind
super-mega-unreal "Multi-streamtranscoder" ?
Note: OS is Windows XP. Format of a streams is MP3. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 05, 2006 1:45 am Post subject: |
|
|
You can wrap streamtranscoder in the script/program loop if you really want, that won't be a problem. A multi-stream transcoder will have the same issue, as the loop approach, CPU usage. AFAIK no one has made a self contained multi-stream, multi-server, mult-format transcoder application. Usually people use a source client to create multiple streams from the original source material, rather than use transcoding.
karl. |
|
Back to top |
|
|
|