I can't mux the h.264 stream to the file.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

I can't mux the h.264 stream to the file.

Hecate_Eos
Hi everyone,
I have the bellow pipeline, it can work well in the command-line. But when I realize it in my program with c, it can't work. I don't know why??? It troubled me for a long time. 
                      .____________                                              |-->queue->ffdec_h264->videoscale->xvimagesink
udpsrc->queue-> |                  | ->queue -> rtph264depay -> tee->|
                      |  gstrtpbin     |                                             |-->queue->"video/x-h264,width=(int)640,heigth=(int)480,framerate=(fraction)25/1"->queue->matraskamux->filesink location="t.mkv"
udpsrc->queue-> |____________|->queue->udpsink

If I do not add the recording branch, just showing the video, it can work well in my program. But, if I add the recording branch, it does not work. It shows single one frame, and it stopped, it give me a static picture. At the same time, t.mkv has none of the data. I guess the problem must in the recording branch as I removed it in the program which can work well.
What's wrong in my pipeline? Or may be  is my program ?



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel