problems with firewire port

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

problems with firewire port

Valentina Messeri-2
I!

We're tryin to run this pipeline, in order to stream from firewire port:

  vale@valedipiu:~$ sudo gst-launch-0.10  dv1394src port=0 ! dvdec  
name=dv quality=3 {
dv.audio ! queue ! audioconvert !  
audio/x-raw-int,rate=22050,channels=2 ! queue !
vorbisenc quality=0.5 ! queue ! mux. } { dv.video ! queue ! videorate !
video/x-raw-yuv,framerate=25/2 ! videoscale !  
video/x-raw-yuv,width=320,height=240 !
ffmpegcolorspace ! tee name=tscreen ! queue ! autovideosink tscreen. !  
queue ! theoraenc
quality=2 ! queue ! mux. } { oggmux name=mux ! shout2send ip=xxx.xx port=8000
mount=mountpoint.ogg password=xxxx streamname= description= genre= url= }

BUT:

WARNING: erroneous pipeline: could not link dv1394src0 to dv

i'm actuallly using:

  gst-launch-0.10 version 0.10.18
GStreamer 0.10.18
https://launchpad.net/distros/ubuntu/+source/gstreamer0.10

on a intel coreduo:

Linux valedipiu 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008  
i686 GNU/Linux

modules ok:

ohci1394               33584  1 dv1394
ieee1394               93752  4 raw1394,dv1394,sbp2,ohci1394


I'm linux-videomaker but not so experienced using gstreamer....and,  
for example...can't
catch how to set correctly port and channel parameters.
Gscanbus says port is 0......

I googlelize but couldn't find info :D so i'm available to produce,  
once i could make it
works....

:)

http://encosianima.net/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problems with firewire port

Edward Hervey-2
Hi,

  Have you tried not specifying the port ? Unless you have several
cameras on your firewire port you don't need to specify it.

  And a simpler way to test if you're getting anything from that source
is to try this:
  gst-launch-0.10 dv1394src ! fakesink

  If that pipeline goes to playing, you're all set.

    Edward

P.S. 'sudo gst-launch-0.10' <== BAD BAD BAD ! Change your user
privileges to be able to access that device as non-root.

On Mon, 2008-07-28 at 13:48 +0100, Valentina Messeri wrote:

> I!
>
> We're tryin to run this pipeline, in order to stream from firewire port:
>
>   vale@valedipiu:~$ sudo gst-launch-0.10  dv1394src port=0 ! dvdec  
> name=dv quality=3 {
> dv.audio ! queue ! audioconvert !  
> audio/x-raw-int,rate=22050,channels=2 ! queue !
> vorbisenc quality=0.5 ! queue ! mux. } { dv.video ! queue ! videorate !
> video/x-raw-yuv,framerate=25/2 ! videoscale !  
> video/x-raw-yuv,width=320,height=240 !
> ffmpegcolorspace ! tee name=tscreen ! queue ! autovideosink tscreen. !  
> queue ! theoraenc
> quality=2 ! queue ! mux. } { oggmux name=mux ! shout2send ip=xxx.xx port=8000
> mount=mountpoint.ogg password=xxxx streamname= description= genre= url= }
>
> BUT:
>
> WARNING: erroneous pipeline: could not link dv1394src0 to dv
>
> i'm actuallly using:
>
>   gst-launch-0.10 version 0.10.18
> GStreamer 0.10.18
> https://launchpad.net/distros/ubuntu/+source/gstreamer0.10
>
> on a intel coreduo:
>
> Linux valedipiu 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008  
> i686 GNU/Linux
>
> modules ok:
>
> ohci1394               33584  1 dv1394
> ieee1394               93752  4 raw1394,dv1394,sbp2,ohci1394
>
>
> I'm linux-videomaker but not so experienced using gstreamer....and,  
> for example...can't
> catch how to set correctly port and channel parameters.
> Gscanbus says port is 0......
>
> I googlelize but couldn't find info :D so i'm available to produce,  
> once i could make it
> works....
>
> :)
>
> http://encosianima.net/
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Edward Hervey <[hidden email]>
Collabora Multimedia


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problems with firewire port

Valentina Messeri-2
Quoting Edward Hervey <[hidden email]>:

> Hi,
>
>   Have you tried not specifying the port ? Unless you have several
> cameras on your firewire port you don't need to specify it.
>
>   And a simpler way to test if you're getting anything from that source
> is to try this:
>   gst-launch-0.10 dv1394src ! fakesink
>
>   If that pipeline goes to playing, you're all set.


ok:

  vale@valedipiu:~$ gst-launch-0.10 dv1394src ! fakesinkSetting  
pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock


but still "could not link dv1394src0 to dv" even if port is not specified....

Can you use firewire port for any other pourpose? i mean can you  
suggets any other pipeline i can use for capture only? (sorry very  
newbie in gst...)

>
>     Edward
>
> P.S. 'sudo gst-launch-0.10' <== BAD BAD BAD ! Change your user
> privileges to be able to access that device as non-root.

why? i mean why is that BAD?

thx!!!!!

Vale




>
> On Mon, 2008-07-28 at 13:48 +0100, Valentina Messeri wrote:
>> I!
>>
>> We're tryin to run this pipeline, in order to stream from firewire port:
>>
>>   vale@valedipiu:~$ sudo gst-launch-0.10  dv1394src port=0 ! dvdec
>> name=dv quality=3 {
>> dv.audio ! queue ! audioconvert !
>> audio/x-raw-int,rate=22050,channels=2 ! queue !
>> vorbisenc quality=0.5 ! queue ! mux. } { dv.video ! queue ! videorate !
>> video/x-raw-yuv,framerate=25/2 ! videoscale !
>> video/x-raw-yuv,width=320,height=240 !
>> ffmpegcolorspace ! tee name=tscreen ! queue ! autovideosink tscreen. !
>> queue ! theoraenc
>> quality=2 ! queue ! mux. } { oggmux name=mux ! shout2send ip=xxx.xx  
>>  port=8000
>> mount=mountpoint.ogg password=xxxx streamname= description= genre= url= }
>>
>> BUT:
>>
>> WARNING: erroneous pipeline: could not link dv1394src0 to dv
>>
>> i'm actuallly using:
>>
>>   gst-launch-0.10 version 0.10.18
>> GStreamer 0.10.18
>> https://launchpad.net/distros/ubuntu/+source/gstreamer0.10
>>
>> on a intel coreduo:
>>
>> Linux valedipiu 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008
>> i686 GNU/Linux
>>
>> modules ok:
>>
>> ohci1394               33584  1 dv1394
>> ieee1394               93752  4 raw1394,dv1394,sbp2,ohci1394
>>
>>
>> I'm linux-videomaker but not so experienced using gstreamer....and,
>> for example...can't
>> catch how to set correctly port and channel parameters.
>> Gscanbus says port is 0......
>>
>> I googlelize but couldn't find info :D so i'm available to produce,
>> once i could make it
>> works....
>>
>> :)
>>
>> http://encosianima.net/
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> --
> Edward Hervey <[hidden email]>
> Collabora Multimedia
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>



http://encosianima.net/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problems with firewire port

Edward Hervey-2
Hi,

On Mon, 2008-07-28 at 14:21 +0100, Valentina Messeri wrote:

> Quoting Edward Hervey <[hidden email]>:
>
> > Hi,
> >
> >   Have you tried not specifying the port ? Unless you have several
> > cameras on your firewire port you don't need to specify it.
> >
> >   And a simpler way to test if you're getting anything from that source
> > is to try this:
> >   gst-launch-0.10 dv1394src ! fakesink
> >
> >   If that pipeline goes to playing, you're all set.
>
>
> ok:
>
>   vale@valedipiu:~$ gst-launch-0.10 dv1394src ! fakesinkSetting  
> pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>

  Fine, therefore your source works fine.

>
> but still "could not link dv1394src0 to dv" even if port is not specified....
>
> Can you use firewire port for any other pourpose? i mean can you  
> suggets any other pipeline i can use for capture only? (sorry very  
> newbie in gst...)
>
> >
> >     Edward
> >
> > P.S. 'sudo gst-launch-0.10' <== BAD BAD BAD ! Change your user
> > privileges to be able to access that device as non-root.
>
> why? i mean why is that BAD?

  What if one of those plugins does something stupid (by mistake) and
tries to erase your hard drive ? Do you still want to run that pipeline
as root ?

  That pipeline of yours is overkill and deprecated also. the '{' '}'
style is from 0.8.
  You're using a dv decoder as if it was a demuxer (use dvdemux after
your source).

   Edward

>
> thx!!!!!
>
> Vale
>
>
>
>
> >
> > On Mon, 2008-07-28 at 13:48 +0100, Valentina Messeri wrote:
> >> I!
> >>
> >> We're tryin to run this pipeline, in order to stream from firewire port:
> >>
> >>   vale@valedipiu:~$ sudo gst-launch-0.10  dv1394src port=0 ! dvdec
> >> name=dv quality=3 {
> >> dv.audio ! queue ! audioconvert !
> >> audio/x-raw-int,rate=22050,channels=2 ! queue !
> >> vorbisenc quality=0.5 ! queue ! mux. } { dv.video ! queue ! videorate !
> >> video/x-raw-yuv,framerate=25/2 ! videoscale !
> >> video/x-raw-yuv,width=320,height=240 !
> >> ffmpegcolorspace ! tee name=tscreen ! queue ! autovideosink tscreen. !
> >> queue ! theoraenc
> >> quality=2 ! queue ! mux. } { oggmux name=mux ! shout2send ip=xxx.xx  
> >>  port=8000
> >> mount=mountpoint.ogg password=xxxx streamname= description= genre= url= }
> >>
> >> BUT:
> >>
> >> WARNING: erroneous pipeline: could not link dv1394src0 to dv
> >>
> >> i'm actuallly using:
> >>
> >>   gst-launch-0.10 version 0.10.18
> >> GStreamer 0.10.18
> >> https://launchpad.net/distros/ubuntu/+source/gstreamer0.10
> >>
> >> on a intel coreduo:
> >>
> >> Linux valedipiu 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008
> >> i686 GNU/Linux
> >>
> >> modules ok:
> >>
> >> ohci1394               33584  1 dv1394
> >> ieee1394               93752  4 raw1394,dv1394,sbp2,ohci1394
> >>
> >>
> >> I'm linux-videomaker but not so experienced using gstreamer....and,
> >> for example...can't
> >> catch how to set correctly port and channel parameters.
> >> Gscanbus says port is 0......
> >>
> >> I googlelize but couldn't find info :D so i'm available to produce,
> >> once i could make it
> >> works....
> >>
> >> :)
> >>
> >> http://encosianima.net/
> >>
> >> ----------------------------------------------------------------
> >> This message was sent using IMP, the Internet Messaging Program.
> >>
> >>
> >> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> >> Build the coolest Linux based applications with Moblin SDK & win  
> >> great prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > --
> > Edward Hervey <[hidden email]>
> > Collabora Multimedia
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
>
> http://encosianima.net/
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Edward Hervey <[hidden email]>
Collabora Multimedia


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel