Gstreamer1.0 use appsink & appsrc ->vpu_h264->mp4mux->filesink,I find will got err as follows:
0:00:12.136406002 1021 0x1034120 FIXME basesink gstbasesink.c:3144:gst_base_sink_default_event:<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:12.144873002 1021 0x1034120 WARN qtmux gstqtmux.c:3486:gst_qt_mux_add_buffer:<mp4mux0> error: Buffer has no PTS.
Received error
0:00:12.155500335 1021 0x1034120 WARN qtmux gstqtmux.c:3486:gst_qt_mux_add_buffer:<mp4mux0> error: Buffer has no PTS.
my pipiline is :
("imxv4l2src device=/dev/video1 num-buffers=100 ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! appsink name=myappsink");
("appsrc name=appsrct ! vpuenc_h264 ! h264parse ! mp4mux ! filesink location=h2641_apd.avi");
But when I replace mp4mux with avimux,then I will get file with avi ok.
My question is:
1、How should I do to deal with the err of mp4mux?
2、Why to use avimux OK,but mp4mux ERR?