Notices


Poll: Does the "generate" button cause the app to crash?
Poll Options
Does the "generate" button cause the app to crash?

Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#321
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?
 
Posts: 2 | Thanked: 0 times | Joined on Dec 2012
#322
sorry to sound like a complete n00b.. but do i need a wifi router or is the pc wifi enough?
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#323
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.
 
Posts: 2 | Thanked: 0 times | Joined on Dec 2012
#324
Originally Posted by handaxe View Post
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.
okay.. heres wat i did
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!
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#325
I will need to try this myself. There are reports of issues on prev. page . Let me see .... Will take some time.
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#326
@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
Enter it into Xterm and post what output you get. I didn't cater for Ad-hoc or USB-networking mode, so I'm not sure this method will work that way

@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.
__________________
PhoneStreamer - VLC/Webcam/Audio streaming to your PC. Also it's a SPYCAM app
WatchDog - Motion Detector and Time Lapser. Securicam!
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#327
@ 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.

Last edited by handaxe; 2012-12-14 at 12:50.
 
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#328
^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?
__________________
PhoneStreamer - VLC/Webcam/Audio streaming to your PC. Also it's a SPYCAM app
WatchDog - Motion Detector and Time Lapser. Securicam!
 

The Following User Says Thank You to tetris11_ For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#329
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.....
 
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#330
lol I forgot people here have actual lives

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.
__________________
PhoneStreamer - VLC/Webcam/Audio streaming to your PC. Also it's a SPYCAM app
WatchDog - Motion Detector and Time Lapser. Securicam!
 
Reply

Tags
gstreamer, lets rock, video stream


 
Forum Jump


All times are GMT. The time now is 13:10.