hi,<br>Can anybody please guide me as how can i play ".swf " files in gstreamer. I am total noob for gstreamer,i started reading gstreamer manual and completed till chap 10. Please take this consideration while answering.<br>
<br>A big thanks in advance<br><br>akhil.<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 8:27 AM, <span dir="ltr"><<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send gstreamer-devel mailing list submissions to<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gstreamer-devel-owner@lists.sourceforge.net">gstreamer-devel-owner@lists.sourceforge.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Catching signal interrupt on gst-launch (John Tobias)<br>
2. Playing remote file (Jeffrey Barish)<br>
3. Re: Could not close resource error when using gnomevfssrc<br>
with ftp (Tiago Katcipis)<br>
4. Re: Could not close resource error when using gnomevfssrc<br>
with ftp (Tiago Katcipis)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 19 Apr 2010 17:50:28 -0700<br>
From: John Tobias <<a href="mailto:jtobias@viaas.com">jtobias@viaas.com</a>><br>
Subject: [gst-devel] Catching signal interrupt on gst-launch<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
<<a href="mailto:j2p66b2b2311004191750g7e6b3c6o9fd177f160dca616@mail.gmail.com">j2p66b2b2311004191750g7e6b3c6o9fd177f160dca616@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Guys,<br>
<br>
I have a problem running this command: gst-launch v4l2src ! tih264 !<br>
fakesink<br>
The gst-launch did not catch the signal interrupt when I hit the ctrl+c. The<br>
pipeline exited immediately instead of going through the _change_state<br>
transition of the pipeline.<br>
<br>
Then, I tried the gst-launch v4l2src ! fakesink, it works correctly.<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
<br>
<-- gst-launch detected the interrupt here..-><br>
<br>
Caught interrupt -- handling interrupt.<br>
Interrupt: Stopping pipeline ...<br>
Execution ended after 1710703481 ns.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
clean stopped pipeline<6><br>
Starting of vpfe_release...<6><br>
doing full release, started is 0<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
<br>
I don't understand why the gst-launch giving me two different behavior with<br>
regards to the signal handling.<br>
Can anyone tell me why I am getting different behavior?<br>
<br>
Thanks,<br>
<br>
John<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 19 Apr 2010 19:15:51 -0600<br>
From: Jeffrey Barish <<a href="mailto:jeff_barish@earthlink.net">jeff_barish@earthlink.net</a>><br>
Subject: [gst-devel] Playing remote file<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: <hqiv8d$7kd$<a href="mailto:1@dough.gmane.org">1@dough.gmane.org</a>><br>
Content-Type: text/plain; charset="ISO-8859-1"<br>
<br>
I play a sound file on the local machine using playbin2 by setting the uri<br>
parameter to file://path.to.file. Where can I get information about what<br>
other network protocols can be used here? I would like to be able to use<br>
the uri parameter to specify a sound file on another machine on the same<br>
LAN. Both machines run Ubuntu. I suppose that I could copy the file to a<br>
temporary directory on the local machine and then play it from there, but I<br>
suspect that there is a better way to do this.<br>
--<br>
Jeffrey Barish<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 19 Apr 2010 22:35:12 -0300<br>
From: Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>><br>
Subject: Re: [gst-devel] Could not close resource error when using<br>
gnomevfssrc with ftp<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:m2l60a9403b1004191835i98135f01k4661d72de53263b9@mail.gmail.com">m2l60a9403b1004191835i98135f01k4661d72de53263b9@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
trying to solve my problem i found another one :-).<br>
<br>
using a public ftp i run this:<br>
gst-launch -v gnomevfssrc location=<br>
<a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! queue ! decodebin !<br>
fakesink<br>
<br>
and it works ok, the ftp is really slow...it takes a good time before it<br>
starts to download and decode....but works<br>
<br>
even if i try:<br>
gst-launch -v gnomevfssrc location=<br>
<a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! queue ! decodebin !<br>
alsasink<br>
<br>
i can hear the music (it takes a while to go from paused to playing,<br>
something like 20-30 seconds....but if you wait it wil happen).<br>
<br>
But if i take the queue element out:<br>
gst-launch -v gnomevfssrc location=<br>
<a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! decodebin !<br>
fakesink<br>
<br>
the pipe stays blocked for ever (on both cases)... is this behavior<br>
expected? have anyone faced something like that? is a good policy to always<br>
put a queue after a gnomevfssrc?<br>
<br>
if someone have other ftp server to test this i would appreciate.<br>
<br>
best regards,<br>
Katcipis<br>
<br>
<br>
On Fri, Apr 16, 2010 at 2:03 PM, Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>>wrote:<br>
<br>
> now i got some interesting results, testing with a pipeline like this:<br>
><br>
> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
> ! filesink location="test.wav"<br>
><br>
> im able to get the file and play it locally.<br>
><br>
> even if i run:<br>
> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
> ! audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234<br>
> ! pulsesink<br>
><br>
> it works(and i hear a lot of noise :-)).<br>
><br>
> But if i run:<br>
><br>
> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
> ! audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234<br>
> ! audioparse ! pulsesink<br>
><br>
> or<br>
><br>
> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
> ! wavparse ! pulsesink<br>
><br>
> or<br>
><br>
><br>
> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
> ! decodebin ! pulsesink<br>
><br>
> it gives the same error:<br>
><br>
><br>
> ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
> Could not close resource.<br>
><br>
> it seems that every time i try to parse the file to get its type and play<br>
> it, it fails, but if i only play it raw or download it.... works fine.<br>
><br>
> any toughts?<br>
><br>
><br>
><br>
> On Fri, Apr 16, 2010 at 11:42 AM, Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>>wrote:<br>
><br>
>> Im having some trouble using gnomevfssrc and ftp, what troubles me is the<br>
>> error, a simple Could not open would make me understand that i did something<br>
>> wrong or something is wrong with the server.... but this error msg "Could<br>
>> not close"... i simply cant find anything about it, I'm not quite sure if<br>
>> this is something wrong on the ftp server i am using here or if it is a<br>
>> problem with gnomevfs or gstreamer.<br>
>><br>
>> The test is simple:<br>
>><br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! decodebin ! pulsesink<br>
>><br>
>> The output is:<br>
>> (gst-launch-0.10:2735): GLib-WARNING **: g_set_prgname() called multiple<br>
>> times<br>
>> Setting pipeline to PAUSED ...<br>
>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
>> caps = audio/x-wav<br>
>> Pipeline is PREROLLING ...<br>
>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:<br>
>> caps = audio/x-wav<br>
>> ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
>> Could not close resource.<br>
>> Additional debug info:<br>
>> gstgnomevfssrc.c(889): gst_gnome_vfs_src_stop ():<br>
>> /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
>> Could not close vfs handle: Operation cancelled<br>
>> ERROR: pipeline doesn't want to preroll.<br>
>> Setting pipeline to NULL ...<br>
>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:src:<br>
>> caps = NULL<br>
>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:<br>
>> caps = NULL<br>
>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
>> caps = NULL<br>
>> Freeing pipeline ...<br>
>><br>
>> Even the wav file header is being read, but on the prerolling this odd<br>
>> error happens. The same url that generates this error works just fine on<br>
>> wget (the file gets downloaded and i can hear it perfectly).<br>
>><br>
>> can someone help me? I'm not very used to ftp...maybe I'm missing<br>
>> something.<br>
>><br>
>> best regards,<br>
>> Katcipis<br>
>><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 19 Apr 2010 23:57:15 -0300<br>
From: Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>><br>
Subject: Re: [gst-devel] Could not close resource error when using<br>
gnomevfssrc with ftp<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:o2o60a9403b1004191957v2df37ae5p336424793f48f4fe@mail.gmail.com">o2o60a9403b1004191957v2df37ae5p336424793f48f4fe@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
well it seems that is the same problem, i resolved to let the pipeline<br>
"blocked" for a long time...and after something like 23min it happens the<br>
same thing (Could not close resource.).<br>
<br>
i run a full debugged launch and attached the part where the error occurs<br>
(after 23 minutes).<br>
<br>
gst-launch -v gnomevfssrc location=<br>
<a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! decodebin !<br>
fakesink --gst-debug=5 2> no_queue.log<br>
Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
caps = audio/x-wav<br>
Pipeline is PREROLLING ...<br>
ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
Could not close resource.<br>
Additional debug info:<br>
gstgnomevfssrc.c(889): gst_gnome_vfs_src_stop ():<br>
/GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
Could not close vfs handle: Operation cancelled<br>
Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
caps = NULL<br>
Freeing pipeline ...<br>
<br>
any hints if this is normal and i have to always use a queue after using a<br>
vfs src element? maybe a bug on gnomevfssrc regarding an specific behaviour<br>
of the ftp server?<br>
<br>
On Mon, Apr 19, 2010 at 10:35 PM, Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>>wrote:<br>
<br>
> trying to solve my problem i found another one :-).<br>
><br>
> using a public ftp i run this:<br>
> gst-launch -v gnomevfssrc location=<br>
> <a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! queue ! decodebin<br>
> ! fakesink<br>
><br>
> and it works ok, the ftp is really slow...it takes a good time before it<br>
> starts to download and decode....but works<br>
><br>
> even if i try:<br>
> gst-launch -v gnomevfssrc location=<br>
> <a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! queue ! decodebin<br>
> ! alsasink<br>
><br>
> i can hear the music (it takes a while to go from paused to playing,<br>
> something like 20-30 seconds....but if you wait it wil happen).<br>
><br>
> But if i take the queue element out:<br>
> gst-launch -v gnomevfssrc location=<br>
> <a href="ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3" target="_blank">ftp://194.44.214.3/pub/music/Collection/ArtofNoise.mp3</a> ! decodebin !<br>
> fakesink<br>
><br>
> the pipe stays blocked for ever (on both cases)... is this behavior<br>
> expected? have anyone faced something like that? is a good policy to always<br>
> put a queue after a gnomevfssrc?<br>
><br>
> if someone have other ftp server to test this i would appreciate.<br>
><br>
> best regards,<br>
> Katcipis<br>
><br>
><br>
><br>
> On Fri, Apr 16, 2010 at 2:03 PM, Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>>wrote:<br>
><br>
>> now i got some interesting results, testing with a pipeline like this:<br>
>><br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! filesink location="test.wav"<br>
>><br>
>> im able to get the file and play it locally.<br>
>><br>
>> even if i run:<br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234<br>
>> ! pulsesink<br>
>><br>
>> it works(and i hear a lot of noise :-)).<br>
>><br>
>> But if i run:<br>
>><br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234<br>
>> ! audioparse ! pulsesink<br>
>><br>
>> or<br>
>><br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! wavparse ! pulsesink<br>
>><br>
>> or<br>
>><br>
>><br>
>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>> ! decodebin ! pulsesink<br>
>><br>
>> it gives the same error:<br>
>><br>
>><br>
>> ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
>> Could not close resource.<br>
>><br>
>> it seems that every time i try to parse the file to get its type and play<br>
>> it, it fails, but if i only play it raw or download it.... works fine.<br>
>><br>
>> any toughts?<br>
>><br>
>><br>
>><br>
>> On Fri, Apr 16, 2010 at 11:42 AM, Tiago Katcipis <<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>>wrote:<br>
>><br>
>>> Im having some trouble using gnomevfssrc and ftp, what troubles me is the<br>
>>> error, a simple Could not open would make me understand that i did something<br>
>>> wrong or something is wrong with the server.... but this error msg "Could<br>
>>> not close"... i simply cant find anything about it, I'm not quite sure if<br>
>>> this is something wrong on the ftp server i am using here or if it is a<br>
>>> problem with gnomevfs or gstreamer.<br>
>>><br>
>>> The test is simple:<br>
>>><br>
>>> gst-launch gnomevfssrc location="ftp://user:password@ftp.myserver.com:/myfile.wav"<br>
>>> ! decodebin ! pulsesink<br>
>>><br>
>>> The output is:<br>
>>> (gst-launch-0.10:2735): GLib-WARNING **: g_set_prgname() called multiple<br>
>>> times<br>
>>> Setting pipeline to PAUSED ...<br>
>>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
>>> caps = audio/x-wav<br>
>>> Pipeline is PREROLLING ...<br>
>>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:<br>
>>> caps = audio/x-wav<br>
>>> ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
>>> Could not close resource.<br>
>>> Additional debug info:<br>
>>> gstgnomevfssrc.c(889): gst_gnome_vfs_src_stop ():<br>
>>> /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>
>>> Could not close vfs handle: Operation cancelled<br>
>>> ERROR: pipeline doesn't want to preroll.<br>
>>> Setting pipeline to NULL ...<br>
>>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:src:<br>
>>> caps = NULL<br>
>>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:<br>
>>> caps = NULL<br>
>>> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:<br>
>>> caps = NULL<br>
>>> Freeing pipeline ...<br>
>>><br>
>>> Even the wav file header is being read, but on the prerolling this odd<br>
>>> error happens. The same url that generates this error works just fine on<br>
>>> wget (the file gets downloaded and i can hear it perfectly).<br>
>>><br>
>>> can someone help me? I'm not very used to ftp...maybe I'm missing<br>
>>> something.<br>
>>><br>
>>> best regards,<br>
>>> Katcipis<br>
>>><br>
>><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
-------------- next part --------------<br>
An embedded and charset-unspecified text was scrubbed...<br>
Name: log.txt<br>
<br>
------------------------------<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
End of gstreamer-devel Digest, Vol 47, Issue 50<br>
***********************************************<br>
</blockquote></div><br>