• Hardware Platform (Jetson / GPU) : NVIDIA Jetson AGX Orin
• DeepStream Version : 7.1
• JetPack Version (valid for Jetson only) : 6.1
• TensorRT Version : 8.6.2.3
• Issue Type( questions, new requirements, bugs) : question
Hello,
I am trying to create an audio pipeline that precisely splits audio into raw aac 1-second
files. Here is my current GStreamer pipeline which I would like to rewrite later to Python DeepStream app:
gst-launch-1.0 -e audiotestsrc wave=4 is-live=true ! queue ! audio/x-raw, format=S16LE, layout=interleaved, rate=44100, channels=2 ! voaacenc ! aacparse ! audio/mpeg, mpegversion=4, stream-format=adts ! multifilesink location=a_temp%06d.aac next-file="max-duration" max-file-duration=1000000000
After examining the generated files, I noticed that they are not exactly 1 second long. Running ffprobe on one of the files shows that the duration is approximately 1.02 seconds instead of precisely 1 second.
ffprobe a_temp000002.aac
ls -al --time-style=full-iso
Issue
Despite setting max-file-duration=1000000000
(1 second), the files exceed this duration.
Question
How can I modify my pipeline to ensure each file is exactly 1.00 seconds long?
Any insights or suggestions would be greatly appreciated!