| ||||||
Re: Serviio Mediaserver on N4F?ok, because this, i say "once work".
good job to all. NAS4Free 9.1.0.1.687 X64 full on a 40GB SSD, 8 GB,CPU Intel Q9400, 5xHD203WI 2TB+5xTOSHIBA DT01(3TB) on RaidZ1=19TB &Board: ASUS P5Q-WS
Wiki Last changes FAQ Old Wiki
Re: Serviio Mediaserver on N4F?I am attempting install on a blank jail - but the release of 9.1-RC3 has broken pkg_add -r. Ugh. Also, today is pretty busy.
The java .jars seem to be fairly simple to extract from the linux tarball. Further, I don't think the "make" actually compiled anything from the ports. I am pretty sure it just obtained the zip, extracted it to the right place, and generated some scripts. I agree with alexey that the best option is to come up with install instructions that end with the webgui. In fact, it *should* be arbitrarily simple to make a N4F "extension" that points to the webgui in the jail. You would click the link, and leave the N4F page, but that's fine. Better, actually, because that way pathnames are less likely to get confused if you are completely inside the jail.
Re: Serviio Mediaserver on N4F?Looks like webui will be the best - it's just another two .jar files. No need to install a webserver or anything.
Re: Serviio Mediaserver on N4F?
This is exactly why running the rc script is the proper way to do it. When I run it, I see that my process is running with dlna as the user account. (That's why ps aux | grep dlna retrieves whether or not it's running).
Re: Serviio Mediaserver on N4F?Update - These steps get it running for me:
1. Enter BRAND NEW jail built from with 9.1-RC3 base and lib32 tarballs, + added hosts entry + copy of n4f resolv.conf 2. setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ase/Latest 3. pkg_add -r openjdk6 ffmpeg 4. portsnap fetch 5. portsnap extract 6. cd /usr/ports/net/serviio 7. make install clean 8. /usr/local/etc/rc.d/serviio onestart Done. Works fine. Process is being run by dlna, not root. Something is (was) wrong with your jail. Now let me see about the webui.
Re: Serviio Mediaserver on N4F?When I'm at home, I will delete the jail and rebuild.
PyLoad is fast installed. But why do you install the old version 0.6 of serviio? The actual build is 1.0.1 and supports the genius media browser.
How to run serviio as user dlna?
Re: Serviio Mediaserver on N4F?
When you install from port collection, you have rc.d script for run it properly. Lab 9.1.0.1 - Sandstorm (revision 636) / x86-full on AMD Sempron(tm) 2200+ / 1G RAM
Home9.1.0.1 - Sandstorm (revision 636) / x86-embedded on Intel(R) Pentium(R) 4 CPU 2.66GHz HP Compaq D530 / 1G RAM
Re: Serviio Mediaserver on N4F?
Proof of concept to see how it functions when installed from the ports collection. Prototype. I wanted to prove that your jail has something wrong with it. Serviio is a standalone java virtual machine - if 0.6.2 won't work, then 1.0.1 is unlikely to work.
This is because it is restricted. Instead, you need to make it yourself.
Easy:
If you look inside the rc script, you see that the java command is made a child of user dlna. That's why I am advocating using the rc.d script.
Re: Serviio Mediaserver on N4F?I can connect via Console.
Working Now lets make the actual version running
Re: Serviio Mediaserver on N4F?Yes, because I will test the media browser.
On the old jail I wasn't able to stream in browser via the flash player.
Re: Serviio Mediaserver on N4F?I had mixed luck today with 1.0.1. I will need to attempt again tomorrow with a clean jail, starting from scratch. Too bad you can't email me a beer. I would kill for a fresh Spaten while working on this!
Re: Serviio Mediaserver on N4F?I have it working, webui + webgui integration. See below, and test with your setup:
Inside working jail: Add a /etc/hosts entry for your jail: {jail ip} {jail hostname} Mine is: 10.10.10.15 serviio.nas4free
Create a /usr/local/sbin/serviiod file, and fill it with:
Create a /usr/local/etc/rc.d/serviio file, and fill it with:
Add this to your jail's rc.conf:
Restart the jail, or start serviio with the rc script: /usr/local/etc/rc.d/serviio start Then, on the N4F host: (NOTE: ALL OF THE ABOVE STEPS ARE INSIDE THE JAIL!!!!)
These last two commands need to be part of a startup script on the N4F host if you are running embedded. Let me know. Last edited by fsbruva on 08 Nov 2012 12:02, edited 4 times in total.
Re: Serviio Mediaserver on N4F?I forgot to mention - streaming might not work, because ffmpeg from pkg_add doesn't have the support that serviio expect. Check out serviio.log, and there is a warning. Or, you can check serviio's website/wiki. There is a list of the compile options needed for ffmpeg there. To do that, you need to get the ports collection, and make your own ffmpeg.
Re: Serviio Mediaserver on N4F?
As for me - True. Or blank Nas4free page with <iframe> serviio Lab 9.1.0.1 - Sandstorm (revision 636) / x86-full on AMD Sempron(tm) 2200+ / 1G RAM
Home9.1.0.1 - Sandstorm (revision 636) / x86-embedded on Intel(R) Pentium(R) 4 CPU 2.66GHz HP Compaq D530 / 1G RAM
Re: Serviio Mediaserver on N4F?
This has to be /usr/local/sbin/serviiod I got this error message:
Some mistake in the script Guys, you made also a little mistake with the webinterface integration. This:
Must be:
Just the " after the </a> has to be '.
Re: Serviio Mediaserver on N4F?Good catch. I did most of this in a VM without SSH, so I couldn't copy & paste. Thus, transcription errors.
Did it work for you?
Re: Serviio Mediaserver on N4F?No you see, that I got an error message.
There's some mistake in /usr/local/etc/rc.d/serviio or /usr/local/sbin/serviiod
Re: Serviio Mediaserver on N4F?That is an error with erroneous newlines in the serviiod file, likely.
These lines:
These should be only 2 lines of CODE!!! Try this:
Better luck?
Re: Serviio Mediaserver on N4F?Sorry, my fault.
I copied the script via copy&paste to nano over ssh. By copying nano made a \n between the command. First script is working fine Will test now the webinterface.
Re: Serviio Mediaserver on N4F?Holy sh**!
It's working with 1.0.1! ...but
I'm sorry, that I can't send you a beer via my WAN connection. Enjoy this
Re: Serviio Mediaserver on N4F?What type of file were you attempting to open, with what encoding? And to what device were you attempting to send it? My guess its a transcoder issue - probably due to the odd ffmpeg version that FreeBSD pkg_add uses. You're not alone with this issue.
Re: Serviio Mediaserver on N4F?I tried to open it via opera/windows7 ...
Every movie files like .mkv and .avi etc. BTW: transcoding on Panasonic E30 and Samsung tv is working fine
Re: Serviio Mediaserver on N4F?As I suspected, the two required libraries required by serviio, (libmp3lame and librtmp) are not included in our version.
pkg_add brings us 0.7.13, ports collection has the same. I am not sure which version serviio is using, as they seemed to have grabbed a snaphot of the git. Good luck.
Re: Serviio Mediaserver on N4F?Belay that. There is a newer version ffmpeg in the ports. Need to portsnap, then cd to ffmpeg1.
http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux Need: AMR_NB AMR_WB FAAC LAME RTMP THEORA VORBIS VPX X264 XVID Be prepared. The build will probably take a while, as ffmpeg depends on perl - which will also be built.
| ||
Who is onlineUsers browsing this forum: No registered users and 1 guest | ||