video - Changing parameters in real time -
i running pipeline gstreamer
.
is there way change parameters of application/x-rtp
in real time?
for example- "play-speed" field.
maybe events? couldn't understand how.
edit:
the main problem using seek event "pcapparse". when load mp4 file, seek event works great.
but when load pcap file, nothing happens on seek event.
those 2 pipelines:
data.pipeline = gst_parse_launch ("filesrc name=my_filesrc ! queue ! decodebin2 ! autovideosink", null); data.pipeline = gst_parse_launch ("filesrc name=my_filesrc ! queue ! pcapparse caps=\"application/x-rtp, payload=(int)96, media=(string)video, clock-rate=(int)90000, encoding-name=(string)h264, **play-speed=2.0**\" ! queue ! gstrtpjitterbuffer latency=100 ! decodebin2 ! autovideosink", null);
i found can control video speed "play-speed" on "application/x-rtp". problem have set before hit play button- not in real time.
i'd if send seek, changes play-back speed pipeline, has "application/x-rtp" caps renegotiate them.
Comments
Post a Comment