Active Topics

 



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: 34 | Thanked: 10 times | Joined on Feb 2010 @ Moscow, Russia
#221
Originally Posted by tetris11_ View Post
I get "Type in http://192.168.2.101:9000" (where 192.168.2.101 is my Phone's ip).
You seem to be just getting "Type in http://:9000", am I correct here?
Both of this do not work.

Originally Posted by tetris11_ View Post
Also, in the address bar on the app, are you using numbers or are using hostnames?
Numbers.

What's wrong? How can I check my settings and test this?
 

The Following User Says Thank You to Angry Master Yoda For This Useful Post:
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#222
Let's see, did you perform these tasks?

1. On your computer: Start---> Run...---->ipconfig
2. Record the address ('IP Address.....')
3. On N900: type in that IP address in the 'Address:' label. This is your computer IP.
4. Hit stream, and notice that the 'Type in http://address: port' gives you the N900 IP. Not computer IP.
5. Type in http://address: port into VLC and hit play.
6. Wait 8 seconds, then VLC should start streaming.

I think it could be just the wrong address...
Sorry if this all seems basic, but I need to know what actions you did to get the error.
 
Posts: 219 | Thanked: 40 times | Joined on Sep 2010
#223
Originally Posted by tetris11_ View Post
Again, strange. The video codec is correct - it uses mjpeg encoding - but it should be contained in .avi file.
Can you confirm that your recorded local file is .avi file?

Also are you able to play the file in any other player (mplayer, Kmplayer, etc)?

Try installing Extra Decoders Support for the media player and see if the problem still persists:
(sudo apt-get install decoders-support).

Please let me know if this works, because then it means I need to add decoder-support to my dependencies.
Yes, the container was avi. My bad, I opened the video on my computer using VLC. It plays fine on N900 media player. Thanks.
 

The Following User Says Thank You to zerocool2k For This Useful Post:
Posts: 34 | Thanked: 10 times | Joined on Feb 2010 @ Moscow, Russia
#224
Originally Posted by tetris11_ View Post
Let's see, did you perform these tasks?

1. On your computer: Start---> Run...---->ipconfig
2. Record the address ('IP Address.....')
3. On N900: type in that IP address in the 'Address:' label. This is your computer IP.
4. Hit stream, and notice that the 'Type in http://address: port' gives you the N900 IP. Not computer IP.
5. Type in http://address: port into VLC and hit play.
6. Wait 8 seconds, then VLC should start streaming.
I did all of that (as I write in this post).

About (4)... N900 says: "http://:9000" (not give me his IP).
I know IP of my N900, but may be error here?
 

The Following User Says Thank You to Angry Master Yoda For This Useful Post:
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#225
Okay sorry I just had to make sure.

So it seems to be not finding your n900 ip address, which would stop it from streaming. This relies on a sudo script, so:

Try these and tell me which one works:
a. 'sudo ifconfig' (you should get lots of details)
b.'ifconfig' (you should get permission denied (unless you are root))
 
Posts: 34 | Thanked: 10 times | Joined on Feb 2010 @ Moscow, Russia
#226
Let's see private message.
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#227
It works really well, thanks.

If I run
ssh -X USERNAME@192.168.1.X vlc http://192.168.1.Y:1234
I can start vlc on ubuntu, but the xwindow get forwarded to n900. Instead from pc to n900 via ssh the XWindow keeps staying on phone. Do you know how I can keep the X Window on Pc? In this way phonestreamer could start stream and player directly.
 

The Following User Says Thank You to gionni88 For This Useful Post:
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#228
Hey man longtime!
Im using a smiliar script for my ncurses version of the app (coming soon),but Im a little confused at yours...
Surely you're meant to use the '-X' flag when you want grab the xwindow from the machine you're ssh'ing into.

So if want to keep the video on the PC, do not use the '-X' flag

If that doesn't work, try adding 'export DISPLAY=<pc ipadress>'.

Hope this helps
 
Posts: 3 | Thanked: 1 time | Joined on Feb 2007
#229
Originally Posted by Angry Master Yoda View Post
I did all of that (as I write in this post).

About (4)... N900 says: "http://:9000" (not give me his IP).
I know IP of my N900, but may be error here?
I have same problem. Did you find any solution?
Could that be some kind of router issue or antivirus/firewall permisions?
 

The Following User Says Thank You to cantes For This Useful Post:
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#230
it's a rootsh problem.
Some people require a password when performing a sudo functiom like 'sudo ifconfig'. Most other people don't.

The solution (I havent confirmed with AngryMasterYoda yet) is to check your /etc/sudoers file and see if the line:

'Defaults env_keep+=GTK_MODULES
user ALL = NOPASSWD: ALL'

exists. If it doesn't add it in.

Here's a copy of my /etc/sudoers file for reference:
(you can ignore the lines for the apps you don't have installed)
https://rapidshare.com/files/3465767630/SUDOT.txt
 
Reply

Tags
gstreamer, lets rock, video stream


 
Forum Jump


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