Secondly, I have 2 questions:
Q1: Can I implement a deepstream pipeline like the image below. If cannot, could you explain why?
Q2: In case, I wanna run both nvinfer and nvinfer-audio, I have to follow deepstream-6.1/sources/apps/sample_apps/deepstream-avsync, right? or do you have any other method to do without external service like riva?
Because nvstreamdemux has some issue with audio batch, my custom-plugin-2 after nvinfer-audio has to run frame by frame, cannot parallel.
So if I run the pipeline like the image blow, how can I sync frame and audio for further processing? and should I change my pipeline using riva service like example deepstream-avsync?
@Fiona.Chen
I wanna save the raw audio for further processing so
Could you mind showing me the source code or any example to get the raw audio of the pipeline at tiler_sink_pad_buffer_probe (for example)? Thank you so much.
You can save the wav data after “avdec_aac” with “wavenc”. This is basic audio decoding and GStreamer skills. GStreamer: open source multimedia framework. Please google by yourself.