Hello,
I have MKV, recodred my gstreamer video: appsrc ! 'video/x-raw-rgb,width=800,height=600,framerate=24/1' ! jpegenc ! matroskamux ! filesink 2 subtitles truks: appsrc ! '"text/x-raw' ! matroskamux ! filesink when i am trying to play it gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0! jpegdec ! autovideosink i have this error Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMatroskaDemux:mux: Internal data stream error. Additional debug info: matroska-demux.c(4759): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstMatroskaDemux:mux: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... What is wrong? Can you help me please to play it Thank you in advance. |
There's a few potential problems here. Rather than figuring out what they are, I'd suggest you just try playing it with gst-play-1.0 first, rather than manually constructing the pipeline. You can them dump the resulting pipeline to a dot file and view it if you'd like to get an idea of how to manually construct. On 26 September 2016 at 18:13, Mikl <[hidden email]> wrote: Hello, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello, Duncan
Thank you for the answer.
I can play back video using gst-play-1.0.
Can you be more specific, please, about how to "them dump the resulting pipeline to a dot file". It is no options at gst-play-1.0 to dump constructed pipeline in console.
From: Duncan Palmer-2 [via GStreamer-devel] <ml-node+[hidden email]>
Sent: Friday, September 30, 2016 12:02:07 AM To: Michael Yarochkin Subject: Re: Can not play MKV There's a few potential problems here. Rather than figuring out what they are, I'd suggest you just try playing it with gst-play-1.0 first, rather than manually constructing the pipeline. You can them dump the resulting pipeline to a dot file
and view it if you'd like to get an idea of how to manually construct.
On 26 September 2016 at 18:13, Mikl <[hidden email]> wrote:
Hello, I have MKV, recodred my gstreamer video: appsrc ! 'video/x-raw-rgb,width=800, jpegenc ! matroskamux ! filesink 2 subtitles truks: appsrc ! '"text/x-raw' ! matroskamux ! filesink when i am trying to play it gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0! jpegdec ! autovideosink i have this error Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/ data stream error. Additional debug info: matroska-demux.c(4759): gst_matroska_demux_loop (): /GstPipeline:pipeline0/ streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... What is wrong? Can you help me please to play it Thank you in advance. -- View this message in context: http://gstreamer-devel.966125. Sent from the GStreamer-devel mailing list archive at Nabble.com. ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Can-not-play-MKV-tp4679788p4679857.html
|
Duncan, install dot utility ( from graphviz package if you are usbing ubuntu )You need to export the variable as below export GST_DEBUG_DUMP_DOT_DIR=/tmp (or any dir) For e.g dot -Tpng /tmp/0.00.00.710265346-gst-launch.PAUSED_PLAYING.dot > pipeline.pngeog pipeline.png On 30 September 2016 at 12:18, Mikl [via GStreamer-devel] <[hidden email]> wrote:
|
In reply to this post by Mikl
I meant Miki instead of Duncan On 30 September 2016 at 12:38, Sudip Jain <[hidden email]> wrote:
|
In reply to this post by sudipj
Hello, Sudip
Sorry for stupid question, but how to do it? Can you give step by step description of how to dump pipeline in dot
file, please? Using gst-play-1.0 with some keys?
I have dot utility from graphviz.org.
Mikl From: sudipj [via GStreamer-devel] <ml-node+[hidden email]>
Sent: Friday, September 30, 2016 9:02:47 AM To: Michael Yarochkin Subject: Re: Can not play MKV Duncan,
install dot utility ( from graphviz package if you are usbing ubuntu )You need to export the variable as below export GST_DEBUG_DUMP_DOT_DIR=/tmp (or any dir) For e.g
dot -Tpng /tmp/0.00.00.710265346-gst-launch.PAUSED_PLAYING.dot > pipeline.pngeog pipeline.png On 30 September 2016 at 12:18, Mikl [via GStreamer-devel]
<[hidden email]> wrote:
Hello, Duncan
Thank you for the answer.
I can play back video using gst-play-1.0.
Can you be more specific, please, about how to "them dump the resulting pipeline to a dot file". It is no options at gst-play-1.0 to dump constructed pipeline in console.
From: Duncan Palmer-2 [via GStreamer-devel] <ml-node+[hidden
email]>
Sent: Friday, September 30, 2016 12:02:07 AM To: Michael Yarochkin Subject: Re: Can not play MKV There's a few potential problems here. Rather than figuring out what they are, I'd suggest you just try playing it with gst-play-1.0 first, rather than manually constructing the pipeline. You can them dump the resulting pipeline to a dot file
and view it if you'd like to get an idea of how to manually construct.
On 26 September 2016 at 18:13, Mikl <[hidden email]> wrote:
Hello, I have MKV, recodred my gstreamer video: appsrc ! 'video/x-raw-rgb,width=800,hei jpegenc ! matroskamux ! filesink 2 subtitles truks: appsrc ! '"text/x-raw' ! matroskamux ! filesink when i am trying to play it gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0! jpegdec ! autovideosink i have this error Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMatr data stream error. Additional debug info: matroska-demux.c(4759): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstMatr streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... What is wrong? Can you help me please to play it Thank you in advance. -- View this message in context: http://gstreamer-devel.966125. Sent from the GStreamer-devel mailing list archive at Nabble.com. ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.
To start a new topic under GStreamer-devel, email
[hidden email]
To unsubscribe from GStreamer-devel, click here. NAML If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Can-not-play-MKV-tp4679788p4679863.html
|
In reply to this post by sudipj
Hello, Sudip
I am using windows.
Mikl From: sudipj [via GStreamer-devel] <ml-node+[hidden email]>
Sent: Friday, September 30, 2016 9:12:00 AM To: Michael Yarochkin Subject: Re: Can not play MKV I meant Miki instead of Duncan
On 30 September 2016 at 12:38, Sudip Jain
<[hidden email]> wrote:
Duncan,
install dot utility ( from graphviz package if you are usbing ubuntu )You need to export the variable as below export GST_DEBUG_DUMP_DOT_DIR=/tmp (or any dir) For e.g
dot -Tpng /tmp/0.00.00.710265346-gst-eog pipeline.png On 30 September 2016 at 12:18, Mikl [via GStreamer-devel]
<[hidden email]> wrote:
Hello, Duncan
Thank you for the answer.
I can play back video using gst-play-1.0.
Can you be more specific, please, about how to "them dump the resulting pipeline to a dot file". It is no options at gst-play-1.0 to dump constructed pipeline in console.
From: Duncan Palmer-2 [via GStreamer-devel] <ml-node+[hidden
email]>
Sent: Friday, September 30, 2016 12:02:07 AM To: Michael Yarochkin Subject: Re: Can not play MKV There's a few potential problems here. Rather than figuring out what they are, I'd suggest you just try playing it with gst-play-1.0 first, rather than manually constructing the pipeline. You can them dump the resulting pipeline to a dot file
and view it if you'd like to get an idea of how to manually construct.
On 26 September 2016 at 18:13, Mikl <[hidden email]> wrote:
Hello, I have MKV, recodred my gstreamer video: appsrc ! 'video/x-raw-rgb,width=800,hei jpegenc ! matroskamux ! filesink 2 subtitles truks: appsrc ! '"text/x-raw' ! matroskamux ! filesink when i am trying to play it gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0! jpegdec ! autovideosink i have this error Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMatr data stream error. Additional debug info: matroska-demux.c(4759): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstMatr streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... What is wrong? Can you help me please to play it Thank you in advance. -- View this message in context: http://gstreamer-devel.966125. Sent from the GStreamer-devel mailing list archive at Nabble.com. ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.
To start a new topic under GStreamer-devel, email
[hidden email]
To unsubscribe from GStreamer-devel, click here. NAML If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Can-not-play-MKV-tp4679788p4679866.html
|
In reply to this post by sudipj
Hello,
I get it! Sorry. Here is result.
Mikl
From: sudipj [via GStreamer-devel] <ml-node+[hidden email]>
Sent: Friday, September 30, 2016 9:12:00 AM To: Michael Yarochkin Subject: Re: Can not play MKV I meant Miki instead of Duncan
On 30 September 2016 at 12:38, Sudip Jain
<[hidden email]> wrote:
Duncan,
install dot utility ( from graphviz package if you are usbing ubuntu )You need to export the variable as below export GST_DEBUG_DUMP_DOT_DIR=/tmp (or any dir) For e.g
dot -Tpng /tmp/0.00.00.710265346-gst-eog pipeline.png On 30 September 2016 at 12:18, Mikl [via GStreamer-devel]
<[hidden email]> wrote:
Hello, Duncan
Thank you for the answer.
I can play back video using gst-play-1.0.
Can you be more specific, please, about how to "them dump the resulting pipeline to a dot file". It is no options at gst-play-1.0 to dump constructed pipeline in console.
From: Duncan Palmer-2 [via GStreamer-devel] <ml-node+[hidden
email]>
Sent: Friday, September 30, 2016 12:02:07 AM To: Michael Yarochkin Subject: Re: Can not play MKV There's a few potential problems here. Rather than figuring out what they are, I'd suggest you just try playing it with gst-play-1.0 first, rather than manually constructing the pipeline. You can them dump the resulting pipeline to a dot file
and view it if you'd like to get an idea of how to manually construct.
On 26 September 2016 at 18:13, Mikl <[hidden email]> wrote:
Hello, I have MKV, recodred my gstreamer video: appsrc ! 'video/x-raw-rgb,width=800,hei jpegenc ! matroskamux ! filesink 2 subtitles truks: appsrc ! '"text/x-raw' ! matroskamux ! filesink when i am trying to play it gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0! jpegdec ! autovideosink i have this error Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMatr data stream error. Additional debug info: matroska-demux.c(4759): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstMatr streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... What is wrong? Can you help me please to play it Thank you in advance. -- View this message in context: http://gstreamer-devel.966125. Sent from the GStreamer-devel mailing list archive at Nabble.com. ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.
To start a new topic under GStreamer-devel, email
[hidden email]
To unsubscribe from GStreamer-devel, click here. NAML If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Can-not-play-MKV-tp4679788p4679866.html
1.txt (29K) Download Attachment |
In reply to this post by sudipj
Hello,
My pipeline diagram is in attachment.
I don`t see any critical mistake in what i am doing.
Can you point it please?
Mikl
pipeline.png (875K) Download Attachment |
Mikl, I guess videoconvert element is needed between decoder and sink gst-launch-1.0 filesrc location=C:\\test\\test.mkv ! matroskademux name=mux mux.video_0 ! jpegdec ! videocinvert ! autovideosink as in the gst-play graph, videosink negotiated is d3dvideosink, it can be used directly in above pipeline. On 30 September 2016 at 14:56, Mikl [via GStreamer-devel] <[hidden email]> wrote:
|
Hello,
YESSSSS!!!!!!!
IT IS A LIVE
videoconvert was missing
But this was a test of correct recording only.
My main task is to read frames inside application: filesrc location=C:\\videoid\\video\\1474531038942.mkv ! matroskademux name=mux mux.video_0 ! jpegdec ! appsink
with extracting frames one by one.
Do i need videoconvert also there?
Mikl
|
There is no restriction on usage of videoconvert. You can also fix the format by putting a caps filter in front of jpeg decoder, based on what formats application can accept. for e.g ... ! jpegdec ! video/x-raw, format = xx ! appsink Sudip On 30 September 2016 at 17:20, Mikl [via GStreamer-devel] <[hidden email]> wrote:
|
On Fri, 2016-09-30 at 05:25 -0700, sudipj wrote:
> There is no restriction on usage of videoconvert. > > You can also fix the format by putting a caps filter in front of jpeg > decoder, based on what formats application can accept. > > for e.g > ... ! jpegdec ! video/x-raw, format = xx ! appsink That's not going to work, I presume you forgot the videoconvert there? ... ! jpegdec ! videoconvert ! appsink caps=video/x-raw,format=RGB Cheers -Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com Join us at the GStreamer Conference! 10-11 October 2016 in Berlin, Germany http://gstreamer.freedesktop.org/conference/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |