Hi to all,

I have some serious trouble with RTP and Liquidsoap. My platform is an
iMX6Solo embedded board with Yocto based Linux(with 3.14.28 kernel
version). By default, there are not available Ocaml compilers for this
platform, but i have solved the problem using a external ARM compiler(an
Orange PI board), installing Liquidsoap in Orange first through OPAM with
all plugins available, then manually coping binaries and libraries on iMX6
board. With HTTP streams, MP3 playlist and so on Liquidsoap run very fine
on my board, but when i try to encode or decode RTP streams i have some
trouble:

On stream decoding, Liquidsoap simply not recognize the multicast stream,
causing the source to failure(see logs), while in stream encoding Gstreamer
reports an error on "appsrc"(see logs).

On original platform(orange pi), the same Liquidsoap working perfectly, in
RTP too, both encoding and decoding.

LOGS:


 *SENDING*
 2017/09/15 14:24:28 >>> LOG START
2017/09/15 14:24:27 [main:3] Liquidsoap 1.3.1
2017/09/15 14:24:27 [main:3] Using: bytes=[OCaml strictly before 4.02]
pcre=7.2.3 dtools=0.3.3 duppy=0.6.0 duppy.syntax=0.6.0 cry=0.5.0 mm=0.3.0
xmlplaylist=0.1.4 lastfm=0.3.1 ogg=0.5.1 vorbis=0.7.0 opus=0.1.2
speex=0.2.1 mad=0.4.5 flac=0.1.2 flac.ogg=0.1.2 dynlink=[distributed with
Ocaml] lame=0.3.3 gstreamer=0.2.3 frei0r=0.1.1 fdkaac=0.2.1 theora=0.3.1
gavl=0.1.6 ffmpeg=0.1.1 bjack=0.1.5 alsa=0.2.3 ao=0.2.1 samplerate=0.1.4
taglib=0.3.3 ssl=0.5.3 magic=0.7.3 camomile=0.8.5 inotify=2.3 yojson=1.3.3
faad=0.3.3 soundtouch=0.1.8 portaudio=0.2.1 pulseaudio=0.1.3 ladspa=0.1.5
dssi=0.1.2 lo=0.1.1
2017/09/15 14:24:27 [gstreamer.loader:3] Loaded GStreamer 1.4.4 0
2017/09/15 14:24:28 [decoder:3] Method "MAD" accepted "test.mp3".
2017/09/15 14:24:28 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2017/09/15 14:24:28 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2017/09/15 14:24:28 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2017/09/15 14:24:28 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2017/09/15 14:24:28 [threads:3] Created thread "generic queue #1".
2017/09/15 14:24:28 [threads:3] Created thread "generic queue #2".
2017/09/15 14:24:28 [threads:3] Created thread "non-blocking queue #1".
2017/09/15 14:24:28 [threads:3] Created thread "non-blocking queue #2".
2017/09/15 14:24:28 [single_6950:3] "test.mp3" is static, resolving once
for all...
2017/09/15 14:24:28 [test(dot)mp3:3] Prepared "test.mp3" (RID 0).
2017/09/15 14:24:28 [clock.wallclock_gstreamer:2] Error when starting
output output(dot)gstreamer: Gstreamer.Failure_msg("no element \"appsrc\"")!
2017/09/15 14:24:28 [clock.wallclock_gstreamer:3] Raised by primitive
operation at file "io/gstreamer_io.ml", line 112, characters 16-46
2017/09/15 14:24:28 [clock.wallclock_gstreamer:3] Called from file "io/
gstreamer_io.ml", line 68, characters 18-30
2017/09/15 14:24:28 [clock.wallclock_gstreamer:3] Called from file "tools/
start_stop.ml", line 99, characters 6-16
2017/09/15 14:24:28 [clock.wallclock_gstreamer:3] Called from file "clock.ml",
line 237, characters 19-37
2017/09/15 14:24:28 [test(dot)mp3:3] Finished with "test.mp3".
2017/09/15 14:24:28 [main:3] Shutdown started!
2017/09/15 14:24:28 [main:3] Waiting for threads to terminate...
2017/09/15 14:24:28 [main:3] Threads terminated.
2017/09/15 14:24:28 [threads:3] Shutting down scheduler...
2017/09/15 14:24:28 [threads:3] Scheduler shut down.
2017/09/15 14:24:28 [main:3] Cleaning downloaded files...
2017/09/15 14:24:28 [main:3] Freeing memory...
2017/09/15 14:24:28 [threads:3] Thread "generic queue #2" terminated.
2017/09/15 14:24:28 >>> LOG END

*RECEIVING*
2017/09/15 14:25:08 >>> LOG START
2017/09/15 14:25:07 [main:3] Liquidsoap 1.3.1
2017/09/15 14:25:07 [main:3] Using: bytes=[OCaml strictly before 4.02]
pcre=7.2.3 dtools=0.3.3 duppy=0.6.0 duppy.syntax=0.6.0 cry=0.5.0 mm=0.3.0
xmlplaylist=0.1.4 lastfm=0.3.1 ogg=0.5.1 vorbis=0.7.0 opus=0.1.2
speex=0.2.1 mad=0.4.5 flac=0.1.2 flac.ogg=0.1.2 dynlink=[distributed with
Ocaml] lame=0.3.3 gstreamer=0.2.3 frei0r=0.1.1 fdkaac=0.2.1 theora=0.3.1
gavl=0.1.6 ffmpeg=0.1.1 bjack=0.1.5 alsa=0.2.3 ao=0.2.1 samplerate=0.1.4
taglib=0.3.3 ssl=0.5.3 magic=0.7.3 camomile=0.8.5 inotify=2.3 yojson=1.3.3
faad=0.3.3 soundtouch=0.1.8 portaudio=0.2.1 pulseaudio=0.1.3 ladspa=0.1.5
dssi=0.1.2 lo=0.1.1
2017/09/15 14:25:07 [gstreamer.loader:3] Loaded GStreamer 1.4.4 0
2017/09/15 14:25:08 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2017/09/15 14:25:08 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2017/09/15 14:25:08 [frame:3] Targetting 'frame.audio.size': 16000 audio
samples = 16000 ticks.
2017/09/15 14:25:08 [frame:3] Frames last 0.40s = 17640 audio samples = 10
video samples = 17640 ticks.
2017/09/15 14:25:08 [threads:3] Created thread "generic queue #1".
2017/09/15 14:25:08 [threads:3] Created thread "generic queue #2".
2017/09/15 14:25:08 [threads:3] Created thread "non-blocking queue #1".
2017/09/15 14:25:08 [threads:3] Created thread "non-blocking queue #2".
2017/09/15 14:25:08 [threads:3] Created thread "alsa_out(default)" (1
total).
2017/09/15 14:25:08 [threads:3] Created thread "wallclock_alsa" (2 total).
2017/09/15 14:25:08 [clock.wallclock_alsa:3] Streaming loop starts,
synchronized by active sources.
2017/09/15 14:25:08 [alsa_out(default):3] Source failed (no more tracks)
stopping output...
2017/09/15 14:25:08 [alsa_out(default):3] Using ALSA 1.0.28.
2017/09/15 14:25:08 [alsa_out(default):3] Samplefreq=44100Hz,
Bufsize=14112B, Frame=4B, Periods=8
2017/09/15 14:25:08 [threads:3] Thread "alsa_out(default)" terminated (1
remaining).

Anyone already had any experience with this type of problem?


Thank you,

Marco
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to