audiotestsrc timing information

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

audiotestsrc timing information

Anand Sivaram
Dear All,

Is there any way, by which some audible time stamp information could be added to audiotestsrc plugin?  What I mean is similar to videotestsrc !  timeoverlay in the case of video.

Basically, I would like to do delay measurement for video and audio over RTP.  I could do for the video by the following.

                                 / autovideosink
videotestsrc - timeoverlay - tee
                                 \ x264enc - rtph264pay - udpsink
udpsrc - rtph264depay - decodebin - autovideosink


Now, If I could compare both autovideosink simultaneously, I could get an estimate of video encoder/decoder rtp packetzer/depacketizer delay.

I would like to do similar for AAC audio.  If I could an "equivalent" of timeoverlay for audio, then I could use the same concept.

Any idea would be really appreciated.

Thanks and Regards

Anand



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: audiotestsrc timing information

dabrain34
Dear Anand,

I assume you should be able to have some audible timestamp with this
pipeline

gst-launch-1.0 audiotestsrc wave=ticks apply-tick-ramp=true
tick-interval=100000000 freq=10000 volume=0.4 marker-tick-period=10
sine-periods-per-tick=20 ! autoaudiosink
 

This pipeline produces a series of 10 kHz sine wave ticks. Each tick is
20 sine wave periods long, ticks occur every 100 ms and have a volume of
0.4. Every 10th tick is a marker tick and has the default marker tick volume
of 1.0. The beginning and end of the ticks are modulated with the ramp.

Hope it helps.

Stéphane



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: audiotestsrc timing information

Anand Sivaram
Hello Stéphane,

Thank you very much for pointing this out.  I guess I will have to compile gstreamer-plugins-base from the source because I am using 1.14.4 Debian version now.  I went through the source code and this feature got implemented recently.  I will definitely try that.

Thanks and Regards

Anand


On Thu, 9 May 2019 at 18:56, dabrain34 <[hidden email]> wrote:
Dear Anand,

I assume you should be able to have some audible timestamp with this
pipeline

gst-launch-1.0 audiotestsrc wave=ticks apply-tick-ramp=true
tick-interval=100000000 freq=10000 volume=0.4 marker-tick-period=10
sine-periods-per-tick=20 ! autoaudiosink


This pipeline produces a series of 10 kHz sine wave ticks. Each tick is
20 sine wave periods long, ticks occur every 100 ms and have a volume of
0.4. Every 10th tick is a marker tick and has the default marker tick volume
of 1.0. The beginning and end of the ticks are modulated with the ramp.

Hope it helps.

Stéphane



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel