Re: [Savonet-users] fdkaac + liquidsoap + Raspberry Pi 3 B

2018-03-24 Thread Lyonel Bernard
Hi,

I have just tested all possible configurations (afterburner, transmux, aot,
bitrate)
For all the "aot" in mpeg4, it works. But impossible with the "aot" in
mpeg2, some is the configuration
→  %fdkaac(channels=2, samplerate=48000, bitrate=32, afterburner=false,
aot="mpeg2_he_aac_v2", transmux="adts", sbr_mode=true)


​

2018-03-23 18:14 GMT+01:00 Romain Beauxis :

> Hi,
>
> 2018-03-23 12:05 GMT-05:00 technic2radio.fr :
> > Hi,
> >
> > It does not works with 32kbps
>
> Please, refer to the documentation at: http://wiki.hydrogenaud.io/
> index.php?title=Fraunhofer_FDK_AAC#HE-AAC.2FSBR for more details, you
> will have to experiment with different parameters before it works. For
> instance, I see you have sbr_mode=false but HE-AAC v2 implies SBR so you
> prolly should set this to true or leave it alone entirely.
>
> Romain
>
> 
> --
> 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
>
>
--
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


Re: [Savonet-users] fdkaac + liquidsoap + Raspberry Pi 3 B

2018-03-23 Thread Romain Beauxis
Hi,

2018-03-23 12:05 GMT-05:00 technic2radio.fr :
> Hi,
>
> It does not works with 32kbps

Please, refer to the documentation at:
http://wiki.hydrogenaud.io/index.php?title=Fraunhofer_FDK_AAC#HE-AAC.2FSBR
for more details, you will have to experiment with different parameters
before it works. For instance, I see you have sbr_mode=false but HE-AAC v2
implies SBR so you prolly should set this to true or leave it alone
entirely.

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


Re: [Savonet-users] fdkaac + liquidsoap + Raspberry Pi 3 B

2018-03-23 Thread technic2radio.fr
Hi,

It does not works with 32kbps

2018/03/23 17:00:23 >>> LOG START
2018/03/23 17:00:22 [main:3] Liquidsoap 1.3.3
2018/03/23 17:00:22 [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 17:00:23 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2018/03/23 17:00:23 [frame:3] Frame size must be a multiple of 1764
ticks = 1764 audio samples = 1 video samples.
2018/03/23 17:00:23 [frame:3] Targetting 'frame.duration': 0.04s =
1764 audio samples = 1764 ticks.
2018/03/23 17:00:23 [frame:3] Frames last 0.04s = 1764 audio samples =
1 video samples = 1764 ticks.
2018/03/23 17:00:23 [threads:3] Created thread "generic queue #1".
2018/03/23 17:00:23 [threads:3] Created thread "generic queue #2".
2018/03/23 17:00:23 [threads:3] Created thread "non-blocking queue #1".
2018/03/23 17:00:23 [threads:3] Created thread "non-blocking queue #2".
2018/03/23 17:00:23 [threads:3] Created thread "input.alsa_6186" (1 total).
2018/03/23 17:00:23 [input.alsa_6186:3] Using ALSA 1.1.3.
2018/03/23 17:00:23 [clock.wallclock_alsa:2] Error when starting
output Graffiti_Urban_Radio: Invalid configuration!
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Raised by primitive
operation at file "fdkaac.ml", line 217, characters 4-19
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"list.ml", line 73, characters 12-15
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"encoder/fdkaac_encoder.ml", line 94, characters 4-49
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"encoder/fdkaac_encoder.ml", line 98, characters 14-32
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"outputs/icecast2.ml", line 505, characters 12-46
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"tools/start_stop.ml", line 99, characters 6-16
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Called from file
"clock.ml", line 237, characters 19-37
2018/03/23 17:00:23 [threads:3] Created thread "wallclock_alsa" (2 total).
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Streaming loop starts,
synchronized by active sources.
2018/03/23 17:00:23 [main:3] Shutdown started!
2018/03/23 17:00:23 [main:3] Waiting for threads to terminate...
2018/03/23 17:00:23 [threads:3] Thread "input.alsa_6186" terminated (1
remaining).
2018/03/23 17:00:23 [clock.wallclock_alsa:3] Streaming loop stopped.
2018/03/23 17:00:23 [threads:3] Thread "wallclock_alsa" terminated (0
remaining).
2018/03/23 17:00:23 [main:3] Threads terminated.
2018/03/23 17:00:23 [threads:3] Shutting down scheduler...
2018/03/23 17:00:23 [threads:3] Scheduler shut down.
2018/03/23 17:00:23 [threads:3] Thread "generic queue #1" terminated.
2018/03/23 17:00:23 [main:3] Cleaning downloaded files...
2018/03/23 17:00:23 [main:3] Freeing memory...
2018/03/23 17:00:23 >>> LOG END

2018-03-23 17:24 GMT+01:00 Romain Beauxis :

> Hi,
>
> Some FDK-AAC parameters are only valid in relations with each other. I
> believe that for this one you need at least to lower bitrate to 32kbps.
>
> You can find more documentation about these here: http://wiki.hydrogenaud.
> io/index.php?title=Fraunhofer_FDK_AAC
>
> Romain
>
--
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


Re: [Savonet-users] fdkaac + liquidsoap + Raspberry Pi 3 B

2018-03-23 Thread Romain Beauxis
Hi,



2018-03-23 11:09 GMT-05:00 technic2radio.fr :
>
> 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 = "",
> mount = "radio",
> name="Radio",
> genre="alternative",
> stream)
>
> it's works ! but when I add "aot="mpeg2_he_aac_v2"", it does not work.

Some FDK-AAC parameters are only valid in relations with each other. I
believe that for this one you need at least to lower bitrate to 32kbps.

You can find more documentation about these here: http://wiki.hydrogenaud.
io/index.php?title=Fraunhofer_FDK_AAC

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