i’m receiving input as raw H264 NAL units contiguously from one port and mp2 audio from the another port .i need to multiplex this both and encode as a mpeg2 transport stream. To achieve this now i’m executing required ffmpeg command as a process inside my c++ project and i get the output perfectly. but, the problem is i can’t install ffmpeg in client system manually and i felt just for this single purpose using ffmpeg takes more cpu utilization also and handling external process also bit not reliable.
so , i need to add required libav (ex: libavcodec ,libavformat ) libraries in my project directly and compiling into a single project and calling the required functions for encoding and multiplexing process will increase the control of process and no need of installing ffmpeg. i need suggestion to do this. i’m using RHEL 8.3 and Thanks in advance
dhatchina is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.