gst-xmllaunch not working on file created from gst-launch

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-xmllaunch not working on file created from gst-launch

Greg Wunder
gst-xmllaunch not working on file created from gst-launch

Here I make a simplest case using Ubuntu, which works for gst-launch, but does not work for gst-xmllaunch:

gst-launch playbin uri="file:///home/nfan/Videos/001.mpg"

This works well, but then try:

1) gst-launch -o test.xml playbin uri="file:///home/nfan/Videos/001.mpg" (result: save of file works)
2) gst-xmllaunch test.xml

Result output of #2 is:

Setting pipeline to PAUSED ...
gst_mpegts_demux_base_init
Pipeline is PREROLLING ...
WARNING: from element /GstPlayBin:playbin0: Invalid subtitle URI "", subtitles disabled.
0:00:00.088855368  2372  0x902b598 ERROR                 ffmpeg :0:: warning: first frame is no keyframe

The execution paused without return, unless issuing a ctrl-C.

Is there something I'm missing with gst-xmllaunch or steps prior to this?


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file created from gst-launch

michael smith-6-3
On Thu, May 20, 2010 at 10:14 AM, Greg Wunder <[hidden email]> wrote:
> Here I make a simplest case using Ubuntu, which works for gst-launch, but
> does not work for gst-xmllaunch:

I don't think anyone ever uses or tests gst-xmllaunch. It's quite
likely to be completely broken.

As is serialising things _to_ xml.

Mike

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file created fromgst-launch

Greg Wunder
RE: [gst-devel] gst-xmllaunch not working on file created fromgst-launch

Any idea of gst-editor's use of GstXML works any better?

-----Original Message-----
From: Michael Smith [[hidden email]]
Sent: Thu 5/20/2010 1:18 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] gst-xmllaunch not working on file created fromgst-launch

On Thu, May 20, 2010 at 10:14 AM, Greg Wunder <[hidden email]> wrote:
> Here I make a simplest case using Ubuntu, which works for gst-launch, but
> does not work for gst-xmllaunch:

I don't think anyone ever uses or tests gst-xmllaunch. It's quite
likely to be completely broken.

As is serialising things _to_ xml.

Mike

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file created fromgst-launch

michael smith-6-3
On Thu, May 20, 2010 at 10:22 AM, Greg Wunder <[hidden email]> wrote:
> Any idea of gst-editor's use of GstXML works any better?

I wouldn't expect it to work. The GstXML stuff should really be
deprecated; there's no good reason to use it at all.

Mike

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file createdfromgst-launch

Greg Wunder
RE: [gst-devel] gst-xmllaunch not working on file createdfromgst-launch

Is there a better way to save off pipeline information?

-----Original Message-----
From: Michael Smith [[hidden email]]
Sent: Thu 5/20/2010 1:32 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] gst-xmllaunch not working on file createdfromgst-launch

On Thu, May 20, 2010 at 10:22 AM, Greg Wunder <[hidden email]> wrote:
> Any idea of gst-editor's use of GstXML works any better?

I wouldn't expect it to work. The GstXML stuff should really be
deprecated; there's no good reason to use it at all.

Mike

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file createdfromgst-launch

Tristan Matthews-2
2010/5/20 Greg Wunder <[hidden email]>

Is there a better way to save off pipeline information?


If it's just for debugging purposes, you can generate a dot file of your pipeline with the function GST_DEBUG_BIN_TO_DOT_FILE and setting the environment variable GST_DEBUG_DUMP_DOT_DIR to the path where you want to output the file, see:
http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html

Otherwise, to save and restore your pipeline you could use gst_parse_launch to create the pipeline and just save/reuse the pipeline description string, see:
http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstParse.html#gst-parse-launch

-T


-----Original Message-----
From: Michael Smith [[hidden email]]
Sent: Thu 5/20/2010 1:32 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] gst-xmllaunch not working on file createdfromgst-launch

On Thu, May 20, 2010 at 10:22 AM, Greg Wunder <[hidden email]> wrote:
> Any idea of gst-editor's use of GstXML works any better?

I wouldn't expect it to work. The GstXML stuff should really be
deprecated; there's no good reason to use it at all.

Mike

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-xmllaunch not working on file createdfromgst-launch

Stefan Sauer
In reply to this post by Greg Wunder
Am 20.05.2010 20:40, schrieb Greg Wunder:
> Is there a better way to save off pipeline information?
>
Any pipeline that is dynamic to same extend would be difficult to be serialized
(and restored) in a generic fashion. In most cases its better do have something
in the application to do it.

Stefan

>
> -----Original Message-----
> From: Michael Smith [mailto:[hidden email]]
> Sent: Thu 5/20/2010 1:32 PM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] gst-xmllaunch not working on file
> createdfromgst-launch
>
> On Thu, May 20, 2010 at 10:22 AM, Greg Wunder <[hidden email]> wrote:
>> Any idea of gst-editor's use of GstXML works any better?
>
> I wouldn't expect it to work. The GstXML stuff should really be
> deprecated; there's no good reason to use it at all.
>
> Mike
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel