Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

  • Author

batfink I assume you have also installed the JAVA JRE so that this will run?  If that is the case then you might want to put something in the original post.

 

If this is not the case then please disregard this post.

 

You're right prostuff, thanks. I'll amend my op

  • Replies 333
  • Views 120.3k
  • Created
  • Last Reply

I think I just hit a wall.

 

I've installed unmenu and downloaded the "C" complier by clicking on the button to download all packages. I've also installed them by installpkg *.tgz from /boot/packages directory.

 

I've downloaded the ffmpeg  2.2.5 then unzip them to /boot/airvideo/ffmpeg. I am getting the Unknown option error.

 

root@Tower:/boot/airvideo/ffmpeg# ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-ibmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static --disable-decoder=aac

Unknown option "--enable-ibmp3lame".

See ./configure.orig.fixed --help for available options.

 

 

I am also having problem with the x264. I try to install it but not sure it actually installed.

 

root@Tower:/boot/airvideo/x264# installpkg x264_0.svn20100115.orig.tar.tgz

Installing package x264_0.svn20100115.orig.tar...

PACKAGE DESCRIPTION:

 

root@Tower:/boot/airvideo/x264# ls

x264_0.svn20100115.orig.tar.tgz*

 

So I unzipped them then do the ./configure --prefix=/usr but I am getting error on that too. Later, the make command doesn't work.

 

root@Tower:/boot/airvideo/x264# ./configure --prefix=/usr

Found no assembler

Minimum version is yasm-0.6.2

If you really want to compile without asm, configure with --disable-asm.

root@Tower:/boot/airvideo/x264# make

Makefile:3: config.mak: No such file or directory

grep: config.h: No such file or directory

./configure

Found no assembler

Minimum version is yasm-0.6.2

If you really want to compile without asm, configure with --disable-asm.

make: *** [config.mak] Error 1

root@Tower:/boot/airvideo/x264#

 

thanks,

~joy

 

 

 

  • Author

The first error suggests that the lame package isn't installed. Try installing again separately. Then try again.

 

The second error means you need yasm installed. I must already have this installed in my setup. Try the installpkg option first (in my op I wasn't sure if you need to complie or not). If that doesn't work then:

 

wget http://repository.slacky.eu/slackware-12.1/development/yasm/0.7.2/yasm-0.7.2-i486-1sl.tgz
wget http://repository.slacky.eu/slackware-12.1/development/jam/2.5/jam-2.5-i486-2gal.tgz

installpkg yasm-0.7.2-i486-1sl.tgz
installpkg jam-2.5-i486-2gal.tgz

 

then complie again

thanks for the quick responses. trying it now :-)

 

I took out the option and it let me run configure fixed and make but now I am getting error on make install.

 

root@Tower:/boot/airvideo/ffmpeg# make install

install -d "/usr/local/lib"

./install: line 2: syntax error near unexpected token `)'

./install: line 2: `1) Type './configure' to create the configuration. A list of configure'

make: *** [install-libavdevice-static] Error 2

root@Tower:/boot/airvideo/ffmpeg#

  • Author

thanks for the quick responses. trying it now :-)

 

p.s. make sure you're doing the ffmpeg complie last

Yes, I completed the x264 with your 2 new packages. I am just getting the make install error from ffmpeg.

 

root@Tower:/boot/airvideo/ffmpeg# make install

install -d "/usr/local/lib"

./install: line 2: syntax error near unexpected token `)'

./install: line 2: `1) Type './configure' to create the configuration. A list of configure'

make: *** [install-libavdevice-static] Error 2

root@Tower:/boot/airvideo/ffmpeg#

  • Author

Yes, I completed the x264 with your 2 new packages. I am just getting the make install error from ffmpeg.

 

root@Tower:/boot/airvideo/ffmpeg# make install

install -d "/usr/local/lib"

./install: line 2: syntax error near unexpected token `)'

./install: line 2: `1) Type './configure' to create the configuration. A list of configure'

make: *** [install-libavdevice-static] Error 2

root@Tower:/boot/airvideo/ffmpeg#

 

Go to your ffmpeg directory and type:

 

ffmpeg

 

 

Copy the result here

 

 

root@Tower:/boot/airvideo/ffmpeg# ffmpeg

FFmpeg version UNKNOWN, Copyright © 2000-2010 Fabrice Bellard, et al.

  built on Apr 24 2010 01:59:50 with gcc 4.2.4

  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

  libavutil    50. 8. 0 / 50. 8. 0

  libavcodec    52.52. 0 / 52.52. 0

  libavformat  52.50. 0 / 52.50. 0

  libavdevice  52. 2. 0 / 52. 2. 0

  libswscale    0.10. 0 /  0.10. 0

  libpostproc  51. 2. 0 / 51. 2. 0

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

root@Tower:/boot/airvideo/ffmpeg#

 

  • Author

 configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static --disable

 

looks like you've dropped "--enable-libmp3lame" from your ./configure.orig.fixed build command?

 

It should be

 

./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-ibmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static --disable-decoder=aac

Yes, I can't run the configue_fix with that option.

 

Suprisingly, the make install failed but I can start airvideo and watching it on iphone now. :-)

 

Do you know what that option is for?

 

btw, thanks for your hard work and getting this on UnRaid.

 

thanks,

~joy

Strange, the convert is extremely slow compared to the Windows version. I guess it's not fully using my Q9550.

  • Author

Yes, I can't run the configue_fix with that option.

 

Suprisingly, the make install failed but I can start airvideo and watching it on iphone now. :-)

 

Do you know what that option is for?

 

btw, thanks for your hard work and getting this on UnRaid.

 

thanks,

~joy

 

Weird.

 

I think it's an mp3 encoder. I presume you're sound is working? If so, I assume it's not a dependancy for airvideo.

 

Anyway, glad you have it working. Enjoy!

 

 

Edit: wow! nearly at 100 posts now!

  • Author

Strange, the convert is extremely slow compared to the Windows version. I guess it's not fully using my Q9550.

 

How slow is slow? Takes about an hour or so for a 2 hr movie for me

How slow is slow? Takes about an hour or so for a 2 hr movie for me

 

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.

 

 

Also, I just did a simple test with AirVideo from my desktop and UnRaid. Both are converting from the same movie location. I guess it's an unfair test since my desktop is faster with more memory.

 

Desktop:

AMD X2 555 (Unlocked to 4 cores and OC'ed @3.6ghz)

4 GB Ram

 

UnRaid:

Quad 9550 (stock 2.83ghz)

2 GB Ram

 

Movie Resolution Duration Size Desktop Convert UnRaid Convert

2012.m2ts 1920*1080 2:37:49 32088MB 53mins 1hr 15mins

 

  • Author

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.

 

For anyone wondering, I am working on the package and assuming nothing comes up today I should have a prelim package out to test late tonight.

 

I found some snags that I have had to work around that requires installing more files.

An update to this:

 

I am working with JoeL to try and get some stuff resolved.  I am having trouble getting ffmpeg built without errors.  It keeps complaining about the x264 lib.

 

batfink can you give me a direct download link to the packages you used.  I have been experimenting with different ones i have downloaded but none seem to quite work. I know you uploaded a folder full of stuff but direct download links for those things would be great.

wow this all sounds amazing!  my unraid box is slowly taking over my life...

  • Author

An update to this:

 

I am working with JoeL to try and get some stuff resolved.  I am having trouble getting ffmpeg built without errors.  It keeps complaining about the x264 lib.

 

batfink can you give me a direct download link to the packages you used.  I have been experimenting with different ones i have downloaded but none seem to quite work. I know you uploaded a folder full of stuff but direct download links for those things would be great.

 

Hi

 

I presume your libx264 error differs to the one I mentioned in my first post (using the 'fixed' config file)?

 

Regarding the direct links, I spent several days trying to get this working and experimented with various different files from different source (like you now by the sound of it!) so I can't be certain where the files came from. I'll try to narrow it down when I get home from work.

Thanks for a little of the leg work batfink.  I got some input back from JoeL today and will be messing with creating the package some more tomorrow.  If everything goes good I should have one ready by this weekend.

OK, so a little update for you all.

 

I have most of the package figured out.  I have been away all weekend and have not had a chance to test and refine the package to make sure it works flawlessly.  I should be able to post something up here for community testing around Wednesday night. 

Does anyone know if AirVideo converter is using all 4 CPU cores or limited to 2 cores due to UnRaid is only supporting 2 cores?

 

thanks,

~joy

Where do you get that unRAID only supports 2 cores?

 

From unRAID 4.5.3's kernel config file: CONFIG_NR_CPUS=4.

 

 

Where do you get that unRAID only supports 2 cores?

 

 

I was using 4.4.2 and updated to 4.5.3 a couple weeks ago. I didn't know 4.5.3 use 4 cores. Wow. that's good to know. I will try to run AirVideo conversion again and see how much improvement from 4.4.2 to 4.5.3.

 

thanks,

~joy

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.