Thanks for posting your updates here. It will surely be useful for other users.
I have committed a patch to display an error message and stop the audio processing when the audio formats don't match (which causes the issue you described): https://sourceforge.net/p/gpac/code/4991/
Romain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
If someone wants to have AAC audio output from DashCast, instead of "mp2",
you need the following steps.
Download and compile libav release 9:
http://www.libav.org/download.html#release_9
Modify file audio_muxer.h :
Modify file audio_muxer.c :
Modify file audio_encoder.c :
Regards,
Francesc
Hi!
To do the same with GPAC rev 4989 and ffmpeg 2.1.2, see the attached patch.
You must also modify the dashcast.conf:
[a1]
...
codec=aac
Francesc
Hi,
Thanks for posting your updates here. It will surely be useful for other users.
I have committed a patch to display an error message and stop the audio processing when the audio formats don't match (which causes the issue you described):
https://sourceforge.net/p/gpac/code/4991/
Romain
FYI the default codec is not AAC because it was not easy to get it on all platforms. We plan to solve it at some point.
FYI This was solved months ago. Please don't forget to compile your ffmpeg with the '--enable-avresample' flag. DashCast now enables AAC by default.