Stereo Tool
https://forums.stereotool.com/

Stereo Tool 7.43 BETA
https://forums.stereotool.com/viewtopic.php?t=5581
Page 3 of 19

Author:  radio700 [ Wed May 28, 2014 12:08 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

I used this:

--sout=#transcode{vcodec=none,acodec=mp3,ab=200,channels=2,samplerate=44100}:std{access=http,mux=raw,dst=127.0.0.1:8080}

Then i fed the ST with 1 kHz Sine and i got a real fence with 1..15kHz like square-wave...

This is how it sounds: http://picosong.com/CdM6

Author:  hvz [ Wed May 28, 2014 12:14 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Quote:
--sout=#transcode{vcodec=none,acodec=mp3,ab=200,channels=2,samplerate=44100}:std{access=http,mux=raw,dst=127.0.0.1:8080}
Ah, I was interested in the Shoutcast line. Mainly if you removed the : and put -- at the start etc, and what you did with the :sout-keep.
Quote:
Then i fed the ST with 1 kHz Sine and i got a real fence with 1..15kHz like square-wave...
Hm, ok... I tried a normal stream (so no test sounds like this) and played it on my laptop speakers (going to my office now, but I was still at home), based on what you wrote I thought I would only hear a big mess... It's very well possible that the resampler in VLC is bad, I don't know.

Author:  radio700 [ Wed May 28, 2014 12:23 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

It was
Quote:
--sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=48000}:std{access=shout,mux=ogg,dst=source:xxxxxxxxxxx@172.20.11.120:8000/test} :sout-keep
as well as
Quote:
:sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=48000}:std{access=shout,mux=ogg,dst=source:xxxxxxxxxxx@172.20.11.120:8000/test} --sout-keep
Both made a connection to Icecast, but no flowing data. I can provide you a public Icecast Server if you need one for testing. As far as I know was shoutcast streaming removed from VLC due to licensing issues.

Author:  hvz [ Wed May 28, 2014 12:57 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Quote:
It was
Quote:
--sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=48000}:std{access=shout,mux=ogg,dst=source:xxxxxxxxxxx@172.20.11.120:8000/test} :sout-keep
as well as
Quote:
:sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=48000}:std{access=shout,mux=ogg,dst=source:xxxxxxxxxxx@172.20.11.120:8000/test} --sout-keep
Both made a connection to Icecast, but no flowing data. I can provide you a public Icecast Server if you need one for testing. As far as I know was shoutcast streaming removed from VLC due to licensing issues.
But you said it works in the stand alone VLC version, so that can't be it.

--sout-keep should NOT be in the sout-string. It's probably a good thing to add to the settings, but you should not specify it in the VLC SOUT line in Stereo Tool.

So try:
Code:
--sout=#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=48000}:std{access=shout,mux=ogg,dst=source:xxxxxxxxxxx@172.20.11.120:8000/test}
If that also doesn't work, a public server for testing would be useful... (PM me)

Author:  hvz [ Wed May 28, 2014 1:06 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Maybe this info is useful. I call VLC with the following settings:
Code:
            "-I", "dummy", // Don't use any interface
            "--ignore-config", // Don't use VLC's config
            "--imem-get=xxxxxxxxx",
            "--imem-release=xxxxxxxxx",
            "--imem-data=xxxxxxxx",
            "--imem-cat=1", // Audio
            "--imem-codec=s16l", (16 bit audio, I'll change it to 32 bit float later)
            "--imem-channels=2",
            "--imem-samplerate=44100", // (or 48000, or ...)
            "--imem-id=1", // not used
            "--imem-cookie=aCookie", // not used
            sout, // string typed in Stereo Tool!
            "--sout-keep" // Just added that (will be in the next build)

Author:  radio700 [ Wed May 28, 2014 1:44 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

It just won't run. Do I need a special version of VLC?
My one is 2.1.3

Author:  hvz [ Wed May 28, 2014 2:05 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Quote:
It just won't run. Do I need a special version of VLC?
My one is 2.1.3
If it works in VLC, it should work from Stereo Tool as well. Version *should* not matter.

Author:  hvz [ Wed May 28, 2014 2:56 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Aaah! I have it working now! VLC by default outputs ogg-streams to Shoutcast. If you specify MP3 in the SOUT line it goes wrong.

This works:
--sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:std{access=shout,mux=ogg,dst=user:pass@url:port/access}

Alternatively, in VLC you can configure it to use MP3 instead - I'll have to figure out how to do that from Stereo Tool.

Author:  hvz [ Wed May 28, 2014 4:30 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

By the way, I do get a lot of hangups when I disable or stop output streaming - I found that the easiest way to set this up is by typing the SOUT string in the .ini or .sts file directly, or by typing it in Stereo Tool and then minimizing (NOT closing because that hangs) Stereo Tool so the settings are written to disk.

The cause of this is known (many people complain about this when using libVlc), the solution is also known but I still have to implement it.

Author:  hvz [ Wed May 28, 2014 6:26 pm ]
Post subject:  Re: Stereo Tool 7.43 BETA

Ah:
Code:
 IceCAST output
      --sout-shout-name=<string> Stream name
          Name to give to this stream/channel on the shoutcast/icecast server.
      --sout-shout-description=<string>
                                 Stream description
          Description of the stream content or information about your channel.
      --sout-shout-mp3, --no-sout-shout-mp3
                                 Stream MP3 (default disabled)
          You normally have to feed the shoutcast module with Ogg streams. It
          is also possible to stream MP3 instead, so you can forward MP3
          streams to the shoutcast/icecast server. (default disabled)
      --sout-shout-genre=<string>
                                 Genre description
          Genre of the content. 
      --sout-shout-url=<string>  URL description
          URL with information about the stream or your channel. 
      --sout-shout-bitrate=<string>
                                 Bitrate
          Bitrate information of the transcoded stream. 
      --sout-shout-samplerate=<string>
                                 Samplerate
          Samplerate information of the transcoded stream. 
      --sout-shout-channels=<string>
                                 Number of channels
          Number of channels information of the transcoded stream. 
      --sout-shout-quality=<string>
                                 Ogg Vorbis Quality
          Ogg Vorbis Quality information of the transcoded stream. 
      --sout-shout-public, --no-sout-shout-public
                                 Stream public (default disabled)
          Make the server publicly available on the 'Yellow Pages' (directory
          listing of streams) on the icecast/shoutcast website. Requires the
          bitrate information specified for shoutcast. Requires Ogg streaming
          for icecast. (default disabled)
So with --sout-shout-mp3 MP3 streaming should be possible. And with those other settings I can set the Shoutcast description texts.

Actually I see so many options (see https://wiki.videolan.org/VLC_command-line_help ) that I'm now wondering if I shouldn't just make a field where you can fill in any options you like (FEEDBACK ABOUT THIS WELCOME!). For both input (people have already asked about RTP support, and there are lots of options for that as well) and for output.

But I think I should first focus on the hangups and other reported issues to make things work properly.

Page 3 of 19 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/