Avimux refuses caps when sending JPEGs over UDP
charlesu
charles at au-zone.com
Thu Jan 19 21:10:09 UTC 2017
I have dug a little deeper on this and it seems to be stuck at the following:
0:00:00.351575666 GST_CAPS
gstpad.c:3014:gst_pad_query_caps_default:<avimux0:video_0> result 0xb5404600
video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b004000001b59113000001000000012000c8888007d28045a14103,
parsed=(boolean)true, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:00.355332000 GST_PADS
gstpad.c:3095:gst_pad_query_default:<avimux0:video_0> not forwarding
0xb5402120 (caps) query
0:00:00.355417333 GST_PADS gstpad.c:3589:gst_pad_query:<avimux0:video_0>
sent query 0xb5402120 (caps), result 1
0:00:00.355486000 GST_CAPS
gstutils.c:2776:gst_pad_query_caps:<avimux0:video_0> query returned
video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b004000001b59113000001000000012000c8888007d28045a14103,
parsed=(boolean)true, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:00.355737333 GST_PADS
gstpad.c:2941:gst_pad_query_accept_caps_default:<avimux0:video_0> allowed
caps subset video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b004000001b59113000001000000012000c8888007d28045a14103,
parsed=(boolean)true, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 2147483647/1 ],
caps video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b004000001b59113000001000000012000c8888007d28045a14103,
parsed=(boolean)true, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1
0:00:00.355991333 GST_PADS
gstpad.c:3095:gst_pad_query_default:<avimux0:video_0> not forwarding
0xb54020f0 (accept-caps) query
0:00:00.356057333 GST_PADS gstpad.c:3589:gst_pad_query:<avimux0:video_0>
sent query 0xb54020f0 (accept-caps), result 1
0:00:00.356137000 GST_PADS gstpad.c:3589:gst_pad_query:<capsfilter0:sink>
sent query 0xb54020c0 (accept-caps), result 1
0:00:00.356207000 GST_CAPS
gstpad.c:5030:pre_eventfunc_check:<capsfilter0:sink> caps video/mpeg,
mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b004000001b59113000001000000012000c8888007d28045a14103,
parsed=(boolean)true, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1 not accepted
0:00:00.356341666 GST_PADS
gstpad.c:5235:gst_pad_send_event_unchecked:<capsfilter0:sink> pre event
check failed
The allowed caps has framerate in it but the caps that it checks against
does not. The debug log is obtained with the following pipeline.
GST_DEBUG=3,*CAPS*:6,*PAD*:6 gst-launch-1.0 udpsrc address=127.0.0.1
port=8888 caps="application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)4,
config=(string)000001b004000001b59113000001000000012000c8888007d28045a14103,
payload=(int)96, ssrc=(uint)48003208, timestamp-offset=(uint)4244557471,
seqnum-offset=(uint)28562" ! rtpmp4vdepay ! mpeg4videoparse !
video/mpeg,framerate=15/1 ! avimux ! filesink location=/tmp/test.avi
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Avimux-refuses-caps-when-sending-JPEGs-over-UDP-tp4677838p4681567.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list