Page 1 of 1

MP2 encoder MPEG 1 Layer II

Posted: Tue Mar 28, 2023 5:30 pm
by abetest
Hi, someone known if using the ADF is possible to realtime encodes MP2 audio (MPEG1 Layer II) and encapsulate in TS to stream via UDP or RTP? This encoding standards is used in broadcasting trasmission like DVB and DAB/DAB+. If I can use the ESP32 I can very speedup the time to market of an audio encoder for these purpose.

Re: MP2 encoder MPEG 1 Layer II

Posted: Fri Mar 31, 2023 6:32 am
by tempo.tian
Currently there is no MP2 encoding yet, or you can port open source MP2 encode into IDF and do test.
Is it possible to use aac encoder instead, ADF already provide an optimized aac encoder and can mux into TS container also.
You can see https://github.com/espressif/esp-adf/bl ... av_muxer.c for details.

Re: MP2 encoder MPEG 1 Layer II

Posted: Tue Apr 04, 2023 9:56 am
by abetest
tempo.tian wrote: Currently there is no MP2 encoding yet, or you can port open source MP2 encode into IDF and do test.
Is it possible to use aac encoder instead, ADF already provide an optimized aac encoder and can mux into TS container also.
You can see https://github.com/espressif/esp-adf/bl ... av_muxer.c for details.
Thank you, it's possible to port open source MP2 into ADF (instead of IDF) to have the possibility to use the audio and av_muxer structures (with proper changes to support MP2) ?