Hi,
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 : The .mov file content is for 30 seconds. Any insight would be appreciated. Thank you My first attempt : C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 filesrc location=C:\\test.mov ! queue ! decodebin ! autovideosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Redistribute latency... ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error. Additional debug info: ../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... Second attempt : 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 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:11.745902600 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... 3rd Attempt : 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 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Redistribute latency... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3005): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo: There may be a timestamping problem, or this computer is too slow. handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:12:56.520797700 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... 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 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Redistribute latency... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:42.206500200 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... 4th attempt : 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 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Redistribute latency... handling interrupt. Interrupt: Stopping pipeline ... ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline . _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
If you add "--gst-debug-level=3" after gst-launch-1.0 then you can see any warning and error logs. Does it play using gst-play-1.0? On Sun, Nov 24, 2019, 7:40 AM Vasu Dev <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |