maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo 5] Camera stream from N900 to PC? (N900 as webcam) (https://talk.maemo.org/showthread.php?t=31567)

azkay 2011-02-03 06:44

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by azkay (Post 934163)
Any way to give it a higher birate through gstreamer or something?
Its got lots of pixelation.

Anyone got it working with ffdec_h264?
Everything I try on the n900 basically spits out: could not link videoscale/v4l2src/whatever to ffdec_h264

Anyone?

Bumping thread up, cant see it on the first couple of pages

azkay 2011-02-04 07:10

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
No one has tried higher quality streams? The furtherest I got was use jpegenc, the quality was great but I could figure out how to get it to /dev/video0, it would only show up in its own window.

XenGi 2011-02-04 09:13

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by jaimex2 (Post 934180)
I noted the windows program Putty has options for it, might be worth a try.

What feature of putty did you mean? The only grafical feature that comes to my mind is X-forwarding.

azkay 2011-02-04 22:22

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
I figured it out if anyone cares.

n900:
Code:

gst-launch v4l2camsrc device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! dsph264enc ! rtph264pay ! udpsink host=192.168.2.14 port=1234
pc:
Code:

gst-launch-0.10 udpsrc port=1234 caps="application/x-rtp" ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! v4l2loopback device=/dev/video0 sync=false
I get a small delay though and a weird green tint.
Can anyone else test it?

EDIT::
I changed it to use jpeg instead of h264, seems to a lot less delay, the tint is still there though.

n900:
Code:

gst-launch v4l2camsrc device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! jpegenc ! rtpjpegpay ! udpsink host=192.168.2.14 port=1234
pc:
Code:

gst-launch-0.10 udpsrc port=1234 caps="application/x-rtp" ! rtpjpegdepay ! jpegdec ! ffmpegcolorspace ! v4l2loopback device=/dev/video0 sync=false

mrwormp 2011-02-11 21:08

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Still no break true yet for windows users

fri.K 2011-02-11 21:26

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by mrwormp (Post 943203)
Still no break true yet for windows users

But Linux is really easy to use so maybe try Ubuntu.

TiagoTiago 2011-02-12 02:28

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Doesn't the VLC player got a way to use it's output as the video feed of a virtual "webcam" ?

mveplus 2011-02-12 03:49

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
2 Attachment(s)
Quote:

Originally Posted by TiagoTiago (Post 943545)
Doesn't the VLC player got a way to use it's output as the video feed of a virtual "webcam" ?

I would like to ask the same :p

here VLC stream but not tested.

tested - confirmed working with h264 codec on VLC player :rolleyes:

TiagoTiago 2011-02-12 04:21

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
I haven't tried this yet, actually i didn't even knew about this one before finding it with Google, try at your own risk:

http://sourceforge.net/projects/vlvc/



edit: erm, sorry it seems it might not be what you're looking for....

nerobot 2011-02-16 15:26

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Hi,

Thanks for the great work. I can now get the video streaming via WIFI (though there is a bit of a green tint to the screen). Has anyone been able to get the camera to stream vie bluetooth yet. This would be much better for me to use.

Cheers for any help.


All times are GMT. The time now is 09:53.

vBulletin® Version 3.8.8