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.

[Request] Emit (AirVideo for all platforms)

Featured Replies

I've been trying to find a solution that would fit since I've moved on from my iPhone to a Galaxy S3.

 

I know plex is out there but that is geared for people who want a home theatre. I've got my stuff organized in a series of folders which. So if any plugins devs are willing to take this one on. Please :)

Committing $20 towards this plugins.

 

https://www.emitapp.com/

 

Feel free to voice any other alternatives I could use also.

  • Author

Does subsonic handle video well? It serves music up nicely but I don't think the video experience is there.

Does subsonic handle video well? It serves music up nicely but I don't think the video experience is there.

 

It plays video okay on browsers with flash support.

but i dont think it plays too well on android devices..

especially if you have ICS or JellyBean. I think adobe or google stopped supporting flash for ICS or jellybean and unless you grab the third party app for that, you really cant play the video..

 

so for your purpose, subsonic wont work too well..

 

btw, i am the guy that's in charge of that subsonic plug in.. and i am kinda looking into this Emit thing but i am stuck at the same place as the guy from the link

i think it has to do with some pkg.. we'll see

Currently looking at this also.  I have managed to get emit running and detected by the app on my iPad.  Not done anything else yet.  Will update later.

 

@jangjong, I'll send you a link to my compiled packages if you like.  Let me know.

 

 

Update: seems to work okay after a few basic tests with avi, mp4, mkv files.  All played back on my ipad and I was also able to access emit from the web once I'd opened the necessary ports.  I've already got the install scripted as part of a basic plugin including the required packages.  I need to write the webgui side so that there's a place to enter what directories contain media files and also the back-end script to start / stop etc, but it does look like Emit will work on UnRAID.

 

I'll work on the plugin some more later, but for now the wife's looking at me in that way which makes me think I've been sat at the keyboard too long today already...

  • Author

Thanks for the effort overbyrn. It would be nice to see Emit sprout as a plugin so we can support other platforms.

 

I did try subsonic for a little bit. Its fine on my laptop but I don't have a browser with flash support.

but I don't have a browser with flash support.

 

check out boat browser, just found it myself

Currently looking at this also.  I have managed to get emit running and detected by the app on my iPad.  Not done anything else yet.  Will update later.

 

@jangjong, I'll send you a link to my compiled packages if you like.  Let me know.

 

 

Update: seems to work okay after a few basic tests with avi, mp4, mkv files.  All played back on my ipad and I was also able to access emit from the web once I'd opened the necessary ports.  I've already got the install scripted as part of a basic plugin including the required packages.  I need to write the webgui side so that there's a place to enter what directories contain media files and also the back-end script to start / stop etc, but it does look like Emit will work on UnRAID.

 

I'll work on the plugin some more later, but for now the wife's looking at me in that way which makes me think I've been sat at the keyboard too long today already...

 

Man i haven't had time to play around with this yet. How were you able to fix that issue that i was having?

I think there could've been a problem with erlang pkg that i was trying to use..

 

but yea. please send me a link to your compiled pkgs. I would like to try it myself as well.

 

I do like what subsonic does.. but if emit works better than subsonic, i might have to switch over

Does Emit supports .flac/.ape streaming to Ios devices?

Couldn't found this info on their website.

Currently looking at this also.  I have managed to get emit running and detected by the app on my iPad.  Not done anything else yet.  Will update later.

 

@jangjong, I'll send you a link to my compiled packages if you like.  Let me know.

 

 

Update: seems to work okay after a few basic tests with avi, mp4, mkv files.  All played back on my ipad and I was also able to access emit from the web once I'd opened the necessary ports.  I've already got the install scripted as part of a basic plugin including the required packages.  I need to write the webgui side so that there's a place to enter what directories contain media files and also the back-end script to start / stop etc, but it does look like Emit will work on UnRAID.

 

I'll work on the plugin some more later, but for now the wife's looking at me in that way which makes me think I've been sat at the keyboard too long today already...

 

Man i haven't had time to play around with this yet. How were you able to fix that issue that i was having?

I think there could've been a problem with erlang pkg that i was trying to use..

 

but yea. please send me a link to your compiled pkgs. I would like to try it myself as well.

 

I do like what subsonic does.. but if emit works better than subsonic, i might have to switch over

 

jangjong, here's a link to a plugin for emit that I was working on.  You should be able to get all the info you need from it including the packages I'm using.  I'm not happy with the emit daemon.  It seems flakey.  Sometimes it'll run ok and I can access media from the emit web player, and sometimes it can see the media locations, but not play any of the files.  I think that's because sometimes the upnp binary doesn't get loaded.  Your best option is to run the rc.emit script from command line and ignore the webgui for now.  Then check what processes are running after starting emit.

 

The main process looks like:

root      9819     1  0 14:09 ?        00:00:00 /usr/lib/erlang/erts-5.8.3/bin/beam.smp -Bd -- -root /usr/lib/erlang -progname erl -- -home / -- -noshell -noinput -pa /usr/local/emit/ebin/ -ev

 

But there should be another :

root     10519 10502  0 14:13 ?        00:00:00 /usr/local/emit/priv/upnp

 

... but for some unknown reason this upnp process does not always startup.  If it is not running, it seems to prevent Emit from playing back media.  But it does still allow Emit to browse media locations.  Weird.

 

I can't seem to find good way to demonize emit from the script.  I've got it running but when it's started from the plugin webgui, it needs a manual page refresh to update the status as it never returns control to the web page.  I saw a similar issue with sickbeard and fixed that by using nohup to execute the process.  I tried this for emit, but I can't seem to get the emit processes to run properly this way.  They start, then some of them die.

 

I think I've gone about as far as I can for now so please feel free to take the plugin and see if you can make it any better.

 

Link to emit plugin: https://dl.dropbox.com/u/572553/UnRAID/emit/emit-0.1-i468-1rj.plg

 

 

Regards,

overbyrn

Currently looking at this also.  I have managed to get emit running and detected by the app on my iPad.  Not done anything else yet.  Will update later.

 

@jangjong, I'll send you a link to my compiled packages if you like.  Let me know.

 

 

Update: seems to work okay after a few basic tests with avi, mp4, mkv files.  All played back on my ipad and I was also able to access emit from the web once I'd opened the necessary ports.  I've already got the install scripted as part of a basic plugin including the required packages.  I need to write the webgui side so that there's a place to enter what directories contain media files and also the back-end script to start / stop etc, but it does look like Emit will work on UnRAID.

 

I'll work on the plugin some more later, but for now the wife's looking at me in that way which makes me think I've been sat at the keyboard too long today already...

 

Man i haven't had time to play around with this yet. How were you able to fix that issue that i was having?

I think there could've been a problem with erlang pkg that i was trying to use..

 

but yea. please send me a link to your compiled pkgs. I would like to try it myself as well.

 

I do like what subsonic does.. but if emit works better than subsonic, i might have to switch over

 

jangjong, here's a link to a plugin for emit that I was working on.  You should be able to get all the info you need from it including the packages I'm using.  I'm not happy with the emit daemon.  It seems flakey.  Sometimes it'll run ok and I can access media from the emit web player, and sometimes it can see the media locations, but not play any of the files.  I think that's because sometimes the upnp binary doesn't get loaded.  Your best option is to run the rc.emit script from command line and ignore the webgui for now.  Then check what processes are running after starting emit.

 

The main process looks like:

root      9819     1  0 14:09 ?        00:00:00 /usr/lib/erlang/erts-5.8.3/bin/beam.smp -Bd -- -root /usr/lib/erlang -progname erl -- -home / -- -noshell -noinput -pa /usr/local/emit/ebin/ -ev

 

But there should be another :

root     10519 10502  0 14:13 ?        00:00:00 /usr/local/emit/priv/upnp

 

... but for some unknown reason this upnp process does not always startup.  If it is not running, it seems to prevent Emit from playing back media.  But it does still allow Emit to browse media locations.  Weird.

 

I can't seem to find good way to demonize emit from the script.  I've got it running but when it's started from the plugin webgui, it needs a manual page refresh to update the status as it never returns control to the web page.  I saw a similar issue with sickbeard and fixed that by using nohup to execute the process.  I tried this for emit, but I can't seem to get the emit processes to run properly this way.  They start, then some of them die.

 

I think I've gone about as far as I can for now so please feel free to take the plugin and see if you can make it any better.

 

Link to emit plugin: https://dl.dropbox.com/u/572553/UnRAID/emit/emit-0.1-i468-1rj.plg

 

 

Regards,

overbyrn

 

Wow! You went all out with pkgs lol

 

I will see what i can do with this.. just letting everyone know know, im not a big expert on plug ins so cant promise anything definite lol

Yea, quite a lot of packages needed, but then you know this yourself from maintaining Subsonic. I compiled ffmpeg 0.10.2 from source.  Basically ffmpeg from source and anything with a filename that ends "SBo.tgz" from source via slackbuild scripts.  All done on a Slackware 13.37 VM.  The rest I stole from airvideo/subsonic after doing "ldd"against ffmpeg until it no longer complained about missing libraries!

I hope this gets figured out, this would be a nice plugin to have.

Yea, quite a lot of packages needed, but then you know this yourself from maintaining Subsonic. I compiled ffmpeg 0.10.2 from source.  Basically ffmpeg from source and anything with a filename that ends "SBo.tgz" from source via slackbuild scripts.  All done on a Slackware 13.37 VM.  The rest I stole from airvideo/subsonic after doing "ldd"against ffmpeg until it no longer complained about missing libraries!

 

overbyrn,

 

How did you compile your ffmpeg?

 

I compiled ffmpeg on my own so I can use it on both Subsonic and Emit, but I can't get it to work.

When I compile ffmpeg, it works fine on Subsonic, but it won't work through Emit, but as soon as i install your ffmpeg, it works fine.

 

I also noticed that your ffmpeg is 45MB where mine was only about 5MB.

 

I enabled libvpx, libxvid, libfaac, mp3lame, and libx264. Did you enable anything else when you were compiling your ffmpeg?

Well, I"m trying to build ffmpeg using scripts from slackbuild.. i wonder if that's the problem? hmm..

You're correct about slackbuild ffmpeg scripts.  I didn't use them.  I was going to use a slackbuild script for ffmpeg v11, but it was giving me errors so I decided that since emit mentioned needing v10, I could try that instead. 

 

If I recall, I used the info inside ffmpeg.sh found in the emit tar file as a clue to what was needed.

 

eg.

 

git clone git://git.videolan.org/x264
cd x264
./configure --enable-static
make

 

git clone http://git.chromium.org/webm/libvpx.git
cd libvpx
./configure 
make

 

wget "http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.bz2"
tar xvfj ffmpeg-0.10.2.tar.bz2
cd ffmpeg-0.10.2
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
    --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
    --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
    --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx 
make

 

 

Edit: you probably know this stuff, but when I didn't have a slackbuild script to help me make a package I did this instead...

./configure
make
mkdir pkg
make DESTDIR=`pwd`/pkg install
cd pkg
makepkg foo-bar-1xyz.tgz

I see...

Very interesting.

 

I actually don't know anything about building my own packages lol this was first time trying to compile a package.

 

I was going to use your ffmpeg for both Emit and Subsonic at first, but then subsonic was having a problem with yours where it was decoding some mkv's in wrong ratio. (16:9 to 4:3. or more like decoded using one size)

but then when I tried it again today, seems to work fine on both lol. weird.

 

i will try to build it from the pkg it self and if all fails, i'll just have to use your pkg for the plugin. i hope you're okay with that. i will be using it for both subsonic and emit.

 

 

thanks!

 

edit:

oh btw, i was using slackware 14.0. is unraid based on 13.37?

No problem if you want to use the one I compiled.  Might be worth using the x264 one as well as it's a later build.  I've have used ffmpeg myself for Airvideo, but they moved to avconv, so no more need. 

 

Afraid I'm no expert on the Linux side of things, but I have been in IT for >30yrs, so hopefully have absorbed some info along the way lol.  I get a bit unsure when people start talking about versions of the linux kernel and how they relate to the different distros and versions.  To be honest, I installed 13.37 Slackware as a VM ages ago and for when I was learning to compile some packages for the Airvideo plugin.  I never really looked past what worked for me at the time.

 

Have you made any progress with Emit?  As I say before, it didn't seem to be all that great at running as a daemon in the rc script.  Otherwise the plugin I put together seemed to be mostly okay.

 

Give me a shout if I can help with anything.

No problem if you want to use the one I compiled.  Might be worth using the x264 one as well as it's a later build.  I've have used ffmpeg myself for Airvideo, but they moved to avconv, so no more need. 

 

Afraid I'm no expert on the Linux side of things, but I have been in IT for >30yrs, so hopefully have absorbed some info along the way lol.  I get a bit unsure when people start talking about versions of the linux kernel and how they relate to the different distros and versions.  To be honest, I installed 13.37 Slackware as a VM ages ago and for when I was learning to compile some packages for the Airvideo plugin.  I never really looked past what worked for me at the time.

 

Have you made any progress with Emit?  As I say before, it didn't seem to be all that great at running as a daemon in the rc script.  Otherwise the plugin I put together seemed to be mostly okay.

 

Give me a shout if I can help with anything.

 

Thanks.

 

I didn't make any progress with Emit yet. I was just trying to get the ffmpeg to compile correctly lol

 

I ran it as a service. When I tried it, it seems to work out fine for videos, but it won't play mp3 for some reason. I have to look into that as well.

 

Wish there was more documentation for Emit. i can't find anything over their website. oh well.

 

Hopefully i'll be able to get something out by next week.

Oh boy!

Just letting you guys know, I am making a good good progress.

 

First of all, thank you overbyrn for the ffmpeg pkg and other pkgs that he has compiled. Also the plg file that he provided. I will be using his work to finish this plug in.

 

I am not ready to release this plugin yet, but just wanted to let you know where I am.

 

I'm able to start Emit from the unraid settings page and turn it off.

 

One of main problem i had was that it wouldn't even start. Well it would be running as a process, but it just won't be visible on Emit app.

After awhile, I realized that I have to specify the user that I am running Emit as. After specifying that, I was able to access my folders through Emit.

However, another main problem I had was that it won't play any video even though I was able to browse through like overbyrn mentioned in the previous comment.

I don't know if I'm right, but I don't think it was because of 'upnp'.

I realized when I run the command using telnet, it works perfectly fine, but when i run it through the setting page (using run_cmd) it won't play any video.

I found out that when i run it using telent, it adds 'ffmpeg' to the process, but through the setting page, it just didn't do that.

 

I had a similar problem with subsonic where even though the pkg was installed, subsonic would say it can't find the command ffmpeg

It seemed like I had to add /usr/local/bin to $PATH. That's where ffmpeg was installed to using overbyrn's pkg

 

After that.. it finally played video.. woo hoo!

 

Anyway, you probably didn't have to hear all that but I just wanted to let you know where I am lol

 

But here is the part where you probably want to read.

 

To finish this plug in, I just need to fix the plg file so it would start normally on reboot, which means I can probably have something up by this week. (or even today/tomorrow).

it probably needs some major testing though. I've been testing it with just HLS. Maybe i need to do some testing with RTSP

 

I do not have any apple devices (ipod, ipad, or iphone) so I can't guarantee if it will work on any of those devices. It really should, but you never know. I've been testing with Galaxy Nexus. Maybe someone can help me testing.

Also, it doesn't look like I can play any mp3's through android Emit app. When I go on to the web player, it works, but it just won't play through Emit App.

I wonder if there's a problem with Emit app

 

Anyway, that's where i am.

Nice. Sounds like it is getting close. I have a 3rd gen iPod I can use for testing. Can you use the Airvideo app to connect to the emit server, or do you need an Emit app?

Nice  :)

 

Look forward to seeing the final version. 

 

FYI, I can play mp3's from my iphone emit (free) app.  Sadly, doesn't see mp4s or flacs.  Don't know if that's a limitation of Emit or ffmpeg.  If the latter, then I assume it needs to be compiled to include the necessary libs.  Maybe...

Nice. Sounds like it is getting close. I have a 3rd gen iPod I can use for testing. Can you use the Airvideo app to connect to the emit server, or do you need an Emit app?

 

I have no clue. It's hard to work with Emit because there is almost no documentation to work with. All I could find was a small Q&A section on their site and README file..

 

Nice  :)

 

Look forward to seeing the final version. 

 

FYI, I can play mp3's from my iphone emit (free) app.  Sadly, doesn't see mp4s or flacs.  Don't know if that's a limitation of Emit or ffmpeg.  If the latter, then I assume it needs to be compiled to include the necessary libs.  Maybe...

 

I am pretty sure it's not ffmpeg. I was testing your ffmpeg against my subsonic plug in. It was transcoding flac fine.. so it has to be Emit.

 

too bad i can't work on it now since im at work lol

Okay,

 

So here is the plugin:

 

http://unraid-emit-plugin.googlecode.com/files/emit-1.10.1-1.0jj.plg

 

THIS IS BETA. THIS MAY NOT BE STABLE.

 

I'm uploading this here so people can help me with apple devices. As I mentioned in the previous post,  I only have the Galaxy Nexus to test with.

 

The plugin will install Emit in "/usr/local/" by default. I know the setting page may have the installation dir, but I haven't implemented that yet. so that text box won't work.

Also, do not change the port number. Use the default one for now until I make the change.

So except for Installation DIR and the Port number, other setting should work. You should be able to set the media location and trigger the web player.

To use the web player, you have to go through https://www.emitapp.com/ this site. It doesn't have a built in web-server like subsonic does.

 

again, i am uploading this strictly for testing. this should not be used as a daily plugin.

 

So, if someone can please test this with apple devices, I would appreciate it! I've tested Mkv and avi using nexus. I saw some lags but I'm guessing it may have to do with network speed.

Please test mp4 and mp3 if possible.

 

You can also test with android devices if you would like to!

 

Thanks!

 

PS: I won't be able to work on this plug-in probably till end of this weekend, so expect the final version to be out by early next week.

I installed the plugin last night -- I tested it on both the webapp and on my Android Galaxy S2 and in both cases it found my server without any problems, but no matter what settings I apply, nothing plays in either.  I restarted unraid and now I can't even connect to the Emit server.

 

I wasn't able to track down the location of the emit logfile either, so I'm not sure what to debug at the moment.  Where should that logfile be placed?

 

Troy

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.