gst playbin and log generation

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

gst playbin and log generation

vinod james
Hi,
I am  a newbie to gtsreamer.
I went through the documentation on the website and cloned the gstreamer and plugins and installed them.
I could test a couple of audios and videos successfully.

I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.

I read that there is a playbin application which does auto type finding and pipeline and graph building.

I want to generate a detailed log like gst-launch. I am not able to generate it. 


Please advise me how to generate the detailed log.

I am trying to understand the internals of gstreamer by looking at the logs generated.


Thanks in Advance
--
Vinod James

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

vinod james
can somebody please reply on this

On Wed, Feb 9, 2011 at 12:09 PM, vinod james <[hidden email]> wrote:
Hi,
I am  a newbie to gtsreamer.
I went through the documentation on the website and cloned the gstreamer and plugins and installed them.
I could test a couple of audios and videos successfully.

I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.

I read that there is a playbin application which does auto type finding and pipeline and graph building.

I want to generate a detailed log like gst-launch. I am not able to generate it. 


Please advise me how to generate the detailed log.

I am trying to understand the internals of gstreamer by looking at the logs generated.


Thanks in Advance
--
Vinod James



--
Vinod James

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

Santakivi Topi
Hi,
On 02/10/2011 02:47 PM, vinod james wrote:

> can somebody please reply on this
>
> On Wed, Feb 9, 2011 at 12:09 PM, vinod james <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>     I am  a newbie to gtsreamer.
>     I went through the documentation on the website and cloned the
>     gstreamer and plugins and installed them.
>     I could test a couple of audios and videos successfully.
>
>     I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.
>
>     I read that there is a playbin application which does auto type
>     finding and pipeline and graph building.
>
>     I want to generate a detailed log like gst-launch. I am not able to
>     generate it.
>
>
>     Please advise me how to generate the detailed log.

Calling

gst-launch-0.10 --gst-debug=3 playbin2 uri=file://<path_to_your_file>

should give you a log that shows how playbin2 does things.

BR,
Topi

>
>     I am trying to understand the internals of gstreamer by looking at
>     the logs generated.
>
>
>     Thanks in Advance
>     --
>     Vinod James
>
>
>
>
> --
> Vinod James

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

Tim-Philipp Müller-2
In reply to this post by vinod james
On Wed, 2011-02-09 at 12:09 +0530, vinod james wrote:


> I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.
> I read that there is a playbin application which does auto type
> finding and pipeline and graph building.
> I want to generate a detailed log like gst-launch. I am not able to
> generate it.
> Please advise me how to generate the detailed log.
> I am trying to understand the internals of gstreamer by looking at the
> logs generated.

playbin is not an application, it's an element/plugin. You can use it
from gst-launch like this:

 $ GST_DEBUG=*:5 gst-launch-0.10 playbin2 uri=file:///path/to/foo.avi
2>dbg.log

Cheers
 -Tim




------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

vinod james
Hi Tim & Topi,
Thanks, it worked.
The only problem is the log is very big.
How can I understand the flow of the data, events and things like that. what I want is essentially an overview of the way the data flows, the no of threads that get created, the allocation of buffers and buffer management etc.
Regards
--
Vinod James


On Thu, Feb 10, 2011 at 6:29 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Wed, 2011-02-09 at 12:09 +0530, vinod james wrote:


> I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.
> I read that there is a playbin application which does auto type
> finding and pipeline and graph building.
> I want to generate a detailed log like gst-launch. I am not able to
> generate it.
> Please advise me how to generate the detailed log.
> I am trying to understand the internals of gstreamer by looking at the
> logs generated.

playbin is not an application, it's an element/plugin. You can use it
from gst-launch like this:

 $ GST_DEBUG=*:5 gst-launch-0.10 playbin2 uri=file:///path/to/foo.avi
2>dbg.log

Cheers
 -Tim




------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

Akihiro TSUKADA
Hi,

> The only problem is the log is very big.

Log level can be set per category, like this:
--gst-debug playbin2:4

"gst-launch --gst-debug-help" lists up all the categories.
 see gst-launch-0.10 (1)

regards,
tskd
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

bard
Hi TSUKADA,

Could you share more information about gstreamer debug system ?

This may help us learning gstreamer .

Thanks,
Bard
Reply | Threaded
Open this post in threaded view
|

Re: gst playbin and log generation

Luis de Bethencourt
In reply to this post by vinod james
On Sun, Feb 13, 2011 at 7:44 PM, Luis de Bethencourt
<[hidden email]> wrote:

> On Thu, Feb 10, 2011 at 5:20 PM, vinod james <[hidden email]> wrote:
>> Hi Tim & Topi,
>> Thanks, it worked.
>> The only problem is the log is very big.
>> How can I understand the flow of the data, events and things like that. what
>> I want is essentially an overview of the way the data flows, the no of
>> threads that get created, the allocation of buffers and buffer management
>> etc.
>> Regards
>> --
>> Vinod James
>>
>>
>> On Thu, Feb 10, 2011 at 6:29 PM, Tim-Philipp Müller <[hidden email]> wrote:
>>>
>>> On Wed, 2011-02-09 at 12:09 +0530, vinod james wrote:
>>>
>>>
>>> > I used gst-launch=0.10 and generated logs with GST_DEBUG set to 5.
>>> > I read that there is a playbin application which does auto type
>>> > finding and pipeline and graph building.
>>> > I want to generate a detailed log like gst-launch. I am not able to
>>> > generate it.
>>> > Please advise me how to generate the detailed log.
>>> > I am trying to understand the internals of gstreamer by looking at the
>>> > logs generated.
>>>
>>> playbin is not an application, it's an element/plugin. You can use it
>>> from gst-launch like this:
>>>
>>>  $ GST_DEBUG=*:5 gst-launch-0.10 playbin2 uri=file:///path/to/foo.avi
>>> 2>dbg.log
>>>
>>> Cheers
>>>  -Tim
>>>

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html
This is also a good read :)

Luis
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel