libmad error: bad main_data_begin pointer

827 views
Skip to first unread message

Colin Dexter

unread,
Feb 24, 2017, 3:41:04 AM2/24/17
to mmbtools


/usr/local/bin/odr-audioenc --dab --vlc-uri=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p -b 128 -r 48000 -o tcp://127.0.0.1:9004 --pad=58 --pad-fifo=/home/odr/config/mot/encoder1.pad --write-icy-text=/home/odr/config/mot/encoder1.txt


give an error libmad error: bad main_data_begin pointer. May I ignore this error or is this a really problem.


Because when I try to play the stream it looks also not good. I get:


cvlc http://ice.stream.frequence3.net/frequence3-128.mp3
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[00000000004ea930] core interface error: no suitable interface module
[0000000000415130] core libvlc error: interface "globalhotkeys,none" initialization failed
[00000000004ea930] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[00000000004ea930] core interface error: no suitable interface module
[0000000000415130] core libvlc error: interface "dbus,none" initialization failed
[00000000004ea930] dummy interface: using the dummy interface module...
[0000007fa8000e50] http access: Raw-audio server found, mp3 demuxer selected
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
[00000000004dbe60] alsa audio output error: cannot open ALSA device "default": No such file or directory
[00000000004dbe60] core audio output error: Audio output failed
[00000000004dbe60] core audio output error: The audio device "default" could not be used:
No such file or directory.
[00000000004dbe60] core audio output error: module not functional
[0000007fa8c1b7e0] core decoder error: failed to create audio output

 

 

 

 

Matthias Brändli

unread,
Feb 24, 2017, 6:08:32 AM2/24/17
to crc-mm...@googlegroups.com
That error happens on many mp3 streams, it works even when this is shown.

Your second questions seems to be totally unrelated to your first one.
(cvlc versus odr-audioenc, another stream source, an error due to ALSA
audio output. Do you have a working soundcard?)

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>.
> For more options, visit https://groups.google.com/d/optout.

Colin Dexter

unread,
Feb 24, 2017, 7:25:11 AM2/24/17
to mmbtools, matthias...@mpb.li
Euh, no there is no souncard in it.

But so this error is not a problem. Beautiful then I can proceed to install



Op vrijdag 24 februari 2017 12:08:32 UTC+1 schreef Matthias Brändli:
Reply all
Reply to author
Forward
0 new messages