AirVideo Server for iPhone/iPad- a "how-to"


Recommended Posts

  • Replies 333
  • Created
  • Last Reply

Top Posters In This Topic

I think I missed something somewhere from ffmpeg because I can't watch the 2012.m2ts with Play with Live Conversion. It works when I use AirVideo from my desktop.

 

Try starting the airvideo server (bash air-video-server.sh test.properties) from the consol so you can see the error messages. Assume there must be a way of capuring what's happening some other way but not sure how.

 

 

I think I reallllllllly missed the 'libmp3lame'. Here's the error from log. Hopefully, prostuff1's package will resolve my issue once he is done with it. No pressure, prostuff1. :-)

 

DEBUG: LiveConversion: Getting segment 0
/boot/airvideo/ffmpeg/ffmpeg --conversion-id 492d1f61-c461-4f37-8a0b-bd2401a6b04c --port-number 46631 -threads 4 -flags2 +fast -flag                    s +loop -g 250 -keyint_min 25 -bf 0 -b_strategy 0 -cmp +chroma -deblockalpha 0 -deblockbeta 0 -refs 1 -coder 0 -me_range 16 -subq 5                     -partitions +parti4x4+parti8x8+partp8x8 -trellis 0 -sc_threshold 40 -i_qfactor 0.71 -qcomp 0.6 -map 0.0:0.0 -map 0.1:0.1 -ss 0.0 -i                     "/mnt/disk1/MyMovies/Action/2012/2012 (2010).M2TS" -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -s 568x320 -aspect 1.775 -y -f                     mpegts -vcodec libx264 -bufsize 128k -b 1200k -bt 1300k -qmax 48 -qmin 2 -r 23.976 -acodec libmp3lame -ab 192k -ar 48000 -ac 2 -
DEBUG: LiveConversion: >>
347974746F347A72696D727F7E74347D7D766B7E7C347D7D766B7E7C3B36367874756D7E696872747536727F3B2F22297F2A7D2D2A36782F2D2A362F
7D282C36237A2B7936797F292F2B2A7A2D792B2F783B36366B74696F36756E76797E693B2F2D2D282A3B366F73697E7A7F683B2F3B367D777A7C6829
3B307D7A686F3B367D777A7C683B307774746B3B367C3B292E2B3B36707E6272756F447672753B292E3B36797D3B2B3B367944686F697A6F7E7C623B
2B3B3678766B3B3078736974767A3B367F7E79777478707A776B737A3B2B3B367F7E7977747870797E6F7A3B2B3B36697E7D683B2A3B3678747F7E69
3B2B3B36767E44697A757C7E3B2A2D3B36686E796A3B2E3B366B7A696F726F727475683B306B7A696F722F632F306B7A696F72236323306B7A696F6B
2363233B366F697E777772683B2B3B366878446F73697E687374777F3B2F2B3B3672446A7D7A786F74693B2B352C2A3B366A7874766B3B2B352D3B36
767A6B3B2B352B212B352B3B36767A6B3B2B352A212B352A3B3668683B2B352B3B36723B393476756F347F7268702A34566256746D727E68345A786F
72747534292B2A2934292B2A293B33292B2A2B323556294F48393B367869746B777E7D6F3B2B3B367869746B69727C736F3B2B3B367869746B6F746B
3B2B3B367869746B79746F6F74763B2B3B36683B2E2D236328292B3B367A686B7E786F3B2A352C2C2E3B36623B367D3B766B7E7C6F683B366D78747F
7E783B77727963292D2F3B36796E7D6872617E3B2A2923703B36793B2A292B2B703B36796F3B2A282B2B703B366A767A633B2F233B366A7672753B29
3B36693B292835222C2D3B367A78747F7E783B777279766B28777A767E3B367A793B2A2229703B367A693B2F232B2B2B3B367A783B293B36
<<

DEBUG: Encoder: FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
DEBUG: Encoder:   built on Apr 24 2010 01:59:50 with gcc 4.2.4
DEBUG: Encoder:   configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad                     --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static --disable-decoder=aac
DEBUG: Encoder:   libavutil     50. 8. 0 / 50. 8. 0
DEBUG: Encoder:   libavcodec    52.52. 0 / 52.52. 0
DEBUG: Encoder:   libavformat   52.50. 0 / 52.50. 0
DEBUG: Encoder:   libavdevice   52. 2. 0 / 52. 2. 0
DEBUG: Encoder:   libswscale     0.10. 0 /  0.10. 0
DEBUG: Encoder:   libpostproc   51. 2. 0 / 51. 2. 0
DEBUG: Encoder: [mpegts @ 0x8adb530]max_analyze_duration reached
DEBUG: Encoder: [NULL @ 0x8af1410]start time is not set in av_estimate_timings_from_pts
DEBUG: Encoder: [NULL @ 0x8af1bd0]start time is not set in av_estimate_timings_from_pts
DEBUG: Encoder: [NULL @ 0x8af2390]start time is not set in av_estimate_timings_from_pts
DEBUG: Encoder: [NULL @ 0x8af2b50]start time is not set in av_estimate_timings_from_pts
DEBUG: Encoder: [NULL @ 0x8af3310]start time is not set in av_estimate_timings_from_pts
DEBUG: Encoder:
DEBUG: Encoder: Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
DEBUG: Encoder: Input #0, mpegts, from '/mnt/disk1/MyMovies/Action/2012/2012 (2010).M2TS':
DEBUG: Encoder:   Duration: 02:37:49.49, start: 599.958300, bitrate: 28426 kb/s
DEBUG: Encoder:   Program 1
DEBUG: Encoder:     Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.97 fps, 23.98 tbr, 90k tbn, 47.95 tb                    c
DEBUG: Encoder:     Stream #0.1[0x1100](eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
DEBUG: Encoder:     Stream #0.2[0x1101](eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
DEBUG: Encoder:     Stream #0.3[0x1200](eng): Subtitle: pgssub
DEBUG: Encoder:     Stream #0.4[0x1201](eng): Subtitle: pgssub
DEBUG: Encoder:     Stream #0.5[0x1202](eng): Subtitle: pgssub
DEBUG: Encoder:     Stream #0.6[0x1203](eng): Subtitle: pgssub
DEBUG: Encoder:     Stream #0.7[0x1204](eng): Subtitle: pgssub
DEBUG: Encoder: Unknown encoder 'libmp3lame'
DEBUG: LiveConversion: Encoder thread exception: EOFException - null
DEBUG: LiveConversion: Encoder Process Done, closing segmenter.

Link to comment

I think I missed something somewhere from ffmpeg because I can't watch the 2012.m2ts with Play with Live Conversion. It works when I use AirVideo from my desktop.

 

Try starting the airvideo server (bash air-video-server.sh test.properties) from the consol so you can see the error messages. Assume there must be a way of capuring what's happening some other way but not sure how.

 

 

I think I reallllllllly missed the 'libmp3lame'. Here's the error from log. Hopefully, prostuff1's package will resolve my issue once he is done with it. No pressure, prostuff1. :-)

 

When you built the ffmpeg package did it complain that it couldn't find the lame package? Are you able to see the package details from the console to check it is properly installed like you can when typing "ffmpeg" (note sure what the actual command is for lame, but I can check later).

You may want to try removing & reinstall lame using the file I linked too and try to rebuild ffmpeg again using the build option in my op.

Link to comment

When you built the ffmpeg package did it complain that it couldn't find the lame package? Are you able to see the package details from the console to check it is properly installed like you can when typing "ffmpeg" (note sure what the actual command is for lame, but I can check later).

You may want to try removing & reinstall lame using the file I linked too and try to rebuild ffmpeg again using the build option in my op.

 

From what i can tell from messing with this whole thing is that you do not actually need to do a "make install" of ffmpeg.  the test.properties file actually points to ffmpeg which we did the "make" on.

 

I know a lot of people are waiting on this package.  I have been working 12+ hour days this week for a project at work and have not had time to clean up the package so i can put it up for the community.  I also went and got some more RAM for my test server so that I did not have to use a swap space.  The "make" of ffmpeg is really taxing on the system.  When i get home tonight I will be taking the server down to install the ram and testing everything out.  I will get a package up late tonight or tomorrow afternoon sometime.

Really sorry for the delay guys.

Link to comment

SOOOOOO...

 

The long awaited airvideo package is here... finally.  Sorry it has taken so long to get it out to the community but I have been a little busy lately.

 

The one gotcha I have found with this is that it will hang unmenu when you hit the install button.  The compile of ffmpeg is pretty memory intensive and if you have less then 1GB of RAM in your machine I suggest setting up a swap file (using the unmenu package) before you even attempt to install this package.  The compile of ffmpeg on my test machine (2.8GHz P4 with 1.25GB RAM) takes about 10 minutes tops, so I would allow about 15 for the compile ffmpeg to be safe.  During the compile unmenu will probably just sit there and if you try and click another link it will crash (at least using Chrome).  This is fine and does not seem to hurt anything but a restart of unmenu will be required.

 

Another thing I noticed was that if you have airvideo running and you try to stop the array it will fail.  You need to kill the java process that is running airvideo so the array will stop cleanly. I have created a few buttons for just this. They are attached to this post as well.

 

I think I have fixed the problem of AirVideo hanging unmenu... at least I think so.  I have not tested this completely, but will later on tonight when I get a chance. The install still takes its sweet time the first time around (10 minutes or so) but hopefully it will not hang forever on the install.

 

So below is the code and attached to the post is the zipped .conf file:

PACKAGE_NAME AirVideo
PACKAGE_DESCR <u>Video Streaming</u><br/>Air Video can stream videos in almost any format to your iPhone and iPod touch.
PACKAGE_DESCR You don't need to copy your videos to the device just to watch them.<br/><u>Live Conversion</u><br/>If the 
PACKAGE_DESCR videos in your collection are not in format supported by iPhone, Air Video will convert them on fly*. You 
PACKAGE_DESCR don't need to wait until the entire video is converted. You can start watching it almost immediately!
PACKAGE_DESCR <i>* Live Conversion requires iPhone or iPod touch with firmware 3.0 and a sufficiently powerful computer 
PACKAGE_DESCR (Intel Core 2 duo or equivalent processor is recommended).</i>

# the airvideo server .jar file
PACKAGE_URL http://inmethod.com/air-video/download/linux/alpha1/AirVideoServerLinux.jar
PACKAGE_FILE AirVideoServerLinux.jar
PACKAGE_MD5 312d6dd45f6c9928e1570da67a6d8ee6

# the faac file
PACKAGE_EXTRA_URL http://slackpack.ludost.net/packages/12.1/faac-1.26-i486-1gds.tgz
PACKAGE_EXTRA_FILE faac-1.26-i486-1gds.tgz
PACKAGE_EXTRA_MD5 b2076c450fffca386a213144b6fcdb0c

# the faad2 file
PACKAGE_EXTRA_URL http://slackpack.ludost.net/packages/12.1/faad2-2.6.1-i486-2gds.tgz
PACKAGE_EXTRA_FILE faad2-2.6.1-i486-2gds.tgz
PACKAGE_EXTRA_MD5 303562055b4c8d67cb24cf751acdf04b

# the git-core file
PACKAGE_EXTRA_URL http://lp.slackwaresupport.com/Slackware-10.1/Console/git-core/git-core-0.99.6-i486-1mik.tgz
PACKAGE_EXTRA_FILE git-core-0.99.6-i486-1mik.tgz
PACKAGE_EXTRA_MD5 f88e1beee14cbd3b5c475a1dff8935b2

# the lame file
PACKAGE_EXTRA_URL http://slackpack.ludost.net/packages/12.1/lame-3.98.2-i486-1gds.tgz
PACKAGE_EXTRA_FILE lame-3.98.2-i486-1gds.tgz
PACKAGE_EXTRA_MD5 55deced6c5ecd9836b3bebf49f8579e4

# the mpeg file
PACKAGE_EXTRA_URL http://lp.slackwaresupport.com/Slackware-11.0/X11/mpeg4ip/mpeg4ip-1.5.0.1-i486-1ahl.tgz
PACKAGE_EXTRA_FILE mpeg4ip-1.5.0.1-i486-1ahl.tgz
PACKAGE_EXTRA_MD5 2b50c235deb0236e59e5d7200acf0cea

# the xvidcore file
PACKAGE_EXTRA_URL http://repository.slacky.eu/slackware-12.1/multimedia/xvidcore/1.2.1/xvidcore-1.2.1-i486-1sl.tgz
PACKAGE_EXTRA_FILE xvidcore-1.2.1-i486-1sl.tgz
PACKAGE_EXTRA_MD5 3ea278d2ced5dd0afabd54a62bf0e043

# the yasm file
PACKAGE_EXTRA_URL http://repository.slacky.eu/slackware-12.1/development/yasm/0.7.2/yasm-0.7.2-i486-1sl.tgz
PACKAGE_EXTRA_FILE yasm-0.7.2-i486-1sl.tgz
PACKAGE_EXTRA_MD5 df5df2bf568bb05990c1f0daa7e804eb

# the jam file
PACKAGE_EXTRA_URL http://repository.slacky.eu/slackware-12.1/development/jam/2.5/jam-2.5-i486-2gal.tgz
PACKAGE_EXTRA_FILE jam-2.5-i486-2gal.tgz
PACKAGE_EXTRA_MD5 096ad8c4f82e40f35bb7e000749d7175

# the x264 file
PACKAGE_EXTRA_URL http://connie.slackware.com/~alien/slackbuilds/x264/pkg/13.0/x264-20100425-i486-1alien.tgz
PACKAGE_EXTRA_FILE x264-20100425-i486-1alien.tgz
PACKAGE_EXTRA_MD5 9868016da0904cbccbdd76cc86146d4c

# the pbzip2 file for extracting airvideo
PACKAGE_EXTRA_URL http://www2.linuxpackages.net/packages/Slackware/Slackware-12.2/Console/pbzip2/pbzip2-1.0.4-i486-1mac.tgz
PACKAGE_EXTRA_FILE pbzip2-1.0.4-i486-1mac.tgz
PACKAGE_EXTRA_MD5 d311bec088a44f5c0da204eaac4c778d

# the libX11 file
PACKAGE_EXTRA_URL http://slackware.oregonstate.edu/slackware-12.2/slackware/x/libX11-1.1.5-i486-1.tgz
PACKAGE_EXTRA_FILE libX11-1.1.5-i486-1.tgz
PACKAGE_EXTRA_MD5 ffddc89e6711aa6a91ac0c4855af7789

# the libXcb file
PACKAGE_EXTRA_URL http://linuxpackages.cs.utah.edu//Slackware-11.0/X11/libxcb/libxcb-1.0-i486-1ced.tgz
PACKAGE_EXTRA_FILE libxcb-1.0-i486-1ced.tgz
PACKAGE_EXTRA_MD5 1a7be0f71dc1cd0939e986a580b56d76

# the libXau file
PACKAGE_EXTRA_URL http://slackware.oregonstate.edu/slackware-12.2/slackware/x/libXau-1.0.4-i486-1.tgz
PACKAGE_EXTRA_FILE libXau-1.0.4-i486-1.tgz
PACKAGE_EXTRA_MD5 8f978d7e6dd297e7f26dc0e123eaced4

# the ffmpeg for airvideo
PACKAGE_EXTRA_URL http://www.inmethod.com/air-video/download/ffmpeg-for-2.2.5.tar.bz2
PACKAGE_EXTRA_FILE ffmpeg-for-2.2.5.tar.bz2
PACKAGE_EXTRA_MD5 1623d51b433555e08d0c2fcf1dee1b55

# the test.properties file
# PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/linux/alpha1/test.properties
# PACKAGE_EXTRA_FILE test.properties
# PACKAGE_EXTRA_MD5 9cb06f9e08d0c42449c1ae561c03337e

PACKAGE_INSTALLED /var/log/airvideo
PACKAGE_DEPENDENCIES This package relies on quite a few different package. Most are installed along with this one but
PACKAGE_DEPENDENCIES there are a few that need to be installed prior to this package.  The JAVA JRE package that is
PACKAGE_DEPENDENCIES included with unmenu should be installed first!!

PACKAGE_VARIABLE password||vPassword=12345||Enter the password used to connect to the Airvideo Server 
PACKAGE_VARIABLE folders||vFolders=Anime:/mnt/user/Anime||Enter the list of folders you would like to be visible.  Note the format of the line and make sure to replicate it exactly for your sources

PACKAGE_INSTALLATION installpkg /boot/packages/faac-1.26-i486-1gds.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/faad2-2.6.1-i486-2gds.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/git-core-0.99.6-i486-1mik.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/jam-2.5-i486-2gal.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/lame-3.98.2-i486-1gds.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/mpeg4ip-1.5.0.1-i486-1ahl.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/pbzip2-1.0.4-i486-1mac.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/xvidcore-1.2.1-i486-1sl.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/yasm-0.7.2-i486-1sl.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/x264-20100425-i486-1alien.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/libX11-1.1.5-i486-1.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/libxcb-1.0-i486-1ced.tgz
PACKAGE_INSTALLATION installpkg /boot/packages/libXau-1.0.4-i486-1.tgz
PACKAGE_INSTALLATION rm -rf /boot/packages/test.properties
PACKAGE_INSTALLATION touch /boot/packages/test.properties
PACKAGE_INSTALLATION echo "path.ffmpeg = /boot/packages/ffmpeg/ffmpeg" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "path.mp4creator = /usr/bin/mp4creator" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "path.faac = /usr/bin/faac" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "password = \${vPassword}" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "subtitles.encoding = windows-1250" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "subtitles.font = Verdana" >> /boot/packages/test.properties
PACKAGE_INSTALLATION echo "folders = \${vFolders}" >> /boot/packages/test.properties
PACKAGE_INSTALLATION sed -i s_\${vPassword}_${vPassword}_ test.properties
PACKAGE_INSTALLATION sed -i s_\${vFolders}_${vFolders}_ test.properties
PACKAGE_INSTALLATION rm -rf /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION touch /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "#!/bin/bash" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "PROPFILE='/etc/conf.d/air-video-server'" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "LOCALPROP=\`echo ~/.air-video-server/air-video-server.properties\`" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "if [ -a \"\$1\" ]; then" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "  PROPFILE=\"\$1\"" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "else" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "  [ -a \"\$LOCALPROP\" ] && PROPFILE=\"\$LOCALPROP\"" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "fi" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "exec /usr/lib/jre1.6.0_11/bin/java -jar /boot/packages/AirVideoServerLinux.jar \"\$PROPFILE\"" >> /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION chmod +x /boot/packages/air-video-server.sh
PACKAGE_INSTALLATION echo "Version: 2.2.5" > /var/log/airvideo
PACKAGE_INSTALLATION if [ ! -d /boot/packages/ffmpeg ]; then
PACKAGE_INSTALLATION     cd /boot/packages;
PACKAGE_INSTALLATION     tar --use-compress-prog=pbzip2 --no-same-owner -xf ffmpeg-for-2.2.5.tar.bz2;
PACKAGE_INSTALLATION     sleep 15;
PACKAGE_INSTALLATION     cd /boot/packages/ffmpeg;
PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static --disable-decoder=aac; make;
PACKAGE_INSTALLATION fi
PACKAGE_INSTALLATION cd /boot/packages
PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute
PACKAGE_INSTALLATION sleep 10
PACKAGE_INSTALLATION echo "rm -rf /boot/packages/nohup.out" | at now + 2 minute
PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'
PACKAGE_VERSION_STRING 2.2.5
PACKAGE_MEMORY_USAGE Heavy

 

I have a request out to JoeL to help me refine the package and when that happens I will update this thread with what we come up with.

41-unmenu_user_script_start_airvideo.zip

41-unmenu_user_script_stop_airvideo.zip

airvideo-unmenu-package.conf.zip

Link to comment

I've managed to run out of ram several times now when attempting to install this package.  My poor little 512 Meg of RAM is not enough, even with a 1Gig swap file.  The swap-file is mostly un-used, but the ram-file-system used for "/" just runs out of space.  Apparently, it does not swap out.

 

Perhaps I'lll try with a /tmp file-system.  But for now... I cannot compile ffmpeg.  :(

Link to comment

I've managed to run out of ram several times now when attempting to install this package.  My poor little 512 Meg of RAM is not enough, even with a 1Gig swap file.   The swap-file is mostly un-used, but the ram-file-system used for "/" just runs out of space.  Apparently, it does not swap out.

 

Perhaps I'lll try with a /tmp file-system.  But for now... I cannot compile ffmpeg.  :(

 

Thanks for putting forth the effort.  I had set up a swap file at first also and noticed i was still crashing the server. I thought it was because i was doing so many other things at the same time as i was compiling ffmpeg.  I never really checked to see if the swap was being used, and then i just went and got more ram for the test tower from craigslist. The extra ram solved the problem, so i did not think anything more of it.

 

JoeL: If you could possibly add some checks in there to see that the C Compiler is installed already and that Java is installed already that would be great.  I have been meaning to do that but have not had the chance.  Also, If you would like i can zip the ffmpeg folder from my compile and upload it somewhere so you do not have to do the compile part.

Link to comment

I should have sometime tonight to play around with this as well.  When the compiling is taking place, I'll check to see how much RAM is being used.  I'm running an e6500 (2.93 Dual-Core Wolfdale) with 2GB RAM.

I think it is tmp space related as much as anything else.  In any case 512 Meg is not enough.
Link to comment

I should have sometime tonight to play around with this as well.  When the compiling is taking place, I'll check to see how much RAM is being used.  I'm running an e6500 (2.93 Dual-Core Wolfdale) with 2GB RAM.

I think it is tmp space related as much as anything else.  In any case 512 Meg is not enough.

 

Oh.  I mis-read.  That would make sense and I wasn't even thinking about tmp space.  So I'll try to monitor the size of /tmp during the build as close as I can just to see how much space is being used.  I'm currently running off a 4GB Flash drive.

Link to comment

I should have sometime tonight to play around with this as well.  When the compiling is taking place, I'll check to see how much RAM is being used.  I'm running an e6500 (2.93 Dual-Core Wolfdale) with 2GB RAM.

I think it is tmp space related as much as anything else.  In any case 512 Meg is not enough.

 

Oh.  I mis-read.  That would make sense and I wasn't even thinking about tmp space.  So I'll try to monitor the size of /tmp during the build as close as I can just to see how much space is being used.  I'm currently running off a 4GB Flash drive.

I think the compiler uses /var/tmp

 

Joe L.

Link to comment

I had success in the install and everything is playing perfectly.  After the initial live conversion start, my CPU usage settles between 35-80% with a 640x352 avi.  Very nice!

 

As for the memory usage and tmp storage, it isn't very telling to me with my machine.  Attached is a log from a quick script I put together.

 

i=1
while [ "$i" -ne 0 ]
do
        du -ch /tmp | grep total
        du -ch /var/tmp | grep total
        free -m
        echo "----------------------"
        sleep 5
done

 

Joe, after you mentioned /var/tmp, that made sense to me too, but I watched both /tmp and /var/tmp and the only one that changed was /tmp.  With that said, it peaked at a little less than 10M.  Basically, I started the script, clicked install in unMenu and stopped the script a few moments after the install finished.

 

prostuff1, I have only used the Mac server up to this point, but is there a way to generate a server pin for the linux version so that I can easily watch outside my network without having to mess with router forwarding.  This may just be for the Mac and Window versions at this point, but figured I'd ask.

tmpmem.txt

Link to comment

I have been looking at the AirVideo forums and I see that this release of the Linux version of the server does not yet support Remote Access, so I now have my answer for the server pin question.

 

So far my e6500 has been able to handle everything I have thrown at it.  I have several Bluray rips I ripped with MakeMKV that are full size / full quality 1080p files (~25GB each), and the server can handle them with no problem.  Each core settles in around 45-50%.

 

I am a happy man! 

 

Next up, getting HellaNZB, rTorrent, and Dropbox installed and putting together unMenu installers for them.

Link to comment

I have been looking at the AirVideo forums and I see that this release of the Linux version of the server does not yet support Remote Access, so I now have my answer for the server pin question.

 

So far my e6500 has been able to handle everything I have thrown at it.  I have several Bluray rips I ripped with MakeMKV that are full size / full quality 1080p files (~25GB each), and the server can handle them with no problem.  Each core settles in around 45-50%.

 

I am a happy man! 

 

Next up, getting HellaNZB, rTorrent, and Dropbox installed and putting together unMenu installers for them.

Very cool.  Don't forget, you need to stop the AirVideo server before attempting to stop the unRAID server, otherwise, it may not be able to un-mount any disks where it has open files.

 

Joe L.

Link to comment

I have been looking at the AirVideo forums and I see that this release of the Linux version of the server does not yet support Remote Access, so I now have my answer for the server pin question.

 

So far my e6500 has been able to handle everything I have thrown at it.  I have several Bluray rips I ripped with MakeMKV that are full size / full quality 1080p files (~25GB each), and the server can handle them with no problem.  Each core settles in around 45-50%.

 

I am a happy man! 

 

Next up, getting HellaNZB, rTorrent, and Dropbox installed and putting together unMenu installers for them.

Very cool.  Don't forget, you need to stop the AirVideo server before attempting to stop the unRAID server, otherwise, it may not be able to un-mount any disks where it has open files.

 

Joe L.

 

HA!  Looks like I may have to put together a custom shutdown script at some point with everything I am putting on this box.  I am now so glad I opted for the e6500 over an atom proc.  Originally was thinking just file serving, then did some forum snooping to see what could be run and changed my mind to a more powerful proc.

 

@prostuff1 , I just went through the "linux support?" thread on the inmethod forums and saw that there is an alpha2 linux version.  It apparently has significant improvements in quality for iPads.  I don't own an iPad at the moment, but it may be worthwhile to look into updating your conf file.

 

http://inmethod.com/air-video/download/linux/alpha2/AirVideoServerLinux.jar

Link to comment

I have been looking at the AirVideo forums and I see that this release of the Linux version of the server does not yet support Remote Access, so I now have my answer for the server pin question.

 

So far my e6500 has been able to handle everything I have thrown at it.  I have several Bluray rips I ripped with MakeMKV that are full size / full quality 1080p files (~25GB each), and the server can handle them with no problem.  Each core settles in around 45-50%.

 

I am a happy man!  

 

Next up, getting HellaNZB, rTorrent, and Dropbox installed and putting together unMenu installers for them.

 

Glad to hear the AirVideo package worked for you.  I spent quite a bit of time getting it to work, not to mention crashing my server quite a few times as i ran out of ram.

 

EDIT: I will take a look at the Alpha2 version and see what i can come up with.  Earliest i will get to it will be this weekend, plus I want to make sure nothing breaks what is currently working.

Link to comment

Next up, getting HellaNZB, rTorrent, and Dropbox installed and putting together unMenu installers for them.

 

You might want to just use SABnzbd [ http://sabnzbd.org/ ] instead of HellaNZB. HellaNZB's last update was March 26 2007 while SABnzbd had a release on May 2 2010.

 

I have tried SABnzbd several times and always go back to hellanzb.  There is something about SABnzbd that I am just not fond of, but I might give it another shot.  I have had hellanzb set up the way I like it for years (watch folder, complete folder, par2, unrar, growl support) and it just runs like a champ.  No web interface, just screened in the background doing its thing.  Same reason I will be installing rtorrent from scratch rather than untorrent.  I have no need for the web front.  I always have access via ssh at home, office, or on the road.

 

As for the last update for hellanzb, shouldn't the first line on hellanzb's site be comforting?  HAHA

 

;D "hellanzb has not been abandoned, although the last release (0.13) is considered stable by the developers and testing team. Continued development is largely on an as needed basis." ;D

Link to comment

Glad to hear the AirVideo package worked for you.  I spent quite a bit of time getting it to work, not to mention crashing my server quite a few times as i ran out of ram.

 

EDIT: I will take a look at the Alpha2 version and see what i can come up with.  Earliest i will get to it will be this weekend, plus I want to make sure nothing breaks what is currently working.

 

Oh, no rush on the Alpha2.  Just saw it buried on page 9 of the thread and thought I would mention it.  I may try it out tonight if I get a chance to.  Since I don't have an iPad, the changes may not be all to much over Alpha1 for me anyway.

Link to comment

Hi all,

 

This may sound stupid but I will ask anyway. How do you install the .conf file? I've downloaded and unzipped it. Do I treat the .conf file as a script like typing ./airvideo.conf and let it run? Sorry, Linux noob here.

 

thanks,

~joy

 

The .conf file is to be used in conjunction with unMenu.  Do you have unMenu installed?

Link to comment

Yes, I have unMenu installed but I don't see AirVideo in there with the latest update as of last night. Maybe I over look it. I will check it again tonight.

 

thanks,

~joy

Actually, just checking you have unMenu first.  AirVideo isn't in the unMenu Package Manager just yet.  If you do want to install it, drop the .conf file in /boot/unmenu, go to the Package Manager in unMenu, and it will pick up the .conf file.  

 

Before you install, you need to make sure you have a couple other items in place first.  You need to install gcc and Java JRE from the Package Manager.  gcc doesn't need to be set to re-install each time, but needs to be in place for the ffmpeg build to happen the first time you install Air Video.  Java JRE needs to be set up to re-install each time, or at least needs to be installed prior to each time you start Air Video.

 

Also, you need to make sure you have enough RAM for the ffmpeg to compile.  I have 2GB and had no problem.  Joe L. tried with 512MB and it caused problems.  I would think 1GB+ should be enough, but not sure.  Also, your flash drive that unRaid is installed on may need to be larger than 512MB.  Not 100% sure on that one.  Mine is 4GB, so again, I had no problems.

 

Lastly, the Air Video install may take up to 10-15 minutes depending on the power of your CPU.  When you hit install, just let the browser sit there until it comes back with the installation details.

 

EDIT: Just saw your signature.  CPU power shouldn't be an issue.  ffmpeg will probably compile in less than 10 minutes with no problem.

 

EDIT 2: Just looked back and saw you have been following this for awhile, so you are probably fully aware of the gcc and Java JRE requirements.  I need to pay attention more....haha  :D

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.