gst equivalent off ffmpeg pkt_size for udpsink

vanderhoffer vanderhoffer at gmail.com
Tue Jan 10 16:36:26 UTC 2017


Hi All,

Using the pipeline i C below, I have some packets moving between gstremer
and a media server(or ffmpeg) on a different machine, however when I ffprobe
I get the error.

[h264 @ 0x18514e0] decode_slice_header error
[h264 @ 0x18514e0] no frame!
[h264 @ 0x18514e0] non-existing PPS 0 referenced
    Last message repeated 1 times


Using ffmpeg to send with the following works fine,
/*-vcodec libx264  -vb 150000 -g 60 -vprofile baseline -level 2.1 \
-acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict
experimental \
-f mpegts udp://10.0.10.237:10000?pkt_size=1316*/

my pipeline is 

/*elem_1 = gst_element_factory_make ("x264enc", elem_name);
elem_3 = gst_element_factory_make ("capsfilter", elem_name);
 g_object_set( G_OBJECT ( elem_5 ),  "caps",  elem_5_caps, NULL ); // w,h,fr
elem_5 = gst_element_factory_make ("mpegtsmux", elem_name);
 //g_object_set( G_OBJECT ( elem_5 ),  "alignment",  "7", NULL ); // Did not
work, blocked pipeline
elem_7 = gst_element_factory_make ("udpsink", elm_name);
g_object_set( G_OBJECT ( elem_7 ),  "caps",  "application/x-rtp", NULL );*/

Do I need to add something like /*rndbuffersize*/ or /*rtpL16pay mtu=1316*/
to the pipeline?

where would I add these, between /*5 & 7*/ or /*3 & 5*/

thx
Art



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-equivalent-off-ffmpeg-pkt-size-for-udpsink-tp4681387.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list