Recoding flv video-streaming to MP4 format!

lovej 234443493 at qq.com
Tue Jun 9 18:25:48 PDT 2015


thanks for your reply ,Peter!

I place a queue after both parse elements, but the problem is still there!
from the debug information,I find that, when the difference between pts and
dts  is increasing to about 2s, the pipeline will block! if
I only recode video, the difference will increase always. The dts is
calculated by h264parse.


qtmux gstqtmux.c:2573:gst_qt_mux_handle_buffer:<mp4-muxer> selected pad
audio_0 with time 0:00:22.864000000
 qtmux gstqtmux.c:2434:gst_qt_mux_add_buffer:<mp4-muxer> Pad (audio_0) dts
updated to 0:00:22.864000000
 qtmux gstqtmux.c:2438:gst_qt_mux_add_buffer:<mp4-muxer> Adding 1 samples to
track, duration: 1024 size: 171 chunk offset: 1218583
 qtmux gstqtmux.c:2466:gst_qt_mux_add_buffer: dts: 0:00:22.800000000 pts:
0:00:22.800000000 timebase_dts: 364800 pts_offset: 0
 qtmux gstqtmux.c:1251:gst_qt_mux_send_buffer:<mp4-muxer> sending buffer
size 171
 qtmux gstqtmux.c:1267:gst_qt_mux_send_buffer:<mp4-muxer> downstream

 qtmux gstqtmux.c:2573:gst_qt_mux_handle_buffer:<mp4-muxer> selected pad
video_0 with time 0:00:24.934000000
 qtmux gstqtmux.c:2434:gst_qt_mux_add_buffer:<mp4-muxer> Pad (video_0) dts
updated to 0:00:22.880000000
 qtmux gstqtmux.c:2438:gst_qt_mux_add_buffer:<mp4-muxer> Adding 1 samples to
track, duration: 100 size: 952 chunk offset: 1218754
 qtmux gstqtmux.c:2466:gst_qt_mux_add_buffer: dts: 0:00:22.840000000 pts:
0:00:24.896000000 timebase_dts: 57100 pts_offset: 5140
 qtmux gstqtmux.c:1251:gst_qt_mux_send_buffer:<mp4-muxer> sending buffer
size 952
 qtmux gstqtmux.c:1267:gst_qt_mux_send_buffer:<mp4-muxer> downstream

qtmux gstqtmux.c:2573:gst_qt_mux_handle_buffer:<mp4-muxer> selected pad
video_0 with time 0:00:24.956000000
qtmux gstqtmux.c:2434:gst_qt_mux_add_buffer:<mp4-muxer> Pad (video_0) dts
updated to 0:00:22.920000000
qtmux gstqtmux.c:2438:gst_qt_mux_add_buffer:<mp4-muxer> Adding 1 samples to
track, duration: 100 size: 967 chunk offset: 1219706
qtmux gstqtmux.c:2466:gst_qt_mux_add_buffer: dts: 0:00:22.880000000 pts:
0:00:24.934000000 timebase_dts: 57200 pts_offset: 5135
qtmux gstqtmux.c:1251:gst_qt_mux_send_buffer:<mp4-muxer> sending buffer size
967
qtmux gstqtmux.c:1267:gst_qt_mux_send_buffer:<mp4-muxer> downstream






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Recoding-flv-video-streaming-to-MP4-format-tp4672195p4672231.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list