"do-timestamp" leds to [ no 'moov' atom within the first 10 MB ] problem in pipeline
Sebastian Dröge
sebastian at centricular.com
Wed Jan 6 00:14:26 PST 2016
On Di, 2016-01-05 at 05:17 -0800, Ashish Kumar Mishra wrote:
> Hi All ,
>
> (w.r.t video playback , not considering the audio-video sync aspect
> as of
> now )
>
> 1) Below is the pipeline ( actual implementation is in C code ) :-
> filesrc -> qtdemux -> avdec_h264 -> videoconvert -> timeoverlay
> -> q1
>
>
> -> avimux -> filesink
>
> audiotestsrc -> capsfilter -> q2
>
> 2) Clock is set by gst_pipeline_set_clock(GST_PIPELINE (pipeline),
> gst_system_clock_obtain())
If you want to force the system clock to be used you have to use
gst_pipeline_use_clock(), not gst_pipeline_set_clock().
> 3) Problem Statement :-
> ----------------------
> a) filesrc ( "do-timestamp" = FALSE ) + audiotestsrc ( "do-
> timestamp" =
> TRUE )
> The created file seek bar plays for 2sec properly.
> Then the complete playback "PAUSE" with seek bar buffers for next
> 3sec.
> The complete file playback resumes. This continues for the total
> duration of file.
What do you mean with pause and buffer here? The pipeline goes to
PAUSED state and you get BUFFERING messages? Or does it just hang for a
bit and then continues?
> b) filesrc ( "do-timestamp" = TRUE ) + audiotestsrc ( "do-
> timestamp" =
> TRUE )
> The pipeline fails throwing error
> ERROR: from element /GstPipeline:pipeline/GstQTDemux:qtdemux0:
> GStreamer encountered a
> general stream error.
> Additional debug info:
> qtdemux.c(6065): gst_qtdemux_process_adapter ():
> /GstPipeline:pipeline/GstQTDemux:qtdemux0:
> no 'moov' atom within the first 10 MB
do-timestamp=TRUE on filesrc is not going to work well as wrong
timestamps are going to be put on the buffers (the time whenever a
buffer is read!).
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160106/0b9b68c0/attachment-0001.sig>
More information about the gstreamer-devel
mailing list