ODR-AudioEnc: VLC input not enabled at compile time!

231 views
Skip to first unread message

Tim Scha

unread,
May 8, 2019, 3:53:46 AM5/8/19
to mmbtools
Hey guys,
i have a problem with ODR-AudioEnc, which I configured with enabled VLC.
I run the following code:

odr-audioenc -v http://radio.bestfm.fm/best_kharkov_mp3 -r 32000 -c 2 -o tcp://localhost:9000 -l -b 72
Welcome to ODR-AudioEnc 2.3.1, compiled at May  7 2019, 09:18:48
  http://opendigitalradio.org 
VLC input not enabled at compile time!

Have you an idea, where the problem is?

Matthias Brändli

unread,
May 8, 2019, 3:56:10 AM5/8/19
to crc-mm...@googlegroups.com
On 08/05/2019 09:53, Tim Scha wrote:
> VLC input not enabled at compile time!
>
> Have you an idea, where the problem is?

Well, then you didn't enable it :-)

Have a look at the configure.log, which should help you understand why
VLC didn't get enabled. If that doesn't help, please send us the
complete configure.log.

mpb

Tim Scha

unread,
May 8, 2019, 4:17:12 AM5/8/19
to mmbtools
I think it is enabled, but maybe its a problem with libvlc?
config.log

Matthias Brändli

unread,
May 8, 2019, 5:58:28 AM5/8/19
to crc-mm...@googlegroups.com
On 08/05/2019 10:17, Tim Scha wrote:
> I think it is enabled, but maybe its a problem with libvlc?

Do you have the -dev packet installed?

If you're on debian or ubuntu, have a look at the dependencies in README.md.

mpb

Tim Scha

unread,
May 9, 2019, 3:14:39 AM5/9/19
to mmbtools
Yes, I have installed: libvlc, libvlc-dev, vlc-nox, vlc-data. I am using Raspbian Stretch.
Maybe it is a problem with the version of libvlc?

Matthias Brändli

unread,
May 9, 2019, 3:28:25 AM5/9/19
to crc-mm...@googlegroups.com
Hi Tim,

I don't understand, your configure.log shows that the HAVE_VLC is set to 1

#define HAVE_VLC 1

and the error message is only shown if that macro isn't defined. It
doesn't make sense to me...

maybe run make distclean to be sure and start over. Or delete and clone
again. I don't have any better idea :-/

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/dd12da70-750d-4941-9c29-f721cb4cd0ab%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/dd12da70-750d-4941-9c29-f721cb4cd0ab%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Tim Scha

unread,
May 9, 2019, 6:48:18 AM5/9/19
to mmbtools
Hi Matthias, 

i deleted it and cloned it again and now this problem is solved, but now there is another error:

sudo odr-audioenc -v /home/pi/Downloads/loop.mp3 -r 48000 -c 2 -o tcp://localhost:9000 -l -b 128
Welcome to ODR-AudioEnc 2.3.1, compiled at May  8 2019, 04:30:10
  http://opendigitalradio.org
Using 16 subchannels. AAC type: AAC-LC. channels=2, sample_rate=48000
AAC bitrate set to: 128000
Bandwidth is 15500
DAB+ Encoding: framelen=960 (3840B)
Initialising VLC...
You are using VLC with size_t size callbacks
Initialising input triggered exception: VLC initialisation failed

Do you have an idea?
Thanks for your help. 

Matthias Brändli

unread,
May 9, 2019, 6:50:57 AM5/9/19
to crc-mm...@googlegroups.com
Reading a file and writing to zeromq won't work, because there's no
throttling. If you want to loop a file, encode it once and loop it in
ODR-DabMux.

Also, please don't run the tools as root, it's not necessary.

mpb

On 09/05/2019 12:46, Tim Scha wrote:
> Hi Mathias, 
>
> i deleted it and cloned it again and now this problem is solved, but now
> there is another error:
>
> sudo odr-audioenc -v /home/pi/Downloads/loop.mp3 -r 48000 -c 2 -o
> tcp://localhost:9000 -l -b 128
> Welcome to ODR-AudioEnc 2.3.1, compiled at May  8 2019, 04:30:10
>   http://opendigitalradio.org
> Using 16 subchannels. AAC type: AAC-LC. channels=2, sample_rate=48000
> AAC bitrate set to: 128000
> Bandwidth is 15500
> DAB+ Encoding: framelen=960 (3840B)
> Initialising VLC...
> You are using VLC with size_t size callbacks
> Initialising input triggered exception: VLC initialisation failed
>
>
> Do you have an idea?
> Thanks for your help. 
>
> --
> 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/23daff0f-9706-42e0-ae00-7ebb3c3e4bc1%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/23daff0f-9706-42e0-ae00-7ebb3c3e4bc1%40googlegroups.com?utm_medium=email&utm_source=footer>.

Tim Scha

unread,
May 9, 2019, 7:02:11 AM5/9/19
to mmbtools
Okay, but e.g. this code

odr-audioenc -b 64 -v /home/pi/Downloads/test.mp3 -o station1.dabp

gets the same error message.

Matthias Brändli

unread,
May 9, 2019, 7:49:21 AM5/9/19
to crc-mm...@googlegroups.com
Then I don't know :-)

You can get more debugging output from libvlc with the --verbose flag.

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/1542febf-16a8-4bfd-aa94-d141bce1bb1b%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/1542febf-16a8-4bfd-aa94-d141bce1bb1b%40googlegroups.com?utm_medium=email&utm_source=footer>.

Francis Hennessy

unread,
Jul 3, 2019, 5:04:38 PM7/3/19
to crc-mm...@googlegroups.com
Hi all I don't know if this should be the right place to post this .but here we go . When my internet connection drops all the streams drop but when it comes back thay do not reconnect .it just days vlc is state 6 .is there any way or command that is not listed to get vlc to keep trying to reconnect  thanks all
Regards .F

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/4d583f4e-ff32-3173-31b7-cd9006e83c36%40mpb.li.

Matthias Brändli

unread,
Jul 4, 2019, 1:42:34 AM7/4/19
to crc-mm...@googlegroups.com
Hi Francis,

This is the right group to ask this, but please create a new discussion
thread if you start a new subject.

The silence detector of odr-audioenc can help you in this case. I've
implemented it because sometimes libvlc creates such surprises...

Cheers
mpb

On 03/07/2019 23:04, Francis Hennessy wrote:
> Hi all I don't know if this should be the right place to post this .but
> here we go . When my internet connection drops all the streams drop but
> when it comes back thay do not reconnect .it just days vlc is state 6
> .is there any way or command that is not listed to get vlc to keep
> trying to reconnect  thanks all
> Regards .F
>
> On Thu 9 May 2019, 12:49 PM 'Matthias Brändli' via mmbtools,
> <crc-mm...@googlegroups.com <mailto:crc-mm...@googlegroups.com>>
> wrote:
>
> Then I don't know :-)
>
> You can get more debugging output from libvlc with the --verbose flag.
>
> mpb
>
> On 09/05/2019 13:02, Tim Scha wrote:
> > Okay, but e.g. this code
> >
> >     odr-audioenc -b 64 -v /home/pi/Downloads/test.mp3 -o station1.dabp
> >
> >
> > gets the same error message.
> >
> > --
> > 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%2Bunsu...@googlegroups.com>
> > <mailto:crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/crc-mmbtools/1542febf-16a8-4bfd-aa94-d141bce1bb1b%40googlegroups.com
> >
> <https://groups.google.com/d/msgid/crc-mmbtools/1542febf-16a8-4bfd-aa94-d141bce1bb1b%40googlegroups.com?utm_medium=email&utm_source=footer>.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> --
> 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/CAE1MabBBmo4p%3DCcP%3D0wLecW73fO5BbGOi-SSOSDMg1x%2BBX8RMQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/crc-mmbtools/CAE1MabBBmo4p%3DCcP%3D0wLecW73fO5BbGOi-SSOSDMg1x%2BBX8RMQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Francis Hennessy

unread,
Jul 4, 2019, 3:51:13 AM7/4/19
to crc-mm...@googlegroups.com
can you give me a example of the command to implement in order for this to work .

regards .Francis


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/23f6b18b-4ceb-32a4-af6c-8c519fc254a5%40mpb.li.
Reply all
Reply to author
Forward
0 new messages