odr-audioenc vlc transcoding and gain change

234 views
Skip to first unread message

Markus B.

unread,
Jun 25, 2020, 1:02:51 PM6/25/20
to mmbtools
Hello,
possible there is another topic about this, but gain change with vlc transcoding in odr-audioenc wasn't work in my environment after 3 days testing.

odr-audioenc --vlc-uri=http://xyz.cast.addradio.de/xyz/simulcast/high/stream.mp3 --bitrate=72 --sbr -V -L --audio-resampler=samplerate -L --src-converter-type=1 -L --gain=4 --edi=tcp://localhost:7005

With -L --gain=4 nothing changes. Also nothing changes with
-L --audio-filter=gain -L --gain=4
-L --audio-replay-gain-default=-20
-L --audio-replay-gain-preamp=-20
-L --volume-step=20

The verbose option lists the parameter, but you can't hear any difference:

Initialising VLC...
You are using VLC with size_t size callbacks
Initialising VLC with options:
  --verbose=1
  --audio-resampler=samplerate
  --src-converter-type=1
  --gain=4
Setting VLC media option: :sout=#transcode{acodec=fl32,samplerate=48000}:smem{audio-postrender-callback=140168,audio-prerender-callback=137408,audio-data=13095756}

Has anybody any idea? Many thanks,
Markus

Nick Piggott

unread,
Jun 30, 2020, 6:40:34 AM6/30/20
to mmbtools
Hi Markus

Have you tried the native --vlc-gain switch?

odr-audioenc --vlc-uri=http://xyz.cast.addradio.de/xyz/simulcast/high/stream.mp3 --vlc-gain=4 --bitrate=72 --sbr -V -L --audio-resampler=samplerate -L --src-converter-type=1 --edi=tcp://localhost:7005  

That's working for me on my production versions (2.6.1)

Nick
Message has been deleted

Markus B.

unread,
Jul 5, 2020, 11:33:18 AM7/5/20
to mmbtools

Hello Nick,

with the native --vlc-gain switch you only can increase the volume, but I want to decrease the volume. The switch will not work with volumes like 0.1 or -4 or something else.

Markus

Matthias Brändli

unread,
Jul 6, 2020, 3:33:29 AM7/6/20
to crc-mm...@googlegroups.com
Hi Markus,

negative values for --vlc-gain should work fine, they are forwarded to
VLC using its --compressor-makeup setting.

mpb
> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/crc-mmbtools/9da8f53c-ee29-48de-b7ab-61329d16b0f1o%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/9da8f53c-ee29-48de-b7ab-61329d16b0f1o%40googlegroups.com?utm_medium=email&utm_source=footer>.

Nick Piggott

unread,
Jul 6, 2020, 3:57:43 AM7/6/20
to mmbtools
Hello,

I can confirm that negative values of --vlc-gain= do work on odr-audioenc v 2.6.1

Nick


To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crc-mmbtools/5ed14057-0cb4-d252-6228-2b1fb428919a%40mpb.li.


--
Nick

Markus B.

unread,
Jul 6, 2020, 12:36:37 PM7/6/20
to mmbtools

Hello Matthias, hello Nick,
it is not working for me. Please see the output:
   Bandwidth is 10125
   DAB+ Encoding: framelen=1920 (7680B)

   Initialising VLC...
   You are using VLC with size_t size callbacks
   Initialising VLC with options:
     --verbose=1
     --compressor-makeup=-4
     --audio-resampler=samplerate
     --src-converter-type=1
I'm using ODR-AudioEnc 2.6.0 and VLC media player 3.0.8 Vetinari.
With cvlc -H you can see the vlc option has changed to --compressor-makup-gain= . But is isn't working, too.

Many thanks
Markus

Markus B.

unread,
Aug 7, 2020, 8:30:27 AM8/7/20
to mmbtools

Hello,
I have testet the gain change on 2 other systems. But it is the same problem. The gain only can changed to more - not to less.

Markus 
Reply all
Reply to author
Forward
0 new messages