![]() |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
After starting to stream, i am trying to see the camera from VLC. i enabled the logging while opening the network stream on the N900 and i get the following output:
main debug: adding item `http://192.168.1.100:5001' ( http://192.168.1.100:5001 ) qt4 debug: Adding a new MRL to recent ones: http://192.168.1.100:5001 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 16 items, index 14 main debug: processing request item: http://192.168.1.100:5001, node: Playlist, skip: 0 main debug: resyncing on http://192.168.1.100:5001 main debug: http://192.168.1.100:5001 is at 15 main debug: starting playback of the new playlist item main debug: resyncing on http://192.168.1.100:5001 main debug: http://192.168.1.100:5001 is at 15 main debug: creating new input thread main debug: Creating an input for 'http://192.168.1.100:5001' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Liran\AppData\Local\Temp' main debug: `http://192.168.1.100:5001' gives access `http' demux `' path `192.168.1.100:5001' main debug: creating demux: access='http' demux='' location='192.168.1.100:5001' file='\\192.168.1.100:5001' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "http" main debug: TIMER module_need() : 0.202 ms - Total 0.202 ms / 1 intvls (Avg 0.202 ms) main debug: creating access 'http' location='192.168.1.100:5001', path='\\192.168.1.100:5001' main debug: looking for access module: 2 candidates access_http debug: http: server='192.168.1.100' port=5001 file='' main debug: net: connecting to 192.168.1.100 port 5001 qt4 debug: IM: Setting an input main debug: no fetch required for (null) (art currently (null)) main debug: connection succeeded (socket = 1264) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Server: socat kludge access_http debug: Content-Type: video/x-msvideo access_http debug: this frame size=10000000 access_http debug: Connection: close main debug: using access module "access_http" main debug: TIMER module_need() : 5523.987 ms - Total 5523.987 ms / 1 intvls (Avg 5523.987 ms) main debug: Using stream method for AStream* main debug: starting pre-buffering at this point nothing happens (i waited more than 10 minutes) and if i stop the streaming from the N900, VLC log shows this output: main error: cannot pre fill buffer main warning: cannot create a stream_t from access main debug: removing module "access_http" main debug: dead input qt4 debug: IM: Deleting the input main debug: changing item without a request (current 15/16) main debug: nothing to play main debug: TIMER input launching for 'http://192.168.1.100:5001' : 823210.211 ms - Total 823210.211 ms / 1 intvls (Avg 823210.172 ms) So it seems that in general there is no connection error - ip and port are fine, but still - nothing is streamed to VLC window - it just stays black screen. Anyone has any idea what is causing this? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
sorry to sound like a complete n00b.. but do i need a wifi router or is the pc wifi enough?
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
You need an IP address to stream to so a router / access point is easiest. Otherwise you should be able to use ad-hoc mode n900 to pc.
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
1. used ad hoc and connected n900 to pc.. 2. used ipconfig and found out ip.. 3. started phonestream in http mode and added pc ip to address and a random port.. 4 hit stream and typed in the address shown in message into vlc networkmode .. and hit play.. but vlc doesnt do anythin... my firewalls off..before there used to be an error message.. now there isnt.. but no video.. please help! |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
I will need to try this myself. There are reports of issues on prev. page . Let me see .... Will take some time.
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
@j3m0jak -- http mode is really very unstable.
Phonestreamer extracts IP address using this (poorly constructed) command: Code:
echo "ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' " | root @impeham -- what mode are you using? @everyone -- sorry, I suck as usual in sticking to my promises of the new Phonestream app. I'll try work on it some more today. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
@ tetris11_
Just to confirm, phonestreamer works for you with VLC? Am troubleshooting, as it does not for me and it appears, for some others. Must dredge up memory about gst-launch.... Update: I suspect that issues with VLC are not strictly due to phonestreamer but with gst-launch and perhaps udp on some LANS. I have failed to get anything going with gst-launch in a terminal and don't yet know why. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
^Hey... no it's not. When did that happen? It was working a month ago.
Wireshark is showing activity coming out of the phone, but VLC logging shows nothing being recieved. Hmm. handaxe, any thoughts? =============================================== Update: I've finished the Profiles/Database part of the upcoming PhoneStreamer update. I just need to sort out the backend stuff. Quick question - Anybody mind if I just chuck out the VLC stuff altogether and just focus on a simple HTTP stream (cross-platform)? I can then migrate the XWindow and Webcam mounting stuff to the cmdline version of the app, since no one really uses them except Linux-users. Yay or Nay? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
I think your proposal is fine. VLC etc will of course be able to view the stream so one will not have to use a browser.
As for the gstreamer to VLC problem I am at a loss. I have also failed to get gstreamer (n900) to gstreamer (pc) stuff to work. Does it work for you? Need more time to play but kids take up time..... |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
lol I forgot people here have actual lives :D
I think it might just be VLC no longer being compatible with the sdp file. Older versions might work, but I'm not gonna test to see which ones -- right now I'm gonna go ahead and make a simple backend (unless someone veto's) Laters. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Right, well I finished the rewrite yesterday.
Couldn't upload it to extras-devel because of the current migration process, but I've uploaded the deb to the frontpage. Let me know how it feels or if you come across any problems/crashes/bugs. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Wow - quite some polish there.... Works for me. I am unsure what the profile info stores besides the name given that one then specifies a connection that seems to be the critical info.
The http method is for me faster in terms of lag once going than rtp. The 7 sec delay (as opposed to 3 secs) occurs on startup, at least for me. And be encouraged to finish watchdog. It works but the tiny fonts are a pain. Your interface for phonestreamer is well proportioned. Damn, your hacking skills have come a long way. Respect... |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
also just to let you know I just got Audio+Video to stream together (using the code handaxe posted on the first page)
It might even work over HTTP. Expect a sudden and dramatic update sometime soon. Edit: Hey cheers, nice to be appreciated! Hehe you must have a decent wifi because the lag is constant for me. The profiles are for things like 'Home'/'Work', so you can store multiple connections for each profile name. I dont use more than one connection myself, but it was requested. Watchdog... eh, I'll get around to it ;) |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
when I try install it says -couldn't find arp scan..
what is it please help me |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
Code:
apt-get install arp-scan |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Thanks for your reply..
I installed succesfully. But I didn't connect my pc. When I scan button It show "no active connection". I have a usb and also wifi... How can I connect with them? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
You must of course be connected to the network and for ease of testing, to the same network to which the PC is attached. If scan fails to find the IP address of the PC then gather that info from the PC and type it in the text box and choose a high port no. eg 9000.
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
I connected with Wifi. but still doesn't work
Current Phone IP: Code:
169.254.95.183 network type: ad hoc rate: 54mbps encryption type: none wireless mode: 11g channel: 1 then I tried on Vlc.. but It says: Quote:
And how can I use it with USB? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
Code:
http://169.254.95.183:9000/stream.avi I have never tried usb so it's your experiment :-) |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
Now Vlc shows me just black screen.. is it turn on camera? or something else? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
usern900 -- adhoc mode finds no connections? Hmm, I need to test.
The black screen means that an image is being sent, but the camera cover isn't open or blocked somehow. There is also an (initial?) 7 second delay so you need to wait before you can see anything |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
But, it found on a scan result when I start a 'wifi hotspot connection'.. what about it? And of course I opened cover. What else thing will be blocked? |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
All I can suggest for now is that you point the camera at a bright light source to check if there is an image and if this is some kind of exposure issue. (I am not surprised that arp does not work in ad-hoc mode).... |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
OK, a quick test shows that http streaming now does not work for me, tho'it did a few days back. Am investigating - the stream connects, and then drops. VLC on the PC definitely sees the stream. This is under linux with a cutting edge VLC (VLC media player 2.1.0-git Rincewind). Last time it worked was on Windows with VLC stable.
@Usern900: try rtp streaming. That still works for me. Does it do so for you? BTW, tetris11_ the usage info screen needs a correction as it shows the dash between the IP and port as usern900 initially did. Update: the http streaming remains an issue. Choosing live-view fails to bring up a gstreamer window, but it does so for rtp. Seems that the gst pipe-line is not created, and so socat provides a connect that has nothing to deliver. I am on CSSU-testing and kernel-power. No aspersions cast that is for info... |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
still doesnt work both on rtp mode and http
I tried as tcp://169.254.95.183/9000 (with : too) on Vlc 2.0.5 .. or must I use older version? and my os is win 7.. Could you get me more method? please |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
It's working for me guys...
I'm using VLC 2.1.0-git-20120803-0402 Rincewind version on Windows 7 64-bit Home Premium. Have you tried restarting the phone? Sometimes the ports its previously used need to be cleared. Otherwise have you tried a different port? TODO: *Fix info screen |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Ok. I'll be test it.. but I can't find vlc 2.1.0 rincewind version. can u provide me download link :P
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
I doubt the problem is the version of VLC. When my kid vacates the PC I will test with Windows. My earlier issue was with linux. Will test that as well. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
I don't get the gst-launch liveview window under http but I do with rtp and the latter streams fine. Soooo, as I opined earlier the gst pipeline appears to fail. Tetris11_ please give the gst-launch command you are using so that I can play via the CLI. Yes I could poke around in the source but I had enough sauce this season :)
tnx |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
I uninstalled the 720p video libraries and http streaming works for me. Re-install 720p stuff and it does not, although rtp does function
@usern900: are you using the 720p video posted elsewhere in this forum? If you are, try removing that and retrying phonestreamer. I realise that both http and rtp don't work for you but it is worth a shot. |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Sorry - didnt recieve updates to this thread....
We have 720p libraries? I haven't installed them. Here's the http command: Code:
filer=/home/user/fifo |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
hello im trying to get the 9.3 version to work, all i really want is the audio, but i can't get video to work either.
First of all is there anything required to make it work other than just installing the app to the n900 and VLC on the pc? Secondly, i installed HTOP app to n900, can someone with this app working tell me what HTOP should look like when phonestream is actually working right? I used the .sdp file and get this error in vlc es demux error:cannot peek live555 demux error: no data recieved in 10s I noticed one very odd thing, when this file is opened VLC tries to connect using a port in the 55000 range, rather than the port given in the .sdp file. I know my pc can ping my n900 i tried pinging my pc but not sure if that worked right as im not used to the outputs in that format it just gave 1 line that say 56k bytes sent or something I know something is being sent to the router at least because its lights go crazy when the app is turned on to stream, still not sure if its making it to the pc tho. Lastly one suggestion for the app, turn off that red light :P Oh and let us use any port range, rather than below 10k |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Quote:
Code:
gst-launch v4l2src ! queue ! video/x-raw-yuv,width=320,height=240,framerate=30/1 ! videoscale ! ffmpegcolorspace ! queue ! dsph264enc ! queue ! rtph264pay ! udpsink host=xxx.xxx.x.xxx port=5000 pulsesrc ! queue ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! audioresample ! nokiaaacenc ! queue ! rtpmp4apay ! udpserversink host=xxx.xxx.x.xxx port=5001 Thank you |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Whats up on the audio stream??
Would love to hear on further devlopments not posted:) |
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
When i start a stream, in vlc the image is SO dark and green tone. Why? Thanks and sorry for my bad english.
|
Re: [Announce] PhoneStreamer - Nifty little app for streaming to your PC
Hi,
I have a N900 with CSSU and Kernel Power installed. Since I do not use the phone anymore and I hate wasting I started to look for ways to use it as a webcam. Currently I use a really crapy old digital camera. So I installed PhoneStreamer. First thing I noticed is that on http://my-maemo.com/software/applica...to=2165&faq=34 the interface looks totaly different than the one in this post and on my phone: http://talk.maemo.org/showpost.php?p=964337&postcount=1 My desktop is a Mint 17 Linux. I use Wlan on the phone (didnt get the USB Network connection working. Way to many steps and not easy to understand) which is coming from a Fritzbox router. I can ping the phones ip from my desktop. When I setup VLC as described under the (i) button inside of phonestreamer I get an error message (not possible to open). What am I doing wrong and how come the interface looks different? THX! |
All times are GMT. The time now is 19:31. |
vBulletin® Version 3.8.8