some puzzles about appsrc

Tim Müller tim at centricular.com
Sat Nov 30 02:06:09 PST 2013


When you say an mp4 file, do you mean you want to push data of the whole container into the pipeline with appsrc and have a demuxer demux it, or are you talking about H.264 video data that you want to push into the pipeline?

Cheers
 -Tim

----- Original message -----
> Hi, Sorry to keep asking 
> 
> My goal is to insert my Mp4 file into my pipeline (My mp4 file is
> generated by Android device with MediaRecorder). After trying to get
> some example of appsrc , I find out that they all push raw data into
> pipeline which is different from my case.
> 
> It seems they all use pull mode with signal "need-data" and
> "enough-data" . they push frames wrapped by buffer into pipeline, in
> which case , the buffer size is fixed and can be easily calculated . And
> thing in their buffer is clear too ----- frame!
> 
> My question : Can I get my work done in this mode? 
>                                         If the answer is "yes" , what my buffer should
> contain (NALU)?
>                                           For all know about decoding , the decoder need some
> other information like sps and pps to do the work . The next question is
> : how can I push these information into my pipeline?
> 
> if my way is totally wrong , would you please be kindly to inform me
> anything that would be helpful?
> 
> Thanks
> 
> 
> 
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/some-puzzles-about-appsrc-tp4663720.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list