[gst-devel] Seeking streaming file

Bhanu Prakash bhanuprakash at tataelxsi.co.in
Fri Sep 28 11:12:38 CEST 2007


Hi All,
How to seek a streaming mp4 file. I am using playbin to play streamed mp4
file and I have installed all latest gstreamer packeges.

Regards
Bhanu

-----Original Message-----
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net]On Behalf Of
gstreamer-devel-request at lists.sourceforge.net
Sent: Friday, September 28, 2007 2:36 PM
To: gstreamer-devel at lists.sourceforge.net
Subject: gstreamer-devel Digest, Vol 16, Issue 48


Send gstreamer-devel mailing list submissions to
	gstreamer-devel at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
or, via email, send a message with subject or body 'help' to
	gstreamer-devel-request at lists.sourceforge.net

You can reach the person managing the list at
	gstreamer-devel-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."


Today's Topics:

   1. Re: Dynamic pipeline problem (patrick)
   2. Re: Dynamic pipeline problem (patrick)
   3. Re: TagSetter in Python Bindings (Wolfgang Silbermayr)
   4. Re: jack client name (Stefan Kost)
   5. Re: Dynamic pipeline problem (Dominique W?rtz)
   6. Re: how to dynamic control  volume ? (Stefan Kost)
   7. Re: RE : Re: Memory leaks (Stefan Kost)
   8. RTP with GStreamer (moser at nimble.ch)
   9. Re: TagSetter in Python Bindings (Stefan Kost)


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

Message: 1
Date: Thu, 27 Sep 2007 16:20:35 -0400
From: patrick <puredata at 11h11.com>
Subject: Re: [gst-devel] Dynamic pipeline problem
To: Dominique W?rtz <dwuertz at gmx.net>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FC1093.8080605 at 11h11.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

running for about 5 minutes here. i am not using the last python
gstreamer binding. i am using the one from ubuntu feisty.

the cpu is 100% when running your script, but i guess it's because of
the loop & print "Add track & Remove Track".

patrick



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

Message: 2
Date: Thu, 27 Sep 2007 16:34:39 -0400
From: patrick <puredata at 11h11.com>
Subject: Re: [gst-devel] Dynamic pipeline problem
To: Dominique W?rtz <dwuertz at gmx.net>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FC13DF.9050303 at 11h11.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

also replacing your sink by jackaudiosink gives an error:

Add Track
Add Event
Add Track
Add Event
Add Track
Add Event
Remove Track
gnonlin.py:82: Warning: g_node_find: assertion `root != NULL' failed
  gobject.MainLoop().run()
Remove Track

or sometimes:

Add Event
Remove Track
gnonlin.py:82: Warning: g_node_find: assertion `root != NULL' failed
  gobject.MainLoop().run()
Remove Track

(gnonlin.py:9243): GStreamer-WARNING **: loop detected in the graph !!
Remove Track
Add Track
Add Event
Add Track

(gnonlin.py:9243): GStreamer-CRITICAL **: Padname '':src does not belong
to element gnlsource1 when removing

(gnonlin.py:9243): GStreamer-CRITICAL **: gst_pad_set_active: assertion
`GST_IS_PAD (pad)' failed
Add Event
Add Track
Add Event
zombified - calling shutdown handler
Remove Track
Remove Track



and sometimes it works!
pat



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

Message: 3
Date: Fri, 28 Sep 2007 07:41:06 +0200
From: Wolfgang Silbermayr <wosi at gmx.at>
Subject: Re: [gst-devel] TagSetter in Python Bindings
To: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FC93F2.2070600 at gmx.at>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Kost wrote:

[...]

> the known tags can be extended. geo tags are currently missing. If you
want file
> a bug to bugzilla.gnome.org. Its helpful if you can do research, how such
> information is mapped to various file-formats.

Good idea, did not think about that myself.
Bug reported: http://bugzilla.gnome.org/show_bug.cgi?id=481169

I only found the EXIF standard that stores geotags, but that's at least
a little bit more than nothing.

Wolfgang.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/JPy1Iv7pFQO3noRAks4AKChu7P8U8j6YJnNOJ87nvCQNxEY5QCghdP7
8b4g+yUQDBTkCO26ELHdxus=
=njYj
-----END PGP SIGNATURE-----



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

Message: 4
Date: Thu, 27 Sep 2007 21:13:17 +0300
From: Stefan Kost <ensonic at hora-obscura.de>
Subject: Re: [gst-devel] jack client name
To: patrick <puredata at 11h11.com>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FBF2BD.3090002 at hora-obscura.de>
Content-Type: text/plain; charset=ISO-8859-1

hi,
patrick wrote:
> hi everyone,
>
> i have a question, maybe a request :) i was on #gstreamer and asked
> about a way to specify the jack client name of my application, cause by
> default it's GStreamer. wtay answered this:
>
> (12:47:26 PM) *wtay:* wip, it uses g_get_application_name(), if that
> returns NULL, it uses the constant string "GStreamer)
> (12:48:21 PM) *wtay:* wip, which means you can configure it with
> g_set_application_name()
>
> then i was looking how to add this to my python application, but didn't
> find the solution. here's the code.
>
> import pygst
> pygst.require("0.10")
> import gst
> import time
>
> pipeline = gst.Pipeline("mypipeline")
> audiotestsrc = gst.element_factory_make("audiotestsrc", "audio")
> pipeline.add(audiotestsrc)
> conv = gst.element_factory_make("audioconvert", "converter")
> pipeline.add(conv)
> sink = gst.element_factory_make("jackaudiosink", "sink")
> pipeline.add(sink)
> audiotestsrc.link(conv)
> conv.link(sink)
> pipeline.set_state(gst.STATE_PLAYING)
>
> while True:
>     time.sleep(1) #to avoid using all cpu for nothing
>
>
> pretty simple. no gtk, only a comand line application for testing audio.
> so my request is, would it be possible to add something like
> set_property("clientname", "audiotester") to jackaudiosink so i will not
> need glib g_set_application_name()?
>
> if not, how can i use g_set_application_name() in python?
> pat
>

g_set_application_name() is from glib. I am not a python developer, so I can
only ask you to consult the docs for python glib bindings.

Stefan

>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




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

Message: 5
Date: Fri, 28 Sep 2007 08:05:20 +0200
From: Dominique W?rtz <dwuertz at gmx.net>
Subject: Re: [gst-devel] Dynamic pipeline problem
To: patrick <puredata at 11h11.com>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FC99A0.1010604 at gmx.net>
Content-Type: text/plain; charset=ISO-8859-15

Hi Patrick,

yes this is about what I'm experiencing when using alsasink, except that it
_never_ runs more than a few seconds for me.

Dominique

patrick schrieb:
> also replacing your sink by jackaudiosink gives an error:
>
> Add Track
> Add Event
> Add Track
> Add Event
> Add Track
> Add Event
> Remove Track
> gnonlin.py:82: Warning: g_node_find: assertion `root != NULL' failed
>  gobject.MainLoop().run()
> Remove Track
>
> or sometimes:
>
> Add Event
> Remove Track
> gnonlin.py:82: Warning: g_node_find: assertion `root != NULL' failed
>  gobject.MainLoop().run()
> Remove Track
>
> (gnonlin.py:9243): GStreamer-WARNING **: loop detected in the graph !!
> Remove Track
> Add Track
> Add Event
> Add Track
>
> (gnonlin.py:9243): GStreamer-CRITICAL **: Padname '':src does not belong
> to element gnlsource1 when removing
>
> (gnonlin.py:9243): GStreamer-CRITICAL **: gst_pad_set_active: assertion
> `GST_IS_PAD (pad)' failed
> Add Event
> Add Track
> Add Event
> zombified - calling shutdown handler
> Remove Track
> Remove Track
>
>
>
> and sometimes it works!
> pat
>




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

Message: 6
Date: Wed, 26 Sep 2007 20:10:23 +0300
From: Stefan Kost <ensonic at hora-obscura.de>
Subject: Re: [gst-devel] how to dynamic control  volume ?
To: Volter Yen <volter619 at 163.com>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FA927F.3080608 at hora-obscura.de>
Content-Type: text/plain; charset=x-gbk

Hi,

Volter Yen wrote:
> Hi,
>   recently,I tried to use the volume plugin to control the audio
> volume,and I can make it in static way by setting the volume property
> vaule in my appliaction, but I want to dynamicly control the volume
> while the pipeline is till working on,how to dynamicly change the value
> of plugin's property after the g_main_loop_run()?   could anyone help
> me?thank you!
> Volter
>

you can change the volume property of the volume element at any time, e.g.
from
the callback of a UI widget. Alternatively you can use the gst_controller to
schedule changes for given time-stamps. The controller can make abrupt
changes
or can create smooth transitions.

Stefan
>
>
>
>
> =====================================================
>
> Happy everyday $ Best Regards!
>
> msn:volter619 at 163.com
>
> Focus on embed linux software!
>
>
> ------------------------------------------------------------------------
> ??70??????????????????2008??????
>
<http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=6
35&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redir
ect=http://adcn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising
.com.cn/2008/trial/index.htm>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




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

Message: 7
Date: Wed, 26 Sep 2007 20:07:12 +0300
From: Stefan Kost <ensonic at hora-obscura.de>
Subject: Re: [gst-devel] RE : Re: Memory leaks
To: Steve Fink <sphink at gmail.com>
Cc: doclivingston at gmail.com, gstreamer-devel at lists.sourceforge.net
Message-ID: <46FA91C0.9090308 at hora-obscura.de>
Content-Type: text/plain; charset=ISO-8859-1

hi,


Steve Fink wrote:
> On 9/22/07, James Doc Livingston <doclivingston at gmail.com> wrote:
>> On Sat, 2007-09-22 at 09:31 -0700, Steve Fink wrote:
>>> I think it was 0.10.13 originally? But I get the same thing with current
CVS.
>>>
>>> ==00:00:03:44.899 25856== 719,760 bytes in 8,997 blocks are definitely
>>> lost in loss record 2,505 of 2,505
>>> ==00:00:03:44.899 25856==    at 0x4021620: malloc
(vg_replace_malloc.c:149)
>>> ==00:00:03:44.899 25856==    by 0x415A2C5: g_malloc (gmem.c:131)
>>> ==00:00:03:44.899 25856==    by 0x4169E97: g_slice_alloc (gslice.c:777)
>>> ==00:00:03:44.899 25856==    by 0x416A214: g_slice_alloc0 (gslice.c:784)
>>> ==00:00:03:44.899 25856==    by 0x40FF336: g_type_create_instance
(gtype.c:1549)
>> <snip>
>>
>> You'll want to run this with the environment variables
>> G_SLICE=always-malloc and G_DEBUG=gc-friendly set, otherwise you'll get
>> the above false positive from glib's slice allocator.
>
> I am. I run valgrind with the shell script below. How can I tell if
> they are false positives? (I *am* observing memory use going up, after
> all.)
>
> export GLIBCPP_FORCE_NEW=1
> export GLIBCXX_FORCE_NEW=1
> export G_SLICE=always-malloc
> export G_DEBUG=gc-friendly
>
> DP="/home/sfink/"
> SUPP="--suppressions=/usr/lib/valgrind/glibc-2.3.supp
> --suppressions=${DP}gstreamer/common/gst.supp
> --suppressions=${DP}gst-plugins-base/common/gst.supp
> --suppressions=${DP}gst-plugins-good/common/gst.supp"
>
> OPTS="-v --trace-children=yes --track-fds=yes --time-stamp=yes
> --tool=memcheck --leak-check=yes --leak-resolution=high
> --freelist-vol=10000000 --num-callers=40 ${SUPP}"
>
> exec valgrind $OPTS "$@"

With those suppresions in use the shown leaks might be real. Start with the
"definitely lost" and look at the code. Its hard, but thats the game.

Stefan



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

Message: 8
Date: Fri, 28 Sep 2007 10:03:03 +0200
From: moser at nimble.ch
Subject: [gst-devel] RTP with GStreamer
To: gstreamer-devel at lists.sourceforge.net
Message-ID: <20070928100303.qtywd2epcs5wskss at webmail.nimble.ch>
Content-Type: text/plain;	charset=ISO-8859-1;	DelSp="Yes";
	format="flowed"

Hi All

I Actually try to stream MP3 over the Network via RTP.
I tryed go make som samplestream on my localhost looking like this:

     gst-launch filesrc location=dance.mp3 ! rtpbin ! udpsink
     gst-launch udpsrc ! rtpbin ! decodebin ! alsasink

But this doesn't work. I Tested many other posibilities with
udpsink/udpsrc but the sound never played.
Of course
     gst-launch filesrc location=dance.mp3 ! decodebin ! alsasink
works!

Looking forward for a little bit help
Your nimble




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

Message: 9
Date: Thu, 27 Sep 2007 22:47:41 +0300
From: Stefan Kost <ensonic at hora-obscura.de>
Subject: Re: [gst-devel] TagSetter in Python Bindings
To: Wolfgang Silbermayr <wosi at gmx.at>
Cc: gstreamer-devel at lists.sourceforge.net
Message-ID: <46FC08DD.90706 at hora-obscura.de>
Content-Type: text/plain; charset=ISO-8859-1

hi,

Wolfgang Silbermayr wrote:
> Mark Nauwelaerts wrote:
>> Wolfgang Silbermayr wrote:
>>> Wolfgang Silbermayr wrote:
>>>>> Hi List!
>>>>>
>>>>> I am trying to get a small python project done where it is important
to set tags in ogg files. In the #gstreamer channel I got the hint that the
oggmux element implements TagSetter, but I just can't figure out how to
access this interface in the python gst bindings. Maybe somebody can point
me there.
>>> Okay, so I answer to myself if nobody can help me on. It seems that the
>>> TagSetter interface is not implemented in the python bindings. If this
>>> is the case, is there anything that I can do in order to get them in?
>> TagSetter is implemented in python bindings; I used it for example in
GEntrans
>> (http://gentrans.sourceforge.net/).  Look at tools/entrans.py in download
or svn
>> and search for TagSetter.  That should get you the following fragment
(which is
>> not complete and/or may not be the best example), which should give you
an idea
>> (and get going):
>
> Okay, now I finally found the time to try that out. It seems to me that
> the TagSetter only accepts tags that it knows, like artist, title etc.
> The problem is that my project should store geographical data
> (longitude, latitude, altitude). Does anybody know if I can forcefully
> set my own tags (it is possible to store them in vorbis, tagtool for
> example can do that) or do I have to find a different solution (maybe
> store in comments)?
>
> Greetings, Wolfgang.

the known tags can be extended. geo tags are currently missing. If you want
file
a bug to bugzilla.gnome.org. Its helpful if you can do research, how such
information is mapped to various file-formats.

Stefan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


End of gstreamer-devel Digest, Vol 16, Issue 48
***********************************************


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.




More information about the gstreamer-devel mailing list