How can I add the audio to the above pipeline which is in the .ts file to the .mp4 file. The audio info of the .ts file
Audio
ID : 66 (0x42)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 2 min 10 s
Bit rate mode : Variable
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -416 ms
Language : English
In my application I need to run encoding of 2 1080p streams with audio from v4l2rc sources while the file is being converted. ffmpeg uses much cpu so that the encoding process with looses frames in the encoded output. When I tried with above gstreamer pipeline that did not occur.
Since the video wrapping from ts to mp4 work using the above pipeline gstreamer Is there a method to mux the audio from the file using gstreamer?
And, Is it possible to run the ffmpeg commans utilizing the GPU of jetson nano?