| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/17/2011 12:57:47
|
chri
Joined: 12/15/2010 08:45:47
Messages: 19
Offline
|
It says it pretty straight forward
"java.net.BindException: Address already in use"
so it might be that the port is in use (maybe you autostarted the program by adding it to the boot sequence?)
If you followed mbirths guide try retarting airvideo
sudo stop airvideo
sudo start airvideo
if that doesnt work try to find if the program is actually running in the background by
lsof -Pnl +M | grep 45631
or by using
ps aux | grep airvideo
(be aware that this filters the running processes by using grep which demands that the process is named airvideo. If you thin this is not the case then try "| grep video" for example or drop the filtering altogether. By using lsof you can look up whats using the port which will appear as java as airvideo is using java.)
--
Or take the easy way and reboot the computer and see what happens as it is difficult to predict what you have done ...
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/17/2011 15:27:45
|
nachorevolution
Joined: 06/12/2011 07:51:17
Messages: 5
Offline
|
I don't see an error now.
But I can't see the airvideo server from my phone. Also what is the password field in the properties for?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/17/2011 15:32:48
|
chri
Joined: 12/15/2010 08:45:47
Messages: 19
Offline
|
looks like it works. The server can be found through the ios app by adding the ip adress (found by sudo ipconfig -a ) and making sure that the port is 45631. A dialogue for the password will then come where you enter the password as written in test.properties and you are ready to go.
If you can't find the server then there might be a firewall at the isp blocking your access to the port, your router needs to forward the port (portforward.com) or you have to check the rules applied to iptables
(uh what is the file airvideo-server? some kind of script to run the server?)
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/17/2011 16:20:55
|
nachorevolution
Joined: 06/12/2011 07:51:17
Messages: 5
Offline
|
chri wrote:looks like it works. The server can be found through the ios app by adding the ip adress (found by sudo ipconfig -a ) and making sure that the port is 45631. A dialogue for the password will then come where you enter the password as written in test.properties and you are ready to go.
If you can't find the server then there might be a firewall at the isp blocking your access to the port, your router needs to forward the port (portforward.com) or you have to check the rules applied to iptables
(uh what is the file airvideo-server? some kind of script to run the server?)
I was embarrassed to ask how to check for my ip address. I have no problem finding it in Windows or on OS X, but I was having some trouble with Ubuntu (still learning). I have and iMac and MacBook Pro running the supported airvideo server client and they both work over the same Router/ISP configuration. I have the cable modem going straight to my wireless router, then use a network cable for the iMac (now the Ubuntu box is in this place) and my MacBook Pro would share while on and connected to the wireless network.
I know my router pretty well so I'll go in and make sure the port forwarding is setup correctly in case the Ubuntu version works differently.
Also, one of the things I loved about airvideo is that I could view movies from my iPhone while outside my network as well. The ip address I will get from ipconfig -a will be my internal address no? Is there a way to find out what ip I would need to access the server from outside the network, or is this not supported with the Linux version?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/17/2011 16:25:58
|
chri
Joined: 12/15/2010 08:45:47
Messages: 19
Offline
|
nachorevolution wrote:
chri wrote:looks like it works. The server can be found through the ios app by adding the ip adress (found by sudo ipconfig -a ) and making sure that the port is 45631. A dialogue for the password will then come where you enter the password as written in test.properties and you are ready to go.
If you can't find the server then there might be a firewall at the isp blocking your access to the port, your router needs to forward the port (portforward.com) or you have to check the rules applied to iptables
(uh what is the file airvideo-server? some kind of script to run the server?)
I was embarrassed to ask how to check for my ip address. I have no problem finding it in Windows or on OS X, but I was having some trouble with Ubuntu (still learning). I have and iMac and MacBook Pro running the supported airvideo server client and they both work over the same Router/ISP configuration. I have the cable modem going straight to my wireless router, then use a network cable for the iMac (now the Ubuntu box is in this place) and my MacBook Pro would share while on and connected to the wireless network.
I know my router pretty well so I'll go in and make sure the port forwarding is setup correctly in case the Ubuntu version works differently.
Also, one of the things I loved about airvideo is that I could view movies from my iPhone while outside my network as well. The ip address I will get from ipconfig -a will be my internal address no? Is there a way to find out what ip I would need to access the server from outside the network, or is this not supported with the Linux version?
No worries but i mixed up with win, it should be sudo ifconfig -a (The point with sudo is to perform the command with root acces, an alternative way is to use sudo su to become root permanently but this is dangerous as it enables you to do stupid things). The ipadress will be the one you received from your dhcp server. If portforwarding is needed then the modem is not in bridge mode and will route your internet connection giving you a local ip. To find the outside ip the easiest way is to access myip.dk with a browser f.ex. (lynx myip.dk where lynx is a text based internet browser)
(a tip for the future is to google stuff in the way "ubuntu find ip adress" f.ex. and when you get more comfortable with linux and just need to understand the possibilities with the command type man <command> which will explain the levers. (Ex with ifconfig -a the -a means all information. You will often see -v which means verbose aka spit out more information about the process the command performs)
This message was edited 1 time. Last update was at 06/17/2011 16:28:20
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/19/2011 06:39:22
|
nachorevolution
Joined: 06/12/2011 07:51:17
Messages: 5
Offline
|
TheLost wrote:
TheLost wrote:
One quick question... how do you disable subtitles in the properties file?
Let me rephrase the question...
I have quite a few .MKV's with subtitles (non hard coded). The AirVideo windows server lets you turn them off. Is it possible to setup the Linux version to not show these subtitles?
Thanks
I am having this same issue, did anyone find a way to fix this one?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/21/2011 23:39:53
|
wozza
Joined: 06/21/2011 08:51:25
Messages: 2
Offline
|
Can Anyone help.
I have installed the Alpha 6 build found here: http://www.inmethod.com/forum/posts/list/1856.page
I followed the setup instructions and everything installed just fine. But I am now getting this error:-
warran@chef:/usr/local/bin/airvideo$ java -jar AirVideoServerLinux.jar test.properties
Unable to access jarfile AirVideoServerLinux.jar
This is my dir structure.
warran@chef:/usr/local/bin/airvideo$ ls
com javax jdbm junit LICENSE.txt META-INF org test.properties
And
warran@chef:/usr/local/bin$ dir
airvideo ffmpeg
Does anyone have any ideas?
Thanks.
This message was edited 1 time. Last update was at 06/21/2011 23:40:38
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/22/2011 11:45:25
|
wozza
Joined: 06/21/2011 08:51:25
Messages: 2
Offline
|
NVM, it was late at night I could not see the wood for the trees!
Sorted now.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 06/26/2011 16:50:30
|
ernest
Joined: 04/22/2010 00:57:06
Messages: 1
Offline
|
This is amazing, I love it. Since the ipad came out I've been telling people air video is its killer app.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/24/2011 17:12:04
|
berniejonnie
Joined: 07/24/2011 16:39:04
Messages: 1
Offline
|
Hi,
I have installed the airvideo package from rubiojr on my Ubuntu 11.04 Natty server. It is a yavdr-pre1 installation and it works perfect to convert and stream the recordings from that vdr to my iPad and iPhone.
What does not work ist to convert and stream a movie in m4v format that uses aac and avc codecs. It comes with the errormessage
It is an ffmpeg issue and I am seeking what I can do ? I would be happy if it is not neccessary to compile it for my self because I feel that all instructions are not quite appropriate for 64bit Ubuntu 11.04 ?
Has anybody the same problem or a workaround ?
/BJ
This message was edited 2 times. Last update was at 07/25/2011 12:34:26
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/27/2011 09:42:38
|
duc
Joined: 07/27/2011 09:37:16
Messages: 10
Location: Japan
Offline
|
chri wrote:It says it pretty straight forward
"java.net.BindException: Address already in use"
so it might be that the port is in use (maybe you autostarted the program by adding it to the boot sequence?)
If you followed mbirths guide try retarting airvideo
sudo stop airvideo
sudo start airvideo
if that doesnt work try to find if the program is actually running in the background by
lsof -Pnl +M | grep 45631
or by using
ps aux | grep airvideo
(be aware that this filters the running processes by using grep which demands that the process is named airvideo. If you thin this is not the case then try "| grep video" for example or drop the filtering altogether. By using lsof you can look up whats using the port which will appear as java as airvideo is using java.)
--
Or take the easy way and reboot the computer and see what happens as it is difficult to predict what you have done ...
I am having the same issue. When I try to start the .jar file, I get this error. Can someone point me in the right direction on how I can get this to work? As suggested above, this cmd 'lsof -Pnl +M | grep 45631' gives me this line 'java 1275 1000 18u IPv6 5407 0t0 TCP*:45631 (LISTEN)'
Rebooting the server didn't help either.
Edited1:
I have managed to get the airvideoserverlinux.jar file running now. I used a different howto and have tried rubiojr tutorial. However, when I try to connect via iphone, I get "You Air Video Server version seems to be outdated..."I tried several diffferent .jar files but I still get the message. What version are you guys running? I also would like to add that my ubuntu is a server edition (10.4) and not a desktop version.
Edited2:
Is there a way to check if the airvideoserver is running on my box? It seems I cannot connect using the iphone app(free version) either locally or remotely. Whatever address I give, I get a 'my video is out of date' or 'communication error' when I try to connect remotely. It makes me wonder if the server is really running.
I looks like it is as I get this message when I input 'airvideo-server' to run the airvideoserverlinux.jar.
DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_20
DEBUG: SnapshotCache: Created new Snapshot Index BTree2011-07-28 13:57:29.010::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2011-07-28 13:57:29.057::INFO: jetty-6.1.x
2011-07-28 13:57:29.130::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (1741620)
This message was edited 2 times. Last update was at 07/28/2011 07:10:32
|
Talent in many, master at none. |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/28/2011 08:11:08
|
chri
Joined: 12/15/2010 08:45:47
Messages: 19
Offline
|
Try stopping it manually, use the latest beta6 jar with the latest ffmepg provided (just use ./configure and make to create the binaries), and then start it manually
sudo stop airvideo
sof -Pnl +M | grep 45631
AND
ps aux | grep airvideo
should yield no results, if not then kill the processes with kill -9 <pid>
then try start the sucker by hand to see what happens
java -Djava.awt.headless=true -jar /path/to/jar/AirVideoServerLinux.jar /path/to/config/test.properties
You should then see that it is running on the right port, and everything should be working. If not post the error. The server should be working locally.
(heres what I'am using but as it is debian and i should have created it when i first installed airvideo its probably some errors in it, but maybe it gives you some ideas.http://www.inmethod.com/forum/posts/reply/120/1856.page )
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/28/2011 09:16:39
|
duc
Joined: 07/27/2011 09:37:16
Messages: 10
Location: Japan
Offline
|
chri wrote:Try stopping it manually, use the latest beta6 jar with the latest ffmepg provided (just use ./configure and make to create the binaries), and then start it manually
sudo stop airvideo
sof -Pnl +M | grep 45631
AND
ps aux | grep airvideo
should yield no results, if not then kill the processes with kill -9 <pid>
then try start the sucker by hand to see what happens
java -Djava.awt.headless=true -jar /path/to/jar/AirVideoServerLinux.jar /path/to/config/test.properties
You should then see that it is running on the right port, and everything should be working. If not post the error. The server should be working locally.
(heres what I'am using but as it is debian and i should have created it when i first installed airvideo its probably some errors in it, but maybe it gives you some ideas.http://www.inmethod.com/forum/posts/reply/120/1856.page )
Thanks for your reply. I am using rubiojr ppa:repo found within this thread. I do not know how to stop it manually. The instruction only says to run the server using this cmd 'airvideo-server'.
If I input 'sudo stop airvideo-server' or 'sudo stop airvideo', it comes back unknown job:.
This cmd 'sof -Pnl +M | grep 45631' yields this result.
java 12287 1000 19u IPv6 70708 0t0 TCP *:45631 (LISTEN)
This cmd 'ps aux | grep airvideo-server' yields this result.
duc 12286 0.0 0.0 1832 508 pts/0 S+ 13:57 0:00 /bin/sh /usr/bin/airvideo-server
duc 12287 0.0 0.7 676888 22944 pts/0 Sl+ 13:57 0:03 java -jar /opt/airvideo-server/AirVideoServerLinux.jar /opt/airvideo-server/AirVideoServerLinux.properties
duc 14145 0.0 0.0 3324 808 pts/1 S+ 16:11 0:00 grep --color=auto airvideo-server
|
Talent in many, master at none. |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/28/2011 09:51:04
|
chri
Joined: 12/15/2010 08:45:47
Messages: 19
Offline
|
His repo is apparently using the alpha 5, not the latest 6 (i am not sure how much it matters) which gives you the problem of the server being outdated. Download alpha 6 and follow mbirths guide, and use mine as inspiration if needed. It is not as difficult as it seems.
The information posted suggests that the server is running, and to debug it further you have to stop airvideo by killing it and launching it manually to access the log of your connection attempts.
This message was edited 1 time. Last update was at 07/28/2011 09:53:07
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/28/2011 10:12:36
|
duc
Joined: 07/27/2011 09:37:16
Messages: 10
Location: Japan
Offline
|
Thank you for your continue replies. I managed to stop the airvideo server by rebooting the box. When I use the lsof -Pnl +M.... command I get nothing return. So that means the server is not running? After that, I manually start the server using your suggestion 'java -Djava.awt.headless.....'. It message returned looks good as it didn't state that the port is being use.
I am in the process of updating to alpha6. I noticed when I ran '.make', I see a lot of warning messages. Is this normal? I will post back when I get the ffmpeg file installed.
Also, I am fairly new to the linux and its command. How do I debug the connection and view it's log file if it doesn't work? Thanks again.
chri wrote:His repo is apparently using the alpha 5, not the latest 6 (i am not sure how much it matters) which gives you the problem of the server being outdated. Download alpha 6 and follow mbirths guide, and use mine as inspiration if needed. It is not as difficult as it seems.
The information posted suggests that the server is running, and to debug it further you have to stop airvideo by killing it and launching it manually to access the log of your connection attempts.
|
Talent in many, master at none. |
|
|
 |
|
|