8th Mar, 2016, 11:10 AM
There's a certain adult plugin that plays live streams, but it requires libspeex for audio playback. I've successfully built in into ffmpeg in openelec, and it works as it should. But after installing into xbian, I'm not sure it's being called/used. The audio isn't being played.
Here's what I've done...
In openelec, I need to select MMAL in order for ffmpeg to take over, but it doesn't matter what I choose in xbian.. it doesn't work. MMAL, OMXPlayer, or even neither.. ffmpeg isn't being used. At least not speex.
Any ideas?
Here's what I've done...
Code:
sudo -s
apt-get install libspeex libspeex-dev libx264 libx264-dev libtheora-bin libtheora-dev libvorbis-dev pkg-config zlib-gst
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
make clean
./configure --prefix=/usr --arch=armel --target-os=linux --disable-static --enable-shared --enable-gpl --enable-logging --disable-doc --enable-optimizations --disable-extra-warnings --disable-ffprobe --disable-ffplay --disable-ffserver --enable-ffmpeg --disable-avdevice --enable-avcodec --enable-avformat --enable-swscale --enable-postproc --enable-avfilter --disable-devices --enable-pthreads --disable-w32threads --disable-x11grab --enable-network --disable-gnutls --disable-openssl --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-memalign-hack --disable-encoders --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-encoder=mjpeg --enable-encoder=png --disable-decoder=mpeg_xvmc --enable-hwaccels --disable-muxers --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-muxer=mpegts --enable-demuxers --enable-parsers --enable-bsfs --enable-protocol=http --disable-indevs --disable-outdevs --enable-filters --disable-avisynth --enable-bzlib --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libdc1394 --disable-libdcadec --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --enable-libvorbis --enable-encoder=libvorbis --enable-muxer=ogg --enable-libtheora --disable-libvpx --enable-libx264 --enable-libspeex --enable-nonfree --disable-libxavs --disable-libxvid --enable-zlib --enable-asm --disable-altivec --enable-yasm --disable-symver
make -j4
make install
Code:
install prefix /usr
source path .
C compiler gcc
C library glibc
ARCH arm (armv7-a)
big-endian no
runtime cpu detection yes
ARMv5TE enabled yes
ARMv6 enabled yes
ARMv6T2 enabled yes
VFP enabled yes
NEON enabled yes
THUMB enabled yes
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
static no
shared yes
postprocessing support yes
new filter support yes
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled no
makeinfo supports HTML no
Enabled programs:
ffmpeg
External libraries:
iconv libtheora libx264
libspeex libvorbis
Libraries:
avcodec avutil swresample
avfilter postproc swscale
avformat
Enabled decoders:
aac avui frwu
aac_fixed ayuv g723_1
aac_latm bethsoftvid g729
aasc bfi gif
ac3 bink gsm
ac3_fixed binkaudio_dct gsm_ms
adpcm_4xm binkaudio_rdft h261
adpcm_adx bintext h263
adpcm_afc bmp h263i
adpcm_aica bmv_audio h263p
adpcm_ct bmv_video h264
adpcm_dtk brender_pix hap
adpcm_ea c93 hevc
adpcm_ea_maxis_xa cavs hnm4_video
adpcm_ea_r1 ccaption hq_hqa
adpcm_ea_r2 cdgraphics hqx
adpcm_ea_r3 cdxl huffyuv
adpcm_ea_xas cfhd iac
adpcm_g722 cinepak idcin
adpcm_g726 cljr idf
adpcm_g726le cllc iff_ilbm
adpcm_ima_amv comfortnoise imc
adpcm_ima_apc cook indeo2
adpcm_ima_dk3 cpia indeo3
adpcm_ima_dk4 cscd indeo4
adpcm_ima_ea_eacs cyuv indeo5
adpcm_ima_ea_sead dca interplay_acm
adpcm_ima_iss dds interplay_dpcm
adpcm_ima_oki dfa interplay_video
adpcm_ima_qt dirac jacosub
adpcm_ima_rad dnxhd jpeg2000
adpcm_ima_smjpeg dpx jpegls
adpcm_ima_wav dsd_lsbf jv
adpcm_ima_ws dsd_lsbf_planar kgv1
adpcm_ms dsd_msbf kmvc
adpcm_psx dsd_msbf_planar lagarith
adpcm_sbpro_2 dsicinaudio libspeex
adpcm_sbpro_3 dsicinvideo libvorbis
adpcm_sbpro_4 dss_sp loco
adpcm_swf dvaudio mace3
adpcm_thp dvbsub mace6
adpcm_thp_le dvdsub mdec
adpcm_vima dvvideo metasound
adpcm_xa dxtory microdvd
adpcm_yamaha dxv mimic
aic eac3 mjpeg
alac eacmv mjpegb
alias_pix eamad mlp
als eatgq mmvideo
amrnb eatgv motionpixels
amrwb eatqi movtext
amv eightbps mp1
anm eightsvx_exp mp1float
ansi eightsvx_fib mp2
ape escape124 mp2float
ass escape130 mp3
asv1 evrc mp3adu
asv2 ffv1 mp3adufloat
atrac1 ffvhuff mp3float
atrac3 ffwavesynth mp3on4
atrac3p fic mp3on4float
aura flac mpc7
aura2 flic mpc8
avrn flv mpeg1video
avrp fourxm mpeg2video
avs fraps mpeg4
mpegvideo prores truespeech
mpl2 prores_lgpl tscc2
msa1 ptx tta
msmpeg4v1 qcelp twinvq
msmpeg4v2 qdm2 txd
msmpeg4v3 qdraw ulti
msrle qpeg utvideo
mss1 qtrle v210
mss2 r10k v210x
msvideo1 r210 v308
mszh ra_144 v408
mts2 ra_288 v410
mvc1 ralf vb
mvc2 rawvideo vble
mxpeg realtext vc1
nellymoser rl2 vc1image
nuv roq vcr1
on2avc roq_dpcm vmdaudio
opus rpza vmdvideo
paf_audio rv10 vmnc
paf_video rv20 vorbis
pam rv30 vp3
pbm rv40 vp5
pcm_alaw s302m vp6
pcm_bluray sami vp6a
pcm_dvd sanm vp6f
pcm_f32be sdx2_dpcm vp7
pcm_f32le sgi vp8
pcm_f64be sgirle vp9
pcm_f64le shorten vplayer
pcm_lxf sipr vqa
pcm_mulaw smackaud wavpack
pcm_s16be smacker webp
pcm_s16be_planar smc webvtt
pcm_s16le smvjpeg wmalossless
pcm_s16le_planar snow wmapro
pcm_s24be sol_dpcm wmav1
pcm_s24daud sonic wmav2
pcm_s24le sp5x wmavoice
pcm_s24le_planar srt wmv1
pcm_s32be ssa wmv2
pcm_s32le stl wmv3
pcm_s32le_planar subrip wmv3image
pcm_s8 subviewer wnv1
pcm_s8_planar subviewer1 ws_snd1
pcm_u16be sunrast xan_dpcm
pcm_u16le svq1 xan_wc3
pcm_u24be svq3 xan_wc4
pcm_u24le tak xbin
pcm_u32be targa xbm
pcm_u32le targa_y216 xface
pcm_u8 text xl
pcm_zork theora xma1
pcx thp xma2
pgm tiertexseqvideo xsub
pgmyuv tiff xwd
pgssub tmv y41p
pictor truehd yop
pjs truemotion1 yuv4
ppm truemotion2 zero12v
Enabled encoders:
aac libvorbis wmav2
ac3 mjpeg
Enabled hwaccels:
Enabled parsers:
aac dvd_nav mpegvideo
aac_latm dvdsub opus
ac3 flac png
adx g729 pnm
bmp gsm rv30
cavsvideo h261 rv40
cook h263 tak
dca h264 vc1
dirac hevc vorbis
dnxhd mjpeg vp3
dpx mlp vp8
dvaudio mpeg4video vp9
dvbsub mpegaudio
Enabled demuxers:
aa flv mp3
aac fourxm mpc
ac3 frm mpc8
acm fsb mpegps
act g722 mpegts
adf g723_1 mpegtsraw
adp g729 mpegvideo
ads genh mpjpeg
adx gif mpl2
aea gsm mpsub
afc gxf msf
aiff h261 msnwc_tcp
amr h263 mtv
anm h264 mv
apc hevc mvi
ape hls mxf
apng hnm mxg
aqtitle ico nc
asf idcin nistsphere
asf_o idf nsv
ass iff nut
ast ilbc nuv
au image2 ogg
avi image2_alias_pix oma
avr image2_brender_pix paf
avs image2pipe pcm_alaw
bethsoftvid image_bmp_pipe pcm_f32be
bfi image_dds_pipe pcm_f32le
bfstm image_dpx_pipe pcm_f64be
bink image_exr_pipe pcm_f64le
bintext image_j2k_pipe pcm_mulaw
bit image_jpeg_pipe pcm_s16be
bmv image_jpegls_pipe pcm_s16le
boa image_pcx_pipe pcm_s24be
brstm image_pictor_pipe pcm_s24le
c93 image_png_pipe pcm_s32be
caf image_qdraw_pipe pcm_s32le
cavsvideo image_sgi_pipe pcm_s8
cdg image_sunrast_pipe pcm_u16be
cdxl image_tiff_pipe pcm_u16le
cine image_webp_pipe pcm_u24be
concat ingenient pcm_u24le
data ipmovie pcm_u32be
daud ircam pcm_u32le
dcstr iss pcm_u8
dfa iv8 pjs
dirac ivf pmp
dnxhd ivr pva
dsf jacosub pvf
dsicin jv qcp
dss live_flv r3d
dts lmlm4 rawvideo
dtshd loas realtext
dv lrc redspark
dvbsub lvf rl2
dvbtxt lxf rm
dxa m4v roq
ea matroska rpl
ea_cdata mgsts rsd
eac3 microdvd rso
epaf mjpeg rtp
ffm mlp rtsp
ffmetadata mlv sami
filmstrip mm sap
flac mmf sbg
flic mov sdp
sdr2 tedcaptions vplayer
segafilm thp vqf
shorten threedostr w64
siff tiertexseq wav
sln tmv wc3
smacker truehd webm_dash_manifest
smjpeg tta webvtt
smush tty wsaud
sol txd wsvqa
sox v210 wtv
spdif v210x wv
srt vag wve
stl vc1 xa
str vc1t xbin
subviewer vivo xmv
subviewer1 vmd xvag
sup vobsub xwma
svag voc yop
swf vpk yuv4mpegpipe
tak
Enabled muxers:
adts latm ogg
asf mov spdif
ipod mpegts
Enabled protocols:
async hls rtmpt
cache http rtp
concat httpproxy srtp
crypto icecast subfile
data md5 tcp
ffrtmphttp mmsh udp
file mmst udplite
ftp pipe unix
gopher rtmp
Enabled filters:
abench channelsplit histeq
acompressor chorus histogram
acrossfade chromakey hqdn3d
adelay ciescope hqx
adrawgraph codecview hstack
aecho color hue
aemphasis colorbalance idet
aeval colorchannelmixer il
aevalsrc colorkey inflate
afade colorlevels interlace
afftfilt colormatrix interleave
aformat compand join
agate compensationdelay kerndeint
ahistogram concat lenscorrection
ainterleave convolution life
alimiter copy loop
allpass cover_rect lowpass
allrgb crop lut
allyuv cropdetect lut3d
aloop curves lutrgb
alphaextract datascope lutyuv
alphamerge dcshift mandelbrot
amerge dctdnoiz maskedmerge
ametadata deband mcdeint
amix decimate mergeplanes
amovie deflate metadata
anequalizer dejudder movie
anoisesrc delogo mpdecimate
anull deshake mptestsrc
anullsink detelecine negate
anullsrc dilation nnedi
apad displace noformat
aperms drawbox noise
aphasemeter drawgraph null
aphaser drawgrid nullsink
apulsator dynaudnorm nullsrc
arealtime earwax overlay
aresample ebur128 owdenoise
areverse edgedetect pad
aselect elbg palettegen
asendcmd eq paletteuse
asetnsamples equalizer pan
asetpts erosion perms
asetrate extractplanes perspective
asettb extrastereo phase
ashowinfo fade pixdesctest
asplit fftfilt pp
astats field pp7
astreamselect fieldhint psnr
atadenoise fieldmatch pullup
atempo fieldorder qp
atrim find_rect random
avectorscope firequalizer realtime
bandpass flanger removegrain
bandreject format removelogo
bass fps repeatfields
bbox framepack replaygain
bench framerate reverse
biquad framestep rgbtestsrc
blackdetect fspp rotate
blackframe geq sab
blend gradfun scale
boxblur haldclut scale2ref
bwdif haldclutsrc select
cellauto hflip selectivecolor
channelmap highpass sendcmd
separatefields silenceremove tile
setdar sine tinterlace
setfield smartblur transpose
setpts smptebars treble
setsar smptehdbars tremolo
settb spectrumsynth trim
showcqt split unsharp
showfreqs spp uspp
showinfo ssim vectorscope
showpalette stereo3d vflip
showspectrum stereotools vibrato
showspectrumpic stereowiden vignette
showvolume streamselect volume
showwaves super2xsai volumedetect
showwavespic swaprect vstack
shuffleframes swapuv w3fdif
shuffleplanes tblend waveform
sidechaincompress telecine xbr
sidechaingate testsrc yadif
signalstats testsrc2 zoompan
silencedetect thumbnail
Enabled bsfs:
aac_adtstoasc imx_dump_header mpeg4_unpack_bframes
chomp mjpeg2jpeg noise
dump_extradata mjpega_dump_header remove_extradata
h264_mp4toannexb mov2textsub text2movsub
hevc_mp4toannexb mp3_header_decompress
Enabled indevs:
Enabled outdevs:
License: nonfree and unredistributable
Creating config.mak, config.h, and doc/config.texi...
config.asm is unchanged
libavutil/avconfig.h is unchanged
Code:
root@xbian:/home/xbian/ffmpeg# ffmpeg
ffmpeg version N-78949-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --arch=armel --target-os=linux --disable-static --enable-shared --enable-gpl --enable-logging --disable-doc --enable-optimizations --disable-extra-warnings --disable-ffprobe --disable-ffplay --disable-ffserver --enable-ffmpeg --disable-avdevice --enable-avcodec --enable-avformat --enable-swscale --enable-postproc --enable-avfilter --disable-devices --enable-pthreads --disable-w32threads --disable-x11grab --enable-network --disable-gnutls --disable-openssl --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-memalign-hack --disable-encoders --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-encoder=mjpeg --enable-encoder=png --disable-decoder=mpeg_xvmc --enable-hwaccels --disable-muxers --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-muxer=mpegts --enable-demuxers --enable-parsers --enable-bsfs --enable-protocol=http --disable-indevs --disable-outdevs --enable-filters --disable-avisynth --enable-bzlib --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libdc1394 --disable-libdcadec --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --enable-libvorbis --enable-encoder=libvorbis --enable-muxer=ogg --enable-libtheora --disable-libvpx --enable-libx264 --enable-libspeex --enable-nonfree --disable-libxavs --disable-libxvid --enable-zlib --enable-asm --disable-altivec --enable-yasm --disable-symver
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 27.101 / 57. 27.101
libavformat 57. 28.100 / 57. 28.100
libavfilter 6. 39.100 / 6. 39.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
root@xbian:/home/xbian/ffmpeg#
In openelec, I need to select MMAL in order for ffmpeg to take over, but it doesn't matter what I choose in xbian.. it doesn't work. MMAL, OMXPlayer, or even neither.. ffmpeg isn't being used. At least not speex.
Any ideas?