Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) dGPU
• DeepStream Version 6.1.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 515.65.01
• Issue Type( questions, new requirements, bugs) bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
SmartRecord can record audio in DeepStream 6.0.1,
but can’t record audio in DeepStream 6.1.1
How to reproduce the issue
prepare rtsp
docker run --rm --name rtspserver -itd --network=host -e RTSP_PROTOCOLS=tcp aler9/rtsp-simple-server
ffmpeg -re -stream_loop -1 -i sample_1080p_h264.mp4 -c:v libx264 -r 30 -bf 0 -g 1 -c:a copy -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
DS 6.0.1 works
nvidia-docker run --rm -it nvcr.io/nvidia/deepstream:6.0.1-triton
cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-testsr/
CUDA_VER=11.4 make -j
URI=rtsp://127.0.0.1:8554/mystream
./deepstream-testsr-app $URI --bbox-enable=0 --enc-type=1 --sink-type=1 --sr-mode=0
Log is like below and the output mp4 contains video+audio
Running...
In cb_newpad
In cb_newpad
Recording started..
Recording done.
Recording started..
DS6.1.1 try1 does not work
nvidia-docker run --rm -it nvcr.io/nvidia/deepstream:6.1.1-triton
cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-testsr/
CUDA_VER=11.7 make -j
URI=rtsp://127.0.0.1:8554/mystream
./deepstream-testsr-app $URI --bbox-enable=0 --enc-type=1 --sink-type=1 --sr-mode=0
The log is like below.
Running...
Recording started..
In cb_newpad
In cb_newpad
ERROR from element audio-parser-pre-recordbin: Your GStreamer installation is missing a plug-in.
Error details: gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:dstest-sr-pipeline/GstParseBin:audio-parser-pre-recordbin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1190)
Returned, stopping playback
Deleting pipeline
DS 6.1.1 try2 does not work (apt install then run the binary)
apt-get install --reinstall --no-install-recommends -y libavcodec58 libavcodec-dev libavformat58 libavformat-dev libavutil56 libavutil-dev gstreamer1.0-libav
./deepstream-testsr-app $URI --bbox-enable=0 --enc-type=1 --sink-type=1 --sr-mode=0
The output mp4 contains video but does not contain audio.
The log is like below.
Running...
In cb_newpad
In cb_newpad
Recording started..
Recording done.
** ERROR: <RunUserCallback:207>: No video stream found
** ERROR: <RunUserCallback:212>: No audio stream found
Recording started..
DS 6.1.1 try3
I changed container type from mp4 to mkv but the output mkv does not contain audio.
Running...
In cb_newpad
In cb_newpad
Recording started..
Recording done.
** ERROR: <RunUserCallback:212>: No audio stream found
Recording started..
Thanks.