Streaming mp4 file with "appsrc" and "rtph264pay"

Ugly Face xuchangxue365812 at 126.com
Fri Mar 7 23:35:34 PST 2014


I have learned to use appsrc to play an mp4 file . My c code works fine with
my mp4 file . my pipe is "appsrc ! h264parse ! ffdec_h264 ! xvimagesink" .
However , After I change my pipeline to "appsrc ! h264parse ! rtph264pay !
udpsink" . The h264parse begins to give this info  

0:00:00.206605285  7755       0x8ad0f0 DEBUG              h264parse
gsth264parse.c:543:gst_h264_parse_process_nal:<parser> frame start: 1
0:00:00.206615434  7755       0x8ad0f0 DEBUG              h264parse
gsth264parse.c:553:gst_h264_parse_process_nal:<parser> parse result 0, first
MB: 0, slice type: 5
 
and the reciever give a black window. I check my code , and I find nothing
is changed for "appsrc" and "h264parse" .I do not know why. could anyone
give me any advice? 

my gstreamer version 0.10

Gorge Y.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-mp4-file-with-appsrc-and-rtph264pay-tp4665825.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list