<div dir="auto">If you add "--gst-debug-level=3" after gst-launch-1.0 then you can see any warning and error logs.<div dir="auto"><br></div><div dir="auto">Does it play using gst-play-1.0?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 24, 2019, 7:40 AM Vasu Dev <<a href="mailto:vasu.stn@gmail.com">vasu.stn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>Have recently been using Gstreamer, have a sample .mov file , which have been attempting to play both the audio and video, attempts 2 through 4 have resulted in the audio and video playing for about 0.45 seconds to 2 seconds, and then the video frame freezes, and the audio stops. All my 4 attempts and the log from the commanline are below :</div><div><br></div><div>The .mov file content is for  30 seconds.</div><div><br></div><div>Any insight would be appreciated.</div><div>Thank you</div><div><br></div><div><br></div><div>My first attempt :<div><br></div><div>C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! queue ! decodebin ! autovideosink<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.<br>Additional debug info:<br>../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>streaming stopped, reason not-negotiated (-4)<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br></div><div><br></div><div>Second attempt :</div><div><br></div><div>C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! fakesink decoder. ! videoconvert ! autovideosink<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>handling interrupt.<br>Interrupt: Stopping pipeline ...<br>Execution ended after 0:00:11.745902600<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br></div><div><br></div><div>3rd Attempt :</div><div><br></div><div>C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! autoaudiosink decoder. ! videoconvert ! autovideosink<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>Redistribute latency...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstAudioSinkClock<br>WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo: A lot of buffers are being dropped.<br>Additional debug info:<br>../libs/gst/base/gstbasesink.c(3005): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:<br>There may be a timestamping problem, or this computer is too slow.<br>handling interrupt.<br>Interrupt: Stopping pipeline ...<br>Execution ended after 0:12:56.520797700<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br></div><div><br></div><div>C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! autoaudiosink decoder. ! queue ! videoconvert ! autovideosink<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>Redistribute latency...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstAudioSinkClock<br>handling interrupt.<br>Interrupt: Stopping pipeline ...<br>Execution ended after 0:00:42.206500200<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br></div><div><br></div><div><br></div><div>4th attempt :</div><div><br></div><div>C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! qtdemux name=demux  demux.audio_0 ! queue ! decodebin ! audioconvert ! audioresample ! autoaudiosink   demux.video_0 ! queue ! decodebin ! videoconvert ! videoscale ! autovideosink<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>handling interrupt.<br>Interrupt: Stopping pipeline ...<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline .<br></div><div><br></div><div><br></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>