AW: Gstreamer output to a buffer then file On Jetson tegra Tx2

Thornton, Keith keith.thornton at zeiss.com
Thu Feb 1 08:10:23 UTC 2018


Hi, you could do this by ending one pipeline with appsink and starting a separate pipeline with appsrc. There are probably other ways to do this depending upon what you are really trying to achieve.

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von aasim
Gesendet: Donnerstag, 1. Februar 2018 08:28
An: gstreamer-devel at lists.freedesktop.org
Betreff: Gstreamer output to a buffer then file On Jetson tegra Tx2

Hi Experts, 

I am new to gstreamer  world of multimedia, i am stuck in gstreamer issues, kindly help me solve it.
I am doing  capturing + encoding video + encoding audio + muxing on tegra tx2.

Current task :
completed task.
1) capturing video+  encoding video *i used tegra multimedia API's* and storing in buffer .


2) capturing audio + encoding audio + muxing *i  am using gstreamer API
code*.
gstreamer takes encode video data from my bufferers +  captures audio +
encode audio data and mux it and write to file .mp4
*
Problem :*

*I want the muxed data to be stored in local bufferers* (char* pst =
(char*)malloc(10000);) 

1) How can i store gstreamer output  to local buffer?
or 2) How to pass local buffer to  gstreamer to store its output.

Below is the code & compilation procedure   in this link:
https://devtalk.nvidia.com/default/topic/1029025/how-to-capture-audio-on-tx2-/#5236282
<https://devtalk.nvidia.com/default/topic/1029025/how-to-capture-audio-on-tx2-/#5236282>  

I have attached the latest file also. 

main.cpp <http://gstreamer-devel.966125.n4.nabble.com/file/t378175/main.cpp>  
 



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


More information about the gstreamer-devel mailing list