Help again please! - Core dumps with new vlc toolame

504 views
Skip to first unread message

radiohead319

unread,
Apr 10, 2015, 8:32:45 AM4/10/15
to crc-mm...@googlegroups.com
Can anyone help me again?!   If I ever master the basics of encoding a live source I hope to turn into a net contributer to this forum by examining the impact of different gains and filters on RF signal purity.

Even after setting my default soundcard sample rate to 48k, I never fixed the fast/dropout audio problem using mpg123 - so as Clarkerz suggested I dropped that solution and opted for the new toolame with vlc support.

However it just buffers to 99% and then segmentation fault and core dumps.   This is on a Dell laptop running Ubuntu 14.04.  Same result with firfilter enabled or disabled (I understand it was a problem before).  This is what I did and the results:

sudo dpkg -i toolame-dab_0.0.1-6_trusty_amd64.deb

Then to run it I'm using:

toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040 tcp://192.168.1.75:7001

tried it with -m j as well but no difference.

Computer says "no,no,no".  Think I need to go to rehab!  Any ideas anyone?  Thanks.

Initialising VLC...
[0x20ac1e8] main libvlc debug: VLC media player - 2.1.4 Rincewind
[0x20ac1e8] main libvlc debug: Copyright © 1996-2014 the VideoLAN team
[0x20ac1e8] main libvlc debug: revision 2.1.4-0-g2a072be
[0x20ac1e8] main libvlc debug: configured with ./configure  '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=0ubuntu14.04.1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
[0x20ac1e8] main libvlc debug: searching plug-in modules
[0x20ac1e8] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x20ac1e8] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x20ac1e8] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0x20ac1e8] main libvlc debug: plug-ins loaded: 399 modules
[0x20ac1e8] main libvlc debug: translation test: code is "C"
[0x20ac1e8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU 
[0x2169608] main input debug: Creating an input for 'http://sc6.radiocaroline.net:8040'
[0x7f1158000c18] main stream output debug: using sout chain=`transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266816,audio-prerender-callback=4266736}'
[0x7f1158000c18] main stream output debug: stream=`smem'
[0x7f1158001188] main stream out debug: looking for sout stream module matching "smem": 21 candidates
[0x7f1158001188] main stream out debug: set config option: sout-smem-audio-postrender-callback to 4266816
[0x7f1158001188] main stream out debug: set config option: sout-smem-audio-prerender-callback to 4266736
[0x7f1158001188] main stream out debug: using sout stream module "stream_out_smem"
[0x7f1158000c18] main stream output debug: stream=`transcode'
[0x7f1158001e38] main stream out debug: looking for sout stream module matching "transcode": 21 candidates
[0x7f1158001e38] main stream out debug: set config option: sout-transcode-acodec to s16l
[0x7f1158001e38] main stream out debug: set config option: sout-transcode-samplerate to 48000
[0x7f1158001e38] stream_out_transcode stream out debug: codec audio=s16l 48000Hz 0 channels 96Kb/s
[0x7f1158001e38] main stream out debug: using sout stream module "stream_out_transcode"
[0x2169608] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x2169608] main input debug: `http://sc6.radiocaroline.net:8040' gives access `http' demux `' path `sc6.radiocaroline.net:8040'
[0x2169608] main input debug: creating demux: access='http' demux='' location='sc6.radiocaroline.net:8040' file='(null)'
[0x7f1158004808] main demux debug: looking for access_demux module matching "http": 18 candidates
[0x7f1158004808] main demux debug: no access_demux modules matched
[0x2169608] main input debug: creating access 'http' location='sc6.radiocaroline.net:8040', path='(null)'
[0x7f1158004988] main access debug: looking for access module matching "http": 25 candidates
[0x7f1158004988] access_http access debug: querying proxy for http://sc6.radiocaroline.net:8040
--------------------------------------------
Input VLC
      URI http://sc6.radiocaroline.net:8040
Output File: 'tcp://192.168.1.75:7001'
192 kbps MPEG-1 Layer II stereo Psycho model=1  (Mode_Extension=0)
[De-emph:Off    Copyright:No    Original:No    CRC:On]
[Padding:Normal    Byte-swap:Off    Chanswap:Off    DAB:On]
ATH adjustment 0.000000
--------------------------------------------
encode_init: using tablenum 0 with sblimit 27
[0x7f1158004988] access_http access debug: no proxy
[0x7f1158004988] access_http access debug: http: server='sc6.radiocaroline.net' port=8040 file=''
[0x7f1158004988] main access debug: net: connecting to sc6.radiocaroline.net port 8040
[0x7f1158004988] main access debug: connection succeeded (socket = 11)
[0x7f1158004988] access_http access debug: protocol 'ICY' answer code 200
[0x7f1158004988] access_http access debug: Icy-Notice: <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
[0x7f1158004988] access_http access debug: Icy-Notice: SHOUTcast Distributed Network Audio Server/win32 v1.9.8<BR>
[0x7f1158004988] access_http access debug: Icy-Name: Radio Caroline
[0x7f1158004988] access_http access debug: Icy-Genre: Various
[0x7f1158004988] access_http access debug: Meta-Info: icy-url: http://www.radiocaroline.co.uk
[0x7f1158004988] access_http access debug: Content-Type: audio/mpeg
[0x7f1158004988] access_http access debug: Meta-Info: icy-pub: 1
[0x7f1158004988] access_http access debug: Icy-MetaInt: 8192
[0x7f1158004988] access_http access warning: ICY metaint=8192
[0x7f1158004988] access_http access debug: Meta-Info: icy-br: 128
[0x7f1158004988] access_http access: Raw-audio server found, mp3 demuxer selected
[0x7f1158004988] access_http access debug: auto re-connect enabled
[0x7f1158004988] main access debug: using access module "access_http"
[0x7f1158009878] main stream debug: Using stream method for AStream*
[0x7f1158009878] main stream debug: starting pre-buffering
[0x7f1158009878] main stream debug: received first data after 0 ms
[0x7f1158009878] main stream debug: pre-buffering done 1024 bytes in 0s - 27027 KiB/s
[0x7f1158009c78] main stream debug: looking for stream_filter module matching "any": 9 candidates
[0x7f1158009c78] main stream debug: no stream_filter modules matched
[0x7f1158009c78] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x7f1158009c78] main stream debug: using stream_filter module "record"
[0x2169608] main input debug: creating demux: access='http' demux='mp3' location='sc6.radiocaroline.net:8040' file='(null)'
[0x7f115800df08] main demux debug: looking for demux module matching "mp3": 63 candidates
[0x7f115800df08] es demux debug: detected format mpga
[0x7f115800e888] main demux packetizer debug: looking for packetizer module matching "any": 21 candidates
[0x7f115800e888] main demux packetizer debug: using packetizer module "mpeg_audio"
[0x7f115800e888] mpeg_audio demux packetizer debug: MPGA channels:2 samplerate:44100 bitrate:128
[0x2169608] main input debug: selecting program id=0
[0x7f115800df08] main demux debug: using demux module "es"
[0x7f115801a1b8] main decoder debug: looking for packetizer module matching "any": 21 candidates
[0x7f115801a1b8] main decoder debug: using packetizer module "mpeg_audio"
[0x2169608] main input debug: starting in async mode
[0x7f115801ad98] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0x7f115801ad98] lua demux meta debug: Trying Lua scripts in /home/abc/.local/share/vlc/lua/meta/reader
[0x7f115801ad98] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x7f115801ad98] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x7f115801ad98] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x7f115801ad98] main demux meta debug: no meta reader modules matched
[0x2169608] main input debug: `http://sc6.radiocaroline.net:8040' successfully opened
[0x2169608] main input debug: Buffering 0%
[0x2169608] main input debug: switching to sync mode
[0x2169608] main input debug: Buffering 2%
[0x7f115801a1b8] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128
[0x2169608] main input debug: Buffering 5%
[0x7f1158000c18] main stream output debug: adding a new sout input (sout_input:0x7f1144000b20)
[0x2169608] main input debug: Buffering 7%
[0x7f1158001e38] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`s16l'
[0x2169608] main input debug: Buffering 10%
[0x2169608] main input debug: Buffering 13%
[0x2169608] main input debug: Buffering 15%
[0x2169608] main input debug: Buffering 18%
[0x7f1144000c28] main generic debug: looking for decoder module matching "any": 38 candidates
[0x2169608] main input debug: Buffering 20%
[0x2169608] main input debug: Buffering 23%
[0x2169608] main input debug: Buffering 26%
[0x2169608] main input debug: Buffering 28%
[0x2169608] main input debug: Buffering 31%
[0x2169608] main input debug: Buffering 33%
[0x2169608] main input debug: Buffering 36%
[0x2169608] main input debug: Buffering 39%
[0x2169608] main input debug: Buffering 41%
[0x7f1144000c28] main generic debug: using decoder module "mpeg_audio"
[0x7f1144001078] main encoder debug: looking for encoder module matching "any": 17 candidates
[0x7f1144001078] araw encoder debug: samplerate:48000Hz channels:2 bits/sample:16
[0x7f1144001078] main encoder debug: using encoder module "araw"
[0x7f1158001e38] main stream out debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
[0x7f1158001e38] main stream out debug: conversion: 'mpga'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
[0x7f11440097c8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7f11440097c8] main audio converter debug: no audio converter modules matched
[0x7f11440097c8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7f11440097c8] mpgatofixed32 audio converter debug: mpga->f32l, bits per sample: 32
[0x7f11440097c8] main audio converter debug: using audio converter module "mpgatofixed32"
[0x7f11440156f8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7f11440156f8] audio_format audio converter debug: f32l->s16l, bits per sample: 32->16
[0x7f11440156f8] main audio converter debug: using audio converter module "audio_format"
[0x7f1158001e38] main stream out debug: conversion pipeline complete
[0x7f1144015ae8] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[0x7f1144015ae8] main audio resampler debug: using audio resampler module "ugly_resampler"
[0x7f1158004988] access_http access debug: New Title=Radio Caroline - Real People | Real Music - www.radiocaroline.co.uk (11:33)
[0x2169608] main input debug: Buffering 44%
[0x2169608] main input debug: Buffering 47%
[0x2169608] main input debug: Buffering 49%
[0x2169608] main input debug: Buffering 52%
[0x2169608] main input debug: Buffering 54%
[0x2169608] main input debug: Buffering 57%
[0x2169608] main input debug: Buffering 60%
[0x2169608] main input debug: Buffering 62%
[0x2169608] main input debug: Buffering 65%
[0x2169608] main input debug: Buffering 67%
[0x2169608] main input debug: Buffering 70%
[0x2169608] main input debug: Buffering 73%
[0x2169608] main input debug: Buffering 75%
[0x2169608] main input debug: Buffering 78%
[0x2169608] main input debug: Buffering 80%
[0x2169608] main input debug: Buffering 83%
[0x2169608] main input debug: Buffering 86%
[0x2169608] main input debug: Buffering 88%
[0x2169608] main input debug: Buffering 91%
[0x2169608] main input debug: Buffering 94%
[0x2169608] main input debug: Buffering 96%
[0x2169608] main input debug: Buffering 99%
[0x2169608] main input debug: Stream buffering done (1018 ms in 354 ms)
[0x2169608] main input debug: Decoder buffering done in 0 ms
[0x7f1144000c28] mpeg_audio generic debug: MPGA channels:2 samplerate:44100 bitrate:128
Segmentation fault (core dumped)
abc@ABC:~/DAB/DAB3$

Matthias Brändli

unread,
Apr 10, 2015, 8:53:02 AM4/10/15
to crc-mm...@googlegroups.com
Can you run it through gdb and give me a backtrace ?

gdb --args toolame <insert your toolame options here>

then launch toolame inside gdb by typing the "run" command.

It should break at the segmentation fault and show you the gdb prompt,
at which point you have to type the "bt" command to display the backtrace.

mpb

On 10. 04. 15 14:32, radiohead319 wrote:
> Can anyone help me again?! If I ever master the basics of encoding a
> live source I hope to turn into a net contributer to this forum by
> examining the impact of different gains and filters on RF signal purity.
>
> Even after setting my default soundcard sample rate to 48k, I never
> fixed the fast/dropout audio problem using mpg123 - so as Clarkerz
> suggested I dropped that solution and opted for the new toolame with vlc
> support.
>
> However it just buffers to 99% and then segmentation fault and core
> dumps. This is on a Dell laptop running Ubuntu 14.04. Same result
> with firfilter enabled or disabled (I understand it was a problem
> before). This is what I did and the results:
>
> sudo dpkg -i toolame-dab_0.0.1-6_trusty_amd64.deb
>
> Then to run it I'm using:
>
> toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
> <http://192.168.1.75:7001/>
> 'http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> <http://sc6.radiocaroline.net:8040/>' gives access `http' demux `' path
> `sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> [0x2169608] main input debug: creating demux: access='http' demux=''
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> [0x7f1158004808] main demux debug: looking for access_demux module
> matching "http": 18 candidates
> [0x7f1158004808] main demux debug: no access_demux modules matched
> [0x2169608] main input debug: creating access 'http'
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>', path='(null)'
> [0x7f1158004988] main access debug: looking for access module matching
> "http": 25 candidates
> [0x7f1158004988] access_http access debug: querying proxy
> for http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>
> --------------------------------------------
> Input VLC
> URI http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>
> Output File: 'tcp://192.168.1.75:7001 <http://192.168.1.75:7001/>'
> 192 kbps MPEG-1 Layer II stereo Psycho model=1 (Mode_Extension=0)
> [De-emph:Off Copyright:No Original:No CRC:On]
> [Padding:Normal Byte-swap:Off Chanswap:Off DAB:On]
> ATH adjustment 0.000000
> --------------------------------------------
> encode_init: using tablenum 0 with sblimit 27
> [0x7f1158004988] access_http access debug: no proxy
> [0x7f1158004988] access_http access debug: http:
> server='sc6.radiocaroline.net <http://sc6.radiocaroline.net/>' port=8040
> file=''
> [0x7f1158004988] main access debug: net: connecting
> to sc6.radiocaroline.net <http://sc6.radiocaroline.net/> port 8040
> [0x7f1158004988] main access debug: connection succeeded (socket = 11)
> [0x7f1158004988] access_http access debug: protocol 'ICY' answer code 200
> [0x7f1158004988] access_http access debug: Icy-Notice: <BR>This stream
> requires <a href="http://www.winamp.com/">Winamp</a><BR>
> [0x7f1158004988] access_http access debug: Icy-Notice: SHOUTcast
> Distributed Network Audio Server/win32 v1.9.8<BR>
> [0x7f1158004988] access_http access debug: Icy-Name: Radio Caroline
> [0x7f1158004988] access_http access debug: Icy-Genre: Various
> [0x7f1158004988] access_http access debug: Meta-Info:
> icy-url: http://www.radiocaroline.co.uk <http://www.radiocaroline.co.uk/>
> [0x7f1158004988] access_http access debug: Content-Type: audio/mpeg
> [0x7f1158004988] access_http access debug: Meta-Info: icy-pub: 1
> [0x7f1158004988] access_http access debug: Icy-MetaInt: 8192
> [0x7f1158004988] access_http access warning: ICY metaint=8192
> [0x7f1158004988] access_http access debug: Meta-Info: icy-br: 128
> [0x7f1158004988] access_http access: Raw-audio server found, mp3 demuxer
> selected
> [0x7f1158004988] access_http access debug: auto re-connect enabled
> [0x7f1158004988] main access debug: using access module "access_http"
> [0x7f1158009878] main stream debug: Using stream method for AStream*
> [0x7f1158009878] main stream debug: starting pre-buffering
> [0x7f1158009878] main stream debug: received first data after 0 ms
> [0x7f1158009878] main stream debug: pre-buffering done 1024 bytes in 0s
> - 27027 KiB/s
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "any": 9 candidates
> [0x7f1158009c78] main stream debug: no stream_filter modules matched
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "record": 9 candidates
> [0x7f1158009c78] main stream debug: using stream_filter module "record"
> [0x2169608] main input debug: creating demux: access='http' demux='mp3'
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> <http://sc6.radiocaroline.net:8040/>' successfully opened
> <http://www.radiocaroline.co.uk/> (11:33)
> --
> 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.

Glyn Roylance

unread,
Apr 10, 2015, 9:02:45 AM4/10/15
to crc-mm...@googlegroups.com
Thanks Matthias.  I'm not sure I've done it correctly.  Copy below:

abc@ABC:~$ gdb --args toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from toolame...(no debugging symbols found)...done.
(gdb) > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
abc@ABC:~$ gdp --args toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
No command 'gdp' found, but there are 17 similar ones
gdp: command not found
abc@ABC:~$ > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
bash: syntax error near unexpected token `<'
abc@ABC:~$ > <http://192.168.1.75:7001/^C
abc@ABC:~$ gdb --args  toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from toolame...(no debugging symbols found)...done.
(gdb) > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
abc@ABC:~$ gdb --args toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from toolame...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Initialising VLC...
[0x6471e8] main libvlc debug: VLC media player - 2.1.4 Rincewind
[0x6471e8] main libvlc debug: Copyright © 1996-2014 the VideoLAN team
[0x6471e8] main libvlc debug: revision 2.1.4-0-g2a072be
[0x6471e8] main libvlc debug: configured with ./configure  '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=0ubuntu14.04.1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
[0x6471e8] main libvlc debug: searching plug-in modules
[0x6471e8] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x6471e8] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x6471e8] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0x6471e8] main libvlc debug: plug-ins loaded: 399 modules
[0x6471e8] main libvlc debug: translation test: code is "C"
[0x6471e8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU
[0x704608] main input debug: Creating an input for 'http://sc6.radiocaroline.net:8040'
[New Thread 0x7ffff7fd5700 (LWP 6781)]
[0x7ffff0000c18] main stream output debug: using sout chain=`transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266816,audio-prerender-callback=4266736}'
[0x7ffff0000c18] main stream output debug: stream=`smem'
[0x7ffff0001188] main stream out debug: looking for sout stream module matching "smem": 21 candidates
[0x7ffff0001188] main stream out debug: set config option: sout-smem-audio-postrender-callback to 4266816
[0x7ffff0001188] main stream out debug: set config option: sout-smem-audio-prerender-callback to 4266736
[0x7ffff0001188] main stream out debug: using sout stream module "stream_out_smem"
[0x7ffff0000c18] main stream output debug: stream=`transcode'
[0x7ffff0001e38] main stream out debug: looking for sout stream module matching "transcode": 21 candidates
[0x7ffff0001e38] main stream out debug: set config option: sout-transcode-acodec to s16l
[0x7ffff0001e38] main stream out debug: set config option: sout-transcode-samplerate to 48000
[0x7ffff0001e38] stream_out_transcode stream out debug: codec audio=s16l 48000Hz 0 channels 96Kb/s
[0x7ffff0001e38] main stream out debug: using sout stream module "stream_out_transcode"
[0x704608] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x704608] main input debug: `http://sc6.radiocaroline.net:8040' gives access `http' demux `' path `sc6.radiocaroline.net:8040'
[0x704608] main input debug: creating demux: access='http' demux='' location='sc6.radiocaroline.net:8040' file='(null)'
[0x7ffff0004808] main demux debug: looking for access_demux module matching "http": 18 candidates
[0x7ffff0004808] main demux debug: no access_demux modules matched
[0x704608] main input debug: creating access 'http' location='sc6.radiocaroline.net:8040', path='(null)'
[0x7ffff0004988] main access debug: looking for access module matching "http": 25 candidates
[0x7ffff0004988] access_http access debug: querying proxy for http://sc6.radiocaroline.net:8040
Could not create "http://sc6.radiocaroline.net:8040.mp2".
[Thread 0x7ffff7fd5700 (LWP 6781) exited]
[Inferior 1 (process 6777) exited with code 01]
(gdb) bt
No stack.
(gdb)

To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.

Matthias Brändli

unread,
Apr 10, 2015, 9:06:55 AM4/10/15
to crc-mm...@googlegroups.com
Hi,

you seem to have miscopypasted the command line, because it's
incomplete. I see you did several trials.

I suppose your full command line should be

gdb --args toolame -V -s 48 -m s -b 192
http://sc6.radiocaroline.net:8040 tcp://192.168.1.75:7001

on single line.

mpb

On 10. 04. 15 15:02, Glyn Roylance wrote:
> Thanks Matthias. I'm not sure I've done it correctly. Copy below:
>
> abc@ABC:~$ gdb --args toolame -V -s 48 -m s -b 192
> http://sc6.radiocaroline.net:8040
> GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from toolame...(no debugging symbols found)...done.
> (gdb) > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
> <http://192.168.1.75:7001>
> abc@ABC:~$ gdp --args toolame -V -s 48 -m s -b 192
> http://sc6.radiocaroline.net:8040
> No command 'gdp' found, but there are 17 similar ones
> gdp: command not found
> abc@ABC:~$ > <http://sc6.radiocaroline.net:8040/>
> tcp://192.168.1.75:7001 <http://192.168.1.75:7001>
> bash: syntax error near unexpected token `<'
> abc@ABC:~$ > <http://192.168.1.75:7001/^C
> abc@ABC:~$ gdb --args toolame -V -s 48 -m s -b 192
> http://sc6.radiocaroline.net:8040
> GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from toolame...(no debugging symbols found)...done.
> (gdb) > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
> <http://192.168.1.75:7001>
> <http://sc6.radiocaroline.net:8040>'
> [0x704608] main input debug: creating demux: access='http' demux=''
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040>' file='(null)'
> [0x7ffff0004808] main demux debug: looking for access_demux module
> matching "http": 18 candidates
> [0x7ffff0004808] main demux debug: no access_demux modules matched
> [0x704608] main input debug: creating access 'http'
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040>', path='(null)'
> [0x7ffff0004988] main access debug: looking for access module matching
> "http": 25 candidates
> [0x7ffff0004988] access_http access debug: querying proxy for
> http://sc6.radiocaroline.net:8040
> Could not create "http://sc6.radiocaroline.net:8040.mp2".
> [Thread 0x7ffff7fd5700 (LWP 6781) exited]
> [Inferior 1 (process 6777) exited with code 01]
> (gdb) bt
> No stack.
> (gdb)
>
> On 10 April 2015 at 13:53, Matthias Brändli <matthias...@mpb.li
> <mailto:matthias...@mpb.li>> wrote:
>
> Can you run it through gdb and give me a backtrace ?
>
> gdb --args toolame <insert your toolame options here>
>
> then launch toolame inside gdb by typing the "run" command.
>
> It should break at the segmentation fault and show you the gdb prompt,
> at which point you have to type the "bt" command to display the
> backtrace.
>
> mpb
>
> On 10. 04. 15 14:32, radiohead319 wrote:
> > Can anyone help me again?! If I ever master the basics of encoding a
> > live source I hope to turn into a net contributer to this forum by
> > examining the impact of different gains and filters on RF signal purity.
> >
> > Even after setting my default soundcard sample rate to 48k, I never
> > fixed the fast/dropout audio problem using mpg123 - so as Clarkerz
> > suggested I dropped that solution and opted for the new toolame with vlc
> > support.
> >
> > However it just buffers to 99% and then segmentation fault and core
> > dumps. This is on a Dell laptop running Ubuntu 14.04. Same result
> > with firfilter enabled or disabled (I understand it was a problem
> > before). This is what I did and the results:
> >
> > sudo dpkg -i toolame-dab_0.0.1-6_trusty_amd64.deb
> >
> > Then to run it I'm using:
> >
> > toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
> > <http://sc6.radiocaroline.net:8040/> tcp://192.168.1.75:7001
> <http://192.168.1.75:7001>
> > `sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> <http://sc6.radiocaroline.net:8040/>'
> > [0x2169608] main input debug: creating demux: access='http' demux=''
> > location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> > <http://sc6.radiocaroline.net:8040/>' file='(null)'
> > [0x7f1158004808] main demux debug: looking for access_demux module
> > matching "http": 18 candidates
> > [0x7f1158004808] main demux debug: no access_demux modules matched
> > [0x2169608] main input debug: creating access 'http'
> > location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> > <http://sc6.radiocaroline.net:8040/>', path='(null)'
> > [0x7f1158004988] main access debug: looking for access module matching
> > "http": 25 candidates
> > [0x7f1158004988] access_http access debug: querying proxy
> > for http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>
> > --------------------------------------------
> > Input VLC
> > URI http://sc6.radiocaroline.net:8040
> > <http://sc6.radiocaroline.net:8040/>
> > Output File: 'tcp://192.168.1.75:7001 <http://192.168.1.75:7001>
> > location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> <mailto:crc-mmbtools%2Bunsu...@googlegroups.com>
> > <mailto:crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools%2Bunsu...@googlegroups.com>>.
> > 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>.

Glyn Roylance

unread,
Apr 10, 2015, 9:52:47 AM4/10/15
to crc-mm...@googlegroups.com
Just testing you Matthias to check you were paying attention!  ;-)

I think this is right, in a wrong sort of way....SIGSEGV....

abc@ABC:~$ gdb --args toolame -V -s 48 -m j -b 192 http://sc6.radiocaroline.net:8040 tcp://192.168.1.75:7001

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from toolame...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/toolame -V -s 48 -m j -b 192 http://sc6.radiocaroline.net:8040 tcp://192.168.1.75:7001

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Initialising VLC...
[0x6471e8] main libvlc debug: VLC media player - 2.1.4 Rincewind
[0x6471e8] main libvlc debug: Copyright © 1996-2014 the VideoLAN team
[0x6471e8] main libvlc debug: revision 2.1.4-0-g2a072be
[0x6471e8] main libvlc debug: configured with ./configure  '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=0ubuntu14.04.1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
[0x6471e8] main libvlc debug: searching plug-in modules
[0x6471e8] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x6471e8] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x6471e8] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0x6471e8] main libvlc debug: plug-ins loaded: 399 modules
[0x6471e8] main libvlc debug: translation test: code is "C"
[0x6471e8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU
[0x704608] main input debug: Creating an input for 'http://sc6.radiocaroline.net:8040'
[New Thread 0x7ffff7fd5700 (LWP 6919)]

[0x7ffff0000c18] main stream output debug: using sout chain=`transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266816,audio-prerender-callback=4266736}'
[0x7ffff0000c18] main stream output debug: stream=`smem'
[0x7ffff0001188] main stream out debug: looking for sout stream module matching "smem": 21 candidates
[0x7ffff0001188] main stream out debug: set config option: sout-smem-audio-postrender-callback to 4266816
[0x7ffff0001188] main stream out debug: set config option: sout-smem-audio-prerender-callback to 4266736
[0x7ffff0001188] main stream out debug: using sout stream module "stream_out_smem"
[0x7ffff0000c18] main stream output debug: stream=`transcode'
[0x7ffff0001e38] main stream out debug: looking for sout stream module matching "transcode": 21 candidates
[0x7ffff0001e38] main stream out debug: set config option: sout-transcode-acodec to s16l
[0x7ffff0001e38] main stream out debug: set config option: sout-transcode-samplerate to 48000
[0x7ffff0001e38] stream_out_transcode stream out debug: codec audio=s16l 48000Hz 0 channels 96Kb/s
[0x7ffff0001e38] main stream out debug: using sout stream module "stream_out_transcode"
[0x704608] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x704608] main input debug: `http://sc6.radiocaroline.net:8040' gives access `http' demux `' path `sc6.radiocaroline.net:8040'
[0x704608] main input debug: creating demux: access='http' demux='' location='sc6.radiocaroline.net:8040' file='(null)'

[0x7ffff0004808] main demux debug: looking for access_demux module matching "http": 18 candidates
[0x7ffff0004808] main demux debug: no access_demux modules matched
[0x704608] main input debug: creating access 'http' location='sc6.radiocaroline.net:8040', path='(null)'

[0x7ffff0004988] main access debug: looking for access module matching "http": 25 candidates
[0x7ffff0004988] access_http access debug: querying proxy for http://sc6.radiocaroline.net:8040
[New Thread 0x7ffff4e30700 (LWP 6923)]
[New Thread 0x7fffeffff700 (LWP 6925)]
[0x7ffff0004988] access_http access debug: no proxy
[0x7ffff0004988] access_http access debug: http: server='sc6.radiocaroline.net' port=8040 file=''
[0x7ffff0004988] main access debug: net: connecting to sc6.radiocaroline.net port 8040

--------------------------------------------
Input VLC
      URI http://sc6.radiocaroline.net:8040
Output File: 'tcp://192.168.1.75:7001'
192 kbps MPEG-1 Layer II j-stereo Psy model 1
[De-emph:Off    Copyright:No    Original:No    CRC:On]
[Padding:Normal    Byte-swap:Off    Chanswap:Off    DAB:On]
ATH adjustment 0.000000
--------------------------------------------
encode_init: using tablenum 0 with sblimit 27
[0x7ffff0004988] main access debug: connection succeeded (socket = 11)
[0x7ffff0004988] access_http access debug: protocol 'ICY' answer code 200
[0x7ffff0004988] access_http access debug: Icy-Notice: <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
[0x7ffff0004988] access_http access debug: Icy-Notice: SHOUTcast Distributed Network Audio Server/win32 v1.9.8<BR>
[0x7ffff0004988] access_http access debug: Icy-Name: Radio Caroline
[0x7ffff0004988] access_http access debug: Icy-Genre: Various
[0x7ffff0004988] access_http access debug: Meta-Info: icy-url: http://www.radiocaroline.co.uk
[0x7ffff0004988] access_http access debug: Content-Type: audio/mpeg
[0x7ffff0004988] access_http access debug: Meta-Info: icy-pub: 1
[0x7ffff0004988] access_http access debug: Icy-MetaInt: 8192
[0x7ffff0004988] access_http access warning: ICY metaint=8192
[0x7ffff0004988] access_http access debug: Meta-Info: icy-br: 128
[0x7ffff0004988] access_http access: Raw-audio server found, mp3 demuxer selected
[0x7ffff0004988] access_http access debug: auto re-connect enabled
[0x7ffff0004988] main access debug: using access module "access_http"
[0x7ffff0009878] main stream debug: Using stream method for AStream*
[0x7ffff0009878] main stream debug: starting pre-buffering
[0x7ffff0009878] main stream debug: received first data after 0 ms
[0x7ffff0009878] main stream debug: pre-buffering done 1024 bytes in 0s - 23255 KiB/s
[0x7ffff0009c78] main stream debug: looking for stream_filter module matching "any": 9 candidates
[0x7ffff0009c78] main stream debug: no stream_filter modules matched
[0x7ffff0009c78] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x7ffff0009c78] main stream debug: using stream_filter module "record"
[0x704608] main input debug: creating demux: access='http' demux='mp3' location='sc6.radiocaroline.net:8040' file='(null)'
[0x7ffff000df08] main demux debug: looking for demux module matching "mp3": 63 candidates
[0x7ffff000df08] es demux debug: detected format mpga
[0x7ffff000e888] main demux packetizer debug: looking for packetizer module matching "any": 21 candidates
[0x7ffff000e888] main demux packetizer debug: using packetizer module "mpeg_audio"
[0x7ffff000e888] mpeg_audio demux packetizer debug: MPGA channels:2 samplerate:44100 bitrate:128
[0x704608] main input debug: selecting program id=0
[0x7ffff000df08] main demux debug: using demux module "es"
[0x7ffff001a1b8] main decoder debug: looking for packetizer module matching "any": 21 candidates
[0x7ffff001a1b8] main decoder debug: using packetizer module "mpeg_audio"
[New Thread 0x7fffec195700 (LWP 6927)]
[0x704608] main input debug: starting in async mode
[0x7ffff001ad98] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0x7ffff001ad98] lua demux meta debug: Trying Lua scripts in /home/abc/.local/share/vlc/lua/meta/reader
[0x7ffff001ad98] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x7ffff001ad98] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x7ffff001ad98] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x7ffff001ad98] main demux meta debug: no meta reader modules matched
[0x704608] main input debug: `http://sc6.radiocaroline.net:8040' successfully opened
[0x704608] main input debug: Buffering 0%
[0x704608] main input debug: switching to sync mode
[0x704608] main input debug: Buffering 2%
[0x7ffff001a1b8] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128
[0x7ffff0000c18] main stream output debug: adding a new sout input (sout_input:0x7fffe0000b20)
[0x7ffff0001e38] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`s16l'
[0x7fffe0000c28] main generic debug: looking for decoder module matching "any": 38 candidates
[0x704608] main input debug: Buffering 5%
[0x704608] main input debug: Buffering 7%
[0x704608] main input debug: Buffering 10%
[0x704608] main input debug: Buffering 13%
[0x704608] main input debug: Buffering 15%
[0x704608] main input debug: Buffering 18%
[0x704608] main input debug: Buffering 20%
[0x704608] main input debug: Buffering 23%
[0x704608] main input debug: Buffering 26%
[0x704608] main input debug: Buffering 28%
[0x704608] main input debug: Buffering 31%
[0x704608] main input debug: Buffering 33%
[0x704608] main input debug: Buffering 36%
[0x704608] main input debug: Buffering 39%
[0x704608] main input debug: Buffering 41%
[0x704608] main input debug: Buffering 44%
[0x704608] main input debug: Buffering 47%
[0x704608] main input debug: Buffering 49%
[0x704608] main input debug: Buffering 52%
[0x704608] main input debug: Buffering 54%
[0x704608] main input debug: Buffering 57%
[0x704608] main input debug: Buffering 60%
[0x704608] main input debug: Buffering 62%
[0x704608] main input debug: Buffering 65%
[0x704608] main input debug: Buffering 67%
[0x704608] main input debug: Buffering 70%
[0x704608] main input debug: Buffering 73%
[0x704608] main input debug: Buffering 75%
[0x704608] main input debug: Buffering 78%
[0x704608] main input debug: Buffering 80%
[0x704608] main input debug: Buffering 83%
[0x704608] main input debug: Buffering 86%
[0x704608] main input debug: Buffering 88%
[0x704608] main input debug: Buffering 91%
[0x704608] main input debug: Buffering 94%
[0x704608] main input debug: Buffering 96%
[0x704608] main input debug: Buffering 99%
[0x704608] main input debug: Stream buffering done (1018 ms in 7 ms)
[0x7fffe0000c28] main generic debug: using decoder module "mpeg_audio"
[0x7fffe0001078] main encoder debug: looking for encoder module matching "any": 17 candidates
[0x7fffe0001078] araw encoder debug: samplerate:48000Hz channels:2 bits/sample:16
[0x7fffe0001078] main encoder debug: using encoder module "araw"
[0x7ffff0001e38] main stream out debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
[0x7ffff0001e38] main stream out debug: conversion: 'mpga'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
[0x7fffe00097c8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7fffe00097c8] main audio converter debug: no audio converter modules matched
[0x7fffe00097c8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7fffe00097c8] mpgatofixed32 audio converter debug: mpga->f32l, bits per sample: 32
[0x7fffe00097c8] main audio converter debug: using audio converter module "mpgatofixed32"
[0x7fffe00156f8] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0x7fffe00156f8] audio_format audio converter debug: f32l->s16l, bits per sample: 32->16
[0x7fffe00156f8] main audio converter debug: using audio converter module "audio_format"
[0x7ffff0001e38] main stream out debug: conversion pipeline complete
[0x7fffe0015ae8] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[0x7fffe0015ae8] main audio resampler debug: using audio resampler module "ugly_resampler"
[0x704608] main input debug: Decoder buffering done in 238 ms
[0x7fffe0000c28] mpeg_audio generic debug: MPGA channels:2 samplerate:44100 bitrate:128

Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
118    ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
#1  0x0000000000411f65 in ?? ()
#2  0x000000000040da1e in ?? ()
#3  0x000000000040db60 in ?? ()
#4  0x00000000004023dc in ?? ()
#5  0x00007ffff6e48ec5 in __libc_start_main (main=0x4020f0, argc=10, argv=0x7fffffffdfa8, init=<optimised out>, fini=<optimised out>,
    rtld_fini=<optimised out>, stack_end=0x7fffffffdf98) at libc-start.c:287
#6  0x000000000040354b in ?? ()
(gdb)

To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.

Matthias Brändli

unread,
Apr 10, 2015, 9:59:38 AM4/10/15
to crc-mm...@googlegroups.com
On 10. 04. 15 15:52, Glyn Roylance wrote:
> Reading symbols from toolame...(no debugging symbols found)...done.

Was toolame compiled without debugging symbols ? In the normal Makefile
they should be enabled.

The backtrace sadly doesn't help me understand what happens.

mpb

Glyn Roylance

unread,
Apr 10, 2015, 10:04:34 AM4/10/15
to crc-mm...@googlegroups.com
Sorry I have no idea - I installed it using a deb file that Clarkerz gave me.  I presume it was one of Jens's packages.

I seem doomed to never get any live audio using any method!  I think I need to stick to RF!

Glyn

Rash

unread,
Apr 14, 2015, 12:05:22 PM4/14/15
to crc-mm...@googlegroups.com
Well this is interesting...

I've been wrestling with the ubuntu 14.04 minimal image for Odroid C1. Apart from a little problem where it freezes the device completely when accessing an alsa device (which was solved by removing pulseaudio) it appears to run 8211a45 toolame quite well with your stream input. In fact I am transcoding that, and my test service on the same device. Each instance puts about 15% on a core - even with the debug symbols enabled....seems like a C1 can encode a few services concurrently. :-D

I suppose I should wrap it up in a script, and run it to see if it goes wrong again. I have no idea why it does nasty things on my x64 Debian laptop, but then again if this is stable I won't mind too much considering the encoding issues I have suffered from lately!


Best regards,

Rash.

Craig Barber

unread,
Apr 22, 2015, 4:10:33 PM4/22/15
to crc-mm...@googlegroups.com
I oddly have the same issue as you, am yet to get to the bottom of it!

Craig Barber

unread,
Apr 22, 2015, 4:13:52 PM4/22/15
to crc-mm...@googlegroups.com
Backtrace from me if it helps anyone out


Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
118    ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
#1  0x0000000000411da5 in memcpy (__len=140733193388032, __src=<optimised out>, __dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2  vlc_in_read (buf=<optimised out>, buf@entry=0x7fffffffb450, len=len@entry=4608) at vlc_input.c:209
#3  0x000000000040d86e in read_samples (musicin=<optimised out>, sample_buffer=sample_buffer@entry=0x7fffffffb450, num_samples=4294967295,
    frame_size=frame_size@entry=2304) at audio_read.c:240
#4  0x000000000040d9b0 in get_audio (musicin=musicin@entry=0x638fe0 <musicin>, buffer=buffer@entry=0x6287a0 <buffer>,
    num_samples=<optimised out>, nch=nch@entry=2, header=header@entry=0x7fffffffc720) at audio_read.c:295
#5  0x00000000004023c6 in main (argc=<optimised out>, argv=<optimised out>) at toolame.c:205
(gdb)

On Friday, April 10, 2015 at 1:32:45 PM UTC+1, radiohead319 wrote:

Matthias Brändli

unread,
Apr 23, 2015, 3:47:38 AM4/23/15
to crc-mm...@googlegroups.com
Hi Craig,

the memcpy with the absurd len and NULL dst is not good, and I don't
understand how this could happen.

I have added some checks to the vlc_input, please tell me if you see an
assertion error now.

mpb
> <http://192.168.1.75:7001/>
> 'http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> <http://sc6.radiocaroline.net:8040/>' gives access `http' demux `'
> path `sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> [0x2169608] main input debug: creating demux: access='http' demux=''
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> [0x7f1158004808] main demux debug: looking for access_demux module
> matching "http": 18 candidates
> [0x7f1158004808] main demux debug: no access_demux modules matched
> [0x2169608] main input debug: creating access 'http'
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>', path='(null)'
> [0x7f1158004988] main access debug: looking for access module
> matching "http": 25 candidates
> [0x7f1158004988] access_http access debug: querying proxy
> for http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>
> --------------------------------------------
> Input VLC
> URI http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>
> Output File: 'tcp://192.168.1.75:7001 <http://192.168.1.75:7001/>'
> 192 kbps MPEG-1 Layer II stereo Psycho model=1 (Mode_Extension=0)
> [De-emph:Off Copyright:No Original:No CRC:On]
> [Padding:Normal Byte-swap:Off Chanswap:Off DAB:On]
> ATH adjustment 0.000000
> --------------------------------------------
> encode_init: using tablenum 0 with sblimit 27
> [0x7f1158004988] access_http access debug: no proxy
> [0x7f1158004988] access_http access debug: http:
> server='sc6.radiocaroline.net <http://sc6.radiocaroline.net/>'
> port=8040 file=''
> [0x7f1158004988] main access debug: net: connecting
> to sc6.radiocaroline.net <http://sc6.radiocaroline.net/> port 8040
> [0x7f1158004988] main access debug: connection succeeded (socket = 11)
> [0x7f1158004988] access_http access debug: protocol 'ICY' answer
> code 200
> [0x7f1158004988] access_http access debug: Icy-Notice: <BR>This
> stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
> [0x7f1158004988] access_http access debug: Icy-Notice: SHOUTcast
> Distributed Network Audio Server/win32 v1.9.8<BR>
> [0x7f1158004988] access_http access debug: Icy-Name: Radio Caroline
> [0x7f1158004988] access_http access debug: Icy-Genre: Various
> [0x7f1158004988] access_http access debug: Meta-Info:
> icy-url: http://www.radiocaroline.co.uk
> <http://www.radiocaroline.co.uk/>
> [0x7f1158004988] access_http access debug: Content-Type: audio/mpeg
> [0x7f1158004988] access_http access debug: Meta-Info: icy-pub: 1
> [0x7f1158004988] access_http access debug: Icy-MetaInt: 8192
> [0x7f1158004988] access_http access warning: ICY metaint=8192
> [0x7f1158004988] access_http access debug: Meta-Info: icy-br: 128
> [0x7f1158004988] access_http access: Raw-audio server found, mp3
> demuxer selected
> [0x7f1158004988] access_http access debug: auto re-connect enabled
> [0x7f1158004988] main access debug: using access module "access_http"
> [0x7f1158009878] main stream debug: Using stream method for AStream*
> [0x7f1158009878] main stream debug: starting pre-buffering
> [0x7f1158009878] main stream debug: received first data after 0 ms
> [0x7f1158009878] main stream debug: pre-buffering done 1024 bytes in
> 0s - 27027 KiB/s
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "any": 9 candidates
> [0x7f1158009c78] main stream debug: no stream_filter modules matched
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "record": 9 candidates
> [0x7f1158009c78] main stream debug: using stream_filter module "record"
> [0x2169608] main input debug: creating demux: access='http'
> demux='mp3' location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> <http://sc6.radiocaroline.net:8040/>' successfully opened
> <http://www.radiocaroline.co.uk/> (11:33)
> --
> 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>.

Craig

unread,
Apr 26, 2015, 8:01:23 AM4/26/15
to crc-mm...@googlegroups.com
Still seeing issues with the latest version Matthias:


Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
118    ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:118
#1  0x0000000000411dd0 in memcpy (__len=140733193388436, __src=<optimised out>, __dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2  vlc_in_read (buf=<optimised out>, buf@entry=0x7fffffffb450, len=len@entry=4608) at vlc_input.c:216

#3  0x000000000040d86e in read_samples (musicin=<optimised out>, sample_buffer=sample_buffer@entry=0x7fffffffb450, num_samples=4294967295,
    frame_size=frame_size@entry=2304) at audio_read.c:240
#4  0x000000000040d9b0 in get_audio (musicin=musicin@entry=0x639fe0 <musicin>, buffer=buffer@entry=0x6297a0 <buffer>,
    num_samples=<optimised out>, nch=nch@entry=2, header=header@entry=0x7fffffffc720) at audio_read.c:295
#5  0x00000000004023c6 in main (argc=<optimised out>, argv=<optimised out>) at toolame.c:205


Craig

Matthias Brändli

unread,
Apr 26, 2015, 1:50:24 PM4/26/15
to crc-mm...@googlegroups.com
Is this with a package, or compiled from sources ?

What VLC version does your system have ?

mpb

Craig Barber

unread,
Apr 26, 2015, 3:45:20 PM4/26/15
to crc-mm...@googlegroups.com
As in VLC? Just installed from the Ubuntu repository as normal, version is 2.1.6 Rincewind.
> To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.

Craig

unread,
Apr 29, 2015, 12:56:20 PM4/29/15
to crc-mm...@googlegroups.com
I've tried building VLC from source as well, have the same issue on Ubuntu.

Command I'm trying to run is toolame -V -s 48 -m s -b 192 http://stream.stormtx.co.uk/blast106 tcp://localhost:9001



On Friday, April 10, 2015 at 1:32:45 PM UTC+1, radiohead319 wrote:

Matthias Brändli

unread,
Apr 29, 2015, 3:59:10 PM4/29/15
to crc-mm...@googlegroups.com
I have installed an ubuntu in a VM, I'm able to reproduce the issue now.

mpb

On 29. 04. 15 18:56, Craig wrote:
> I've tried building VLC from source as well, have the same issue on Ubuntu.
>
> Command I'm trying to run is toolame -V -s 48 -m s -b 192
> http://stream.stormtx.co.uk/blast106 tcp://localhost:9001
>
>
> On Friday, April 10, 2015 at 1:32:45 PM UTC+1, radiohead319 wrote:
>
> Can anyone help me again?! If I ever master the basics of encoding
> a live source I hope to turn into a net contributer to this forum by
> examining the impact of different gains and filters on RF signal purity.
>
> Even after setting my default soundcard sample rate to 48k, I never
> fixed the fast/dropout audio problem using mpg123 - so as Clarkerz
> suggested I dropped that solution and opted for the new toolame with
> vlc support.
>
> However it just buffers to 99% and then segmentation fault and core
> dumps. This is on a Dell laptop running Ubuntu 14.04. Same result
> with firfilter enabled or disabled (I understand it was a problem
> before). This is what I did and the results:
>
> sudo dpkg -i toolame-dab_0.0.1-6_trusty_amd64.deb
>
> Then to run it I'm using:
>
> toolame -V -s 48 -m s -b 192 http://sc6.radiocaroline.net:8040
> 'http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> <http://sc6.radiocaroline.net:8040/>' gives access `http' demux `'
> path `sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040/>'
> [0x2169608] main input debug: creating demux: access='http' demux=''
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> [0x7f1158004808] main demux debug: looking for access_demux module
> matching "http": 18 candidates
> [0x7f1158004808] main demux debug: no access_demux modules matched
> [0x2169608] main input debug: creating access 'http'
> location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>', path='(null)'
> [0x7f1158004988] main access debug: looking for access module
> matching "http": 25 candidates
> [0x7f1158004988] access_http access debug: querying proxy
> for http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>
> --------------------------------------------
> Input VLC
> URI http://sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>
> Output File: 'tcp://192.168.1.75:7001 <http://192.168.1.75:7001/>'
> 192 kbps MPEG-1 Layer II stereo Psycho model=1 (Mode_Extension=0)
> [De-emph:Off Copyright:No Original:No CRC:On]
> [Padding:Normal Byte-swap:Off Chanswap:Off DAB:On]
> ATH adjustment 0.000000
> --------------------------------------------
> encode_init: using tablenum 0 with sblimit 27
> [0x7f1158004988] access_http access debug: no proxy
> [0x7f1158004988] access_http access debug: http:
> server='sc6.radiocaroline.net <http://sc6.radiocaroline.net/>'
> port=8040 file=''
> [0x7f1158004988] main access debug: net: connecting
> to sc6.radiocaroline.net <http://sc6.radiocaroline.net/> port 8040
> [0x7f1158004988] main access debug: connection succeeded (socket = 11)
> [0x7f1158004988] access_http access debug: protocol 'ICY' answer
> code 200
> [0x7f1158004988] access_http access debug: Icy-Notice: <BR>This
> stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
> [0x7f1158004988] access_http access debug: Icy-Notice: SHOUTcast
> Distributed Network Audio Server/win32 v1.9.8<BR>
> [0x7f1158004988] access_http access debug: Icy-Name: Radio Caroline
> [0x7f1158004988] access_http access debug: Icy-Genre: Various
> [0x7f1158004988] access_http access debug: Meta-Info:
> icy-url: http://www.radiocaroline.co.uk
> <http://www.radiocaroline.co.uk/>
> [0x7f1158004988] access_http access debug: Content-Type: audio/mpeg
> [0x7f1158004988] access_http access debug: Meta-Info: icy-pub: 1
> [0x7f1158004988] access_http access debug: Icy-MetaInt: 8192
> [0x7f1158004988] access_http access warning: ICY metaint=8192
> [0x7f1158004988] access_http access debug: Meta-Info: icy-br: 128
> [0x7f1158004988] access_http access: Raw-audio server found, mp3
> demuxer selected
> [0x7f1158004988] access_http access debug: auto re-connect enabled
> [0x7f1158004988] main access debug: using access module "access_http"
> [0x7f1158009878] main stream debug: Using stream method for AStream*
> [0x7f1158009878] main stream debug: starting pre-buffering
> [0x7f1158009878] main stream debug: received first data after 0 ms
> [0x7f1158009878] main stream debug: pre-buffering done 1024 bytes in
> 0s - 27027 KiB/s
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "any": 9 candidates
> [0x7f1158009c78] main stream debug: no stream_filter modules matched
> [0x7f1158009c78] main stream debug: looking for stream_filter module
> matching "record": 9 candidates
> [0x7f1158009c78] main stream debug: using stream_filter module "record"
> [0x2169608] main input debug: creating demux: access='http'
> demux='mp3' location='sc6.radiocaroline.net:8040
> <http://sc6.radiocaroline.net:8040/>' file='(null)'
> <http://sc6.radiocaroline.net:8040/>' successfully opened
> <http://www.radiocaroline.co.uk/> (11:33)

Matthias Brändli

unread,
Apr 29, 2015, 4:40:13 PM4/29/15
to crc-mm...@googlegroups.com
The smem output of libvlc changed between versions 2.1 and 2.2. This
affects both FDK-AAC-DABplus and Toolame-DAB.

You can see this by checking out the vlc sources and comparing
modules/stream_out/smem.c with

git diff 2.1.0-git master -- modules/stream_out/smem.c

The callback functions for the prerender and postrender have seen a type
change for the size parameter:

in vlc 2.1

void ( *pf_audio_prerender_callback ) ( void* p_audio_data, uint8_t**
pp_pcm_buffer , unsigned int size );
void ( *pf_audio_postrender_callback ) ( void* p_audio_data, uint8_t*
p_pcm_buffer, unsigned int channels, unsigned int rate, unsigned int
nb_samples, unsigned int bits_per_sample, unsigned int size, mtime_t pts );

in vlc 2.2

void ( *pf_audio_prerender_callback ) ( void* p_audio_data, uint8_t**
pp_pcm_buffer, size_t size );
void ( *pf_audio_postrender_callback ) ( void* p_audio_data, uint8_t*
p_pcm_buffer, unsigned int channels, unsigned int rate, unsigned int
nb_samples, unsigned int bits_per_sample, size_t size, mtime_t pts );


unsigned int is a 32-bit value, size_t is 64 bits, and I assumed size_t.
So it breaks if a VLC version earlier than 2.2.0 is used. What I don't
understand yet is why it works on my debian machine that has VLC 2.0.3
Twoflower (revision 2.0.2-93-g77aa89e). Surprisingly, I cannot find the
corresponding version in the VLC repository.

It's not clear to me yet what's the best way to solve the issue. I
probably have to ask libVLC its version somehow, and setup the correct
callback function.

mpb

Craig

unread,
May 3, 2015, 8:28:07 AM5/3/15
to crc-mm...@googlegroups.com, matthias...@mpb.li
I today loaded VLC 2.2.1 onto my Ubuntu box and yep, error has gone this end too... I'm having a different issue now though:

core stream output error: stream chain failed for `transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266352,audio-prerender-callback=4266272}'

Have you come across this before? I've tried a couple of different streams and samplerates...

Craig

Matthias Brändli

unread,
May 3, 2015, 8:41:03 AM5/3/15
to crc-mm...@googlegroups.com
I need the full output to understand better what the reason could be...

mpb
> >> <http://sc6.radiocaroline.net:8040/
> <http://192.168.1.75:7001>
> <http://sc6.radiocaroline.net:8040/
> >> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/>>'
> >> [0x2169608] main input debug: creating demux: access='http' demux=''
> >> location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> >> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/>>' file='(null)'
> >> [0x7f1158004808] main demux debug: looking for access_demux module
> >> matching "http": 18 candidates
> >> [0x7f1158004808] main demux debug: no access_demux modules matched
> >> [0x2169608] main input debug: creating access 'http'
> >> location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> >> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/>>', path='(null)'
> >> [0x7f1158004988] main access debug: looking for access module
> >> matching "http": 25 candidates
> >> [0x7f1158004988] access_http access debug: querying proxy
> >> for http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> >> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/>>
> >> --------------------------------------------
> >> Input VLC
> >> URI http://sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> >> <http://sc6.radiocaroline.net:8040/
> <http://sc6.radiocaroline.net:8040/>>
> >> Output File: 'tcp://192.168.1.75:7001 <http://192.168.1.75:7001>
> >> <http://www.radiocaroline.co.uk/ <http://www.radiocaroline.co.uk/>>
> >> [0x7f1158004988] access_http access debug: Content-Type: audio/mpeg
> >> [0x7f1158004988] access_http access debug: Meta-Info: icy-pub: 1
> >> [0x7f1158004988] access_http access debug: Icy-MetaInt: 8192
> >> [0x7f1158004988] access_http access warning: ICY metaint=8192
> >> [0x7f1158004988] access_http access debug: Meta-Info: icy-br: 128
> >> [0x7f1158004988] access_http access: Raw-audio server found, mp3
> >> demuxer selected
> >> [0x7f1158004988] access_http access debug: auto re-connect enabled
> >> [0x7f1158004988] main access debug: using access module "access_http"
> >> [0x7f1158009878] main stream debug: Using stream method for AStream*
> >> [0x7f1158009878] main stream debug: starting pre-buffering
> >> [0x7f1158009878] main stream debug: received first data after 0 ms
> >> [0x7f1158009878] main stream debug: pre-buffering done 1024 bytes in
> >> 0s - 27027 KiB/s
> >> [0x7f1158009c78] main stream debug: looking for stream_filter module
> >> matching "any": 9 candidates
> >> [0x7f1158009c78] main stream debug: no stream_filter modules matched
> >> [0x7f1158009c78] main stream debug: looking for stream_filter module
> >> matching "record": 9 candidates
> >> [0x7f1158009c78] main stream debug: using stream_filter module "record"
> >> [0x2169608] main input debug: creating demux: access='http'
> >> demux='mp3' location='sc6.radiocaroline.net:8040 <http://sc6.radiocaroline.net:8040>
> >> <http://sc6.radiocaroline.net:8040/
> >> <http://sc6.radiocaroline.net:8040/
> >> <http://www.radiocaroline.co.uk/ <http://www.radiocaroline.co.uk/>>
> >> an email to crc-mmbtools...@googlegroups.com <javascript:>
> >> <mailto:crc-mmbtools...@googlegroups.com <javascript:>>.
> >> For more options, visit https://groups.google.com/d/optout
> <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...@googlegroups.com>.

Craig

unread,
May 3, 2015, 8:45:37 AM5/3/15
to crc-mm...@googlegroups.com, matthias...@mpb.li
[0000000000ba71e8] core libvlc debug: VLC media player - 2.2.0 Weatherwax
[0000000000ba71e8] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0000000000ba71e8] core libvlc debug: revision 2.2.0-0-g1349ef2
[0000000000ba71e8] core libvlc debug: configured with ./configure
[0000000000ba71e8] core libvlc debug: searching plug-in modules
[0000000000ba71e8] core libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0000000000ba71e8] core libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0000000000ba71e8] core libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat
[0000000000ba71e8] core libvlc debug: plug-ins loaded: 259 modules
[0000000000ba71e8] core libvlc debug: translation test: code is "C"
[0000000000ba71e8] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU
[0000000000c1be38] core generic error: option vmem-chroma does not exist
[0000000000c1be38] core generic error: option vmem-width does not exist
[0000000000c1be38] core generic error: option vmem-height does not exist
[0000000000c1be38] core generic error: option vmem-pitch does not exist
[0000000000c1be38] core generic error: option marq-color does not exist
[0000000000c1be38] core generic error: option marq-opacity does not exist
[0000000000c1be38] core generic error: option marq-position does not exist
[0000000000c1be38] core generic error: option marq-refresh does not exist
[0000000000c1be38] core generic error: option marq-size does not exist
[0000000000c1be38] core generic error: option marq-timeout does not exist
[0000000000c1be38] core generic error: option marq-x does not exist
[0000000000c1be38] core generic error: option marq-y does not exist
[0000000000c1be38] core generic error: option logo-x does not exist
[0000000000c1be38] core generic error: option logo-y does not exist
[0000000000c1be38] core generic error: option logo-delay does not exist
[0000000000c1be38] core generic error: option logo-repeat does not exist
[0000000000c1be38] core generic error: option logo-opacity does not exist
[0000000000c1be38] core generic error: option logo-position does not exist
[0000000000c1be38] core generic error: option contrast does not exist
[0000000000c1be38] core generic error: option brightness does not exist
[0000000000c1be38] core generic error: option hue does not exist
[0000000000c1be38] core generic error: option saturation does not exist
[0000000000c1be38] core generic error: option gamma does not exist
[0000000000c1be38] core generic debug: creating audio output
[0000000000c1e6f8] core audio output debug: looking for audio output module matching "any": 5 candidates
[0000000000c1e6f8] alsa audio output debug: Available ALSA PCM devices:
[0000000000c1e6f8] alsa audio output debug: Playback/recording through the PulseAudio sound server (default)
[0000000000c1e6f8] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null)
[0000000000c1e6f8] alsa audio output debug: PulseAudio Sound Server (pulse)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Default Audio Device (sysdefault:CARD=PCH)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Front speakers (front:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog 4.0 Surround output to Front and Rear speakers (surround40:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers (surround41:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog 5.0 Surround output to Front, Center and Rear speakers (surround50:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers (surround51:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers (surround71:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, HDMI 0 HDMI Audio Output (hdmi:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Direct sample mixing device (dmix:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, HDMI 0 Direct sample mixing device (dmix:CARD=PCH,DEV=3)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Direct sample snooping device (dsnoop:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, HDMI 0 Direct sample snooping device (dsnoop:CARD=PCH,DEV=3)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Direct hardware device without any conversions (hw:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, HDMI 0 Direct hardware device without any conversions (hw:CARD=PCH,DEV=3)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, 92HD81B1X5 Analog Hardware device with all software conversions (plughw:CARD=PCH,DEV=0)
[0000000000c1e6f8] alsa audio output debug: HDA Intel PCH, HDMI 0 Hardware device with all software conversions (plughw:CARD=PCH,DEV=3)
[0000000000c1e6f8] core audio output debug: using audio output module "alsa"
[0000000000c1be38] core generic debug: keeping audio output
[0000000000c9d058] core input debug: Creating an input for 'http://stream.stormtx.co.uk/blast106'
[00007f3de4000a58] core stream output debug: using sout chain=`transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266352,audio-prerender-callback=4266272}'
[00007f3de4000a58] core stream output debug: stream=`smem'
[00007f3de4000fc8] core stream out debug: looking for sout stream module matching "smem": 0 candidates
[00007f3de4000fc8] core stream out debug: no sout stream modules
[00007f3de4000fc8] core stream out debug: destroying chain... (name=(null))
[00007f3de4000fc8] core stream out debug: destroying chain done
[00007f3de4000a58] core stream output error: stream chain failed for `transcode{acodec=s16l,samplerate=48000}:smem{audio-postrender-callback=4266352,audio-prerender-callback=4266272}'
[0000000000c9d058] core input error: cannot start stream output instance, aborting

Matthias Brändli

unread,
May 3, 2015, 9:02:36 AM5/3/15
to crc-mm...@googlegroups.com
It looks like you have an incomplete VLC installation because it cannot
find the smem module...

It's also the first time I see all these "core generic error" messages.

mpb

Craig Barber

unread,
May 3, 2015, 12:12:12 PM5/3/15
to crc-mm...@googlegroups.com
I think there were issues with when I removed vlc earlier, I managed to get it working with a fresh install of vlc.

Thanks

Craig
> To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.

Matthias Brändli

unread,
May 4, 2015, 1:15:12 PM5/4/15
to crc-mm...@googlegroups.com
Hello all,

I have added a version detection for VLC, and it should now use the
appropriate callback functions automatically.

This issue should be fixed through this change.

Cheers,
mpb

Jens Michael

unread,
May 4, 2015, 1:28:41 PM5/4/15
to crc-mm...@googlegroups.com, matthias...@mpb.li
Hi Matthias,

Thanks a lot, that's good news!   :-)

There are certain desktop environments that depend on VLC v2.1 so that updating to VLC v2.2 would have been very difficult...

Regards,

Jens

Rashid Mustapha

unread,
May 5, 2015, 3:06:48 AM5/5/15
to crc-mm...@googlegroups.com

Thank you. :-)

Although transcoding is not really a good thing,  I'm looking forward to trying out the alsa input!

R.

--
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.

Rashid Mustapha

unread,
May 27, 2015, 3:42:46 PM5/27/15
to crc-mm...@googlegroups.com

Hi Yoann,

I can't say that I solved the problem, but I did notice the OTG port is on a different usb controller....if you use that for the sound device it doesn't freeze. ;-)

This isn't ideal, but it works ok. Also I noticed there is a poorly documented SP-DIF input - you can see it with arecord -l but unfortunately that also causes the device to freeze too if you try to open it. Hopefully they can fix this and we can investigate using that too!

Best regards,

Rash.

On 28 May 2015 07:26, "Yoann QUERET" <yo...@queret.net> wrote:
Hi Rash,


On 04/14/2015 06:05 PM, Rash wrote:
> I've been wrestling with the ubuntu 14.04 minimal image for Odroid C1.
> Apart from a little problem where it freezes the device completely when
> accessing an alsa device (which was solved by removing pulseaudio) it
> appears to run 8211a45 toolame quite well with your stream input.

I have see you use Odroid C1, and you have solved freezes when accessing
alsa device by removing pulseaudio.

I haven't pulse audio installed and i have the same problem on Odroid C1
with debian (Wheezy or Jessie) without pulseaudio installed (I have just
libpulse0:armhf for libvlc)

Have you an other idea to solve this problem ? This hardware is very
good for a simple and low cost encoder ...

Many Thk,
Have a good evening

Yoann

# dabplus-enc --device=hw:1,0 -b 96 --sbr --output=tcp://192.168.40.127:9001
Welcome to fdk-aac-dabplus v0.7.2, compiled at May 27 2015, 18:28:04
  http://opendigitalradio.org

Using 12 subchannels. AAC type: HE-AAC. channels=2, sample_rate=48000
AAC bitrate set to: 96000
DAB+ Encoding: framelen=1920 (7680B)
Initialising ALSA...
ALSA init done.
Starting encoding
[FREEZE..NEED-RESTART]

Yoann QUERET

unread,
May 28, 2015, 2:51:09 PM5/28/15
to crc-mm...@googlegroups.com
Big thank Rash !!

With the USB OTG port and OTG cable i haven't freeze !!


Yoann


On 05/27/2015 09:42 PM, Rashid Mustapha wrote:
> Hi Yoann,
>
> I can't say that I solved the problem, but I did notice the OTG port is
> on a different usb controller....if you use that for the sound device it
> doesn't freeze. ;-)
>
> This isn't ideal, but it works ok. Also I noticed there is a poorly
> documented SP-DIF input - you can see it with arecord -l but
> unfortunately that also causes the device to freeze too if you try to
> open it. Hopefully they can fix this and we can investigate using that too!
>
> Best regards,
>
> Rash.
>
> On 28 May 2015 07:26, "Yoann QUERET" <yo...@queret.net
> <mailto:yo...@queret.net>> wrote:
>
> Hi Rash,
>
> On 04/14/2015 06:05 PM, Rash wrote:
> > I've been wrestling with the ubuntu 14.04 minimal image for Odroid C1.
> > Apart from a little problem where it freezes the device completely
> when
> > accessing an alsa device (which was solved by removing pulseaudio) it
> > appears to run 8211a45 toolame quite well with your stream input.
>
> I have see you use Odroid C1, and you have solved freezes when accessing
> alsa device by removing pulseaudio.
>
> I haven't pulse audio installed and i have the same problem on Odroid C1
> with debian (Wheezy or Jessie) without pulseaudio installed (I have just
> libpulse0:armhf for libvlc)
>
> Have you an other idea to solve this problem ? This hardware is very
> good for a simple and low cost encoder ...
>
> Many Thk,
> Have a good evening
>
> Yoann
>
> # dabplus-enc --device=hw:1,0 -b 96 --sbr
> --output=tcp://192.168.40.127:9001 <http://192.168.40.127:9001>
> Welcome to fdk-aac-dabplus v0.7.2, compiled at May 27 2015, 18:28:04
> http://opendigitalradio.org
>
> Using 12 subchannels. AAC type: HE-AAC. channels=2, sample_rate=48000
> AAC bitrate set to: 96000
> DAB+ Encoding: framelen=1920 (7680B)
> Initialising ALSA...
> ALSA init done.
> Starting encoding
> [FREEZE..NEED-RESTART]
>
> --
> 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>.

Rash

unread,
May 29, 2015, 10:08:47 AM5/29/15
to crc-mm...@googlegroups.com
No problem - I'm happy to help!

R.
> To unsubscribe from this group and stop receiving emails from it, send an email to crc-mmbtools...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages