Hi,
I'm trying to create a stream in aac + with liquidsoap and fdkaac on a
raspberry.
here is my configuration file :
#!/usr/bin/liquidsoap
set("log.file.path", "/tmp/basic-radio.log")
set("alsa.alsa_buffer", 3)
stream = input.alsa(device="plughw:1,0",bufferize=true)
output.icecast(%fdkaac(channels=2, samplerate=44100, bitrate=64,
afterburner=false, transmux="adts", sbr_mode=false),
host = "xx.xx.xxx.xxx.",
port = 8000,
password = "xxxx",
mount = "radio",
name="Radio",
genre="alternative",
stream)
it's works ! but when I add "aot="mpeg2_he_aac_v2"", it does not work.
2018/03/23 16:05:14 >>> LOG START
2018/03/23 16:05:14 [main:3] Liquidsoap 1.3.3
2018/03/23 16:05:14 [main:3] Using: bytes=[distributed with OCaml 4.02
or above] pcre=7.2.3 dtools=0.3.4 duppy=0.7.0 duppy.syntax=0.7.0
cry=0.6.1 mm=0.3.1 ogg=0.5.2 opus=0.1.2 mad=0.4.5 dynlink=[distributed
with Ocaml] lame=0.3.3 fdkaac=0.2.1 alsa=0.2.3 taglib=0.3.3
camomile=0.8.6 pulseaudio=0.1.3 ladspa=0.1.5
2018/03/23 16:05:14 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2018/03/23 16:05:14 [frame:3] Frame size must be a multiple of 1764
ticks = 1764 audio samples = 1 video samples.
2018/03/23 16:05:14 [frame:3] Targetting 'frame.duration': 0.04s =
1764 audio samples = 1764 ticks.
2018/03/23 16:05:14 [frame:3] Frames last 0.04s = 1764 audio samples =
1 video samples = 1764 ticks.
2018/03/23 16:05:14 [threads:3] Created thread "generic queue #1".
2018/03/23 16:05:14 [threads:3] Created thread "generic queue #2".
2018/03/23 16:05:14 [threads:3] Created thread "non-blocking queue #1".
2018/03/23 16:05:14 [threads:3] Created thread "non-blocking queue #2".
2018/03/23 16:05:14 [threads:3] Created thread "input.alsa_6186" (1 total).
2018/03/23 16:05:14 [input.alsa_6186:3] Using ALSA 1.1.3.
2018/03/23 16:05:14 [clock.wallclock_alsa:2] Error when starting
output Graffiti_Urban_Radio: Invalid configuration!
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Raised by primitive
operation at file "fdkaac.ml", line 217, characters 4-19
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"list.ml", line 73, characters 12-15
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"encoder/fdkaac_encoder.ml", line 94, characters 4-49
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"encoder/fdkaac_encoder.ml", line 98, characters 14-32
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"outputs/icecast2.ml", line 505, characters 12-46
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"tools/start_stop.ml", line 99, characters 6-16
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Called from file
"clock.ml", line 237, characters 19-37
2018/03/23 16:05:14 [threads:3] Created thread "wallclock_alsa" (2 total).
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Streaming loop starts,
synchronized by active sources.
2018/03/23 16:05:14 [main:3] Shutdown started!
2018/03/23 16:05:14 [main:3] Waiting for threads to terminate...
2018/03/23 16:05:14 [threads:3] Thread "input.alsa_6186" terminated (1
remaining).
2018/03/23 16:05:14 [clock.wallclock_alsa:3] Streaming loop stopped.
2018/03/23 16:05:14 [threads:3] Thread "wallclock_alsa" terminated (0
remaining).
2018/03/23 16:05:14 [main:3] Threads terminated.
2018/03/23 16:05:14 [threads:3] Shutting down scheduler...
2018/03/23 16:05:14 [threads:3] Scheduler shut down.
2018/03/23 16:05:14 [threads:3] Thread "generic queue #1" terminated.
2018/03/23 16:05:14 [main:3] Cleaning downloaded files...
2018/03/23 16:05:14 [main:3] Freeing memory...
2018/03/23 16:05:15 >>> LOG END
Any ideas ?
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users