barrettj

Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by barrettj

  1. I was trying to convert a few videos and it always asks where I want the videos coverted to, but the only option is the current folder. I did a search and found you can change the location via the server settings, but not knowing where they are confuses me. LOL

    http://www.inmethod.com/forum/posts/list/2277.page

     

    Anybody know where they are to change?

     

    I don't believe that can be changed in the linux version currently (lots of things are hard-coded for the alpha).

  2. The ffmpegs themselves don't interfere, AirVideo installs its ffmpeg in /boot/packages/ffmpeg and hard references this version (via the test.properties file that is passed as a parameter).  All the libraries referenced by both PS3 Media Server (I used a tutorial that was posted here, and it was happening at the end of my go script so it would overwrite the libs installed by unmenu) and AirVideo Server are the same version, except for the x264 lib (the new AirVideo requires the newer one, the old AirVideo alpha doesn't require it, but is very slow when being used).

     

    The changes in full are (2 URLs/filenames/MD5s, the ./configure.orig.fixed parameters, and the version verification info):

     

     

    ...

     

    # the airvideo server .jar file

    PACKAGE_URL http://www.inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar

    PACKAGE_FILE AirVideoServerLinux.jar

    PACKAGE_MD5 b619c088eea230afa92181393a36e1c0

     

    ...

     

    # the ffmpeg for airvideo

    PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/ffmpeg-for-2.4.5-beta6.tar.bz2

    PACKAGE_EXTRA_FILE ffmpeg-for-2.4.5-beta6.tar.bz2

    PACKAGE_EXTRA_MD5 241844e9d41bbd9f8852955291490910

     

    ...

     

    PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

    PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

    PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

    PACKAGE_INSTALLATION     make

     

    ...

     

    PACKAGE_INSTALLATION echo "Version: 2.2.5-alpha6" > /var/log/airvideo

    PACKAGE_INSTALLATION cd "${PACKAGE_DIRECTORY}"

    PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute

    PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'

    PACKAGE_VERSION_STRING 2.2.5-alpha6

    PACKAGE_MEMORY_USAGE Heavy

     

     

    There were no modifications to any file other than the package file, with the exception of deleting the ffmpeg which would only have to be done at a version upgrade.  I'm not sure how to go about that as part of the package script as it's a custom ffmpeg and doesn't appear to properly output the version number and I'm not very well versed in the packages (I can change names and numbers, but adding steps is beyond me currently).

  3. I spoke too soon about it not working.  I forgot I had also installed ps3 media sever, and that was installing older libs (specifically an older x264).  The changes I made appear to work once I disable the installation of ps3 media server.

     

    AirPlay is working GREAT!

     

    I also made a change to the ffmpeg compile flags based on what some users were saying on the air video forums (lib faac isn't necessary anymore)

     

    PACKAGE_INSTALLATION    ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

    PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

    PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

    PACKAGE_INSTALLATION    make

     

  4. Tried installing alpha 6, didn't work.  Was running alpha 4 successfully.

     

    Did the following:

     

    Set the package to not install at reboot.  Rebooted unraid.  Installed the GCC package.  Deleted /boot/packages/ffmpeg

     

    Changed the following parts of the package config:

    ...

     

    # the airvideo server .jar file

    PACKAGE_URL http://www.inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar

    PACKAGE_FILE AirVideoServerLinux.jar

    PACKAGE_MD5 b619c088eea230afa92181393a36e1c0

     

    ...

     

    # the ffmpeg for airvideo

    PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/ffmpeg-for-2.4.5-beta6.tar.bz2

    PACKAGE_EXTRA_FILE ffmpeg-for-2.4.5-beta6.tar.bz2

    PACKAGE_EXTRA_MD5 241844e9d41bbd9f8852955291490910

     

    ...

     

    PACKAGE_INSTALLATION echo "Version: 2.2.5-alpha6" > /var/log/airvideo

    PACKAGE_INSTALLATION cd "${PACKAGE_DIRECTORY}"

    PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute

    PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'

    PACKAGE_VERSION_STRING 2.2.5-alpha6

    PACKAGE_MEMORY_USAGE Heavy

     

     

    It will play files (already converted or natively supported), but not convert them (neither live nor offline).  It WILL generate thumbnails, but very slowly, though which is interesting.

  5. I had originally had AirVideo on my Mac and everything was working fine.  I then switched it to my unRaid box and I was having the problem that it was acting really slow on my iPad - thumbnails weren't showing up, live conversion took over 20 minutes to start.  I tried force quitting the app and restarting it, didn't fix it.  I tried rebooting my unRaid server and that didn't fix it.  Tried different Java versions, and basically a lot of messing around.

     

    Long story short, what worked was restarting the iPad.  Then everything was working 100% perfect.  So if you're having problems, don't just assume it's the unRaid/AirVideo server :P

     

    Thanks to all those that have contributed to making this easy to use and install!

  6. I had to do as Kryspy in order to get it to run as well.

     

    Additionally I needed to edit the command that was starting it and add -Djava.awt.headless=true \ in order to get my album artwork to show up.

    cd `dirname $0`
    
    ${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \
      -Djava.awt.headless=true \
      -Dsubsonic.home=${SUBSONIC_HOME} \
      -Dsubsonic.host=${SUBSONIC_HOST} \
      -Dsubsonic.port=${SUBSONIC_PORT} \
      -Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} \
      -Dsubsonic.defaultMusicFolder=${SUBSONIC_DEFAULT_MUSIC_FOLDER} \
      -Dsubsonic.defaultPodcastFolder=${SUBSONIC_DEFAULT_PODCAST_FOLDER} \
      -Dsubsonic.defaultPlaylistFolder=${SUBSONIC_DEFAULT_PLAYLIST_FOLDER} \
      -jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &

     

  7. I added an additional hard drive (1.5 TB WD EARS drive, the one where you have to put the jumper over pins 7 & 8, at least according to what I've read on these forums).

     

    All of my previous drives have been going to /dev/sd* - but this one decided to be /dev/hdc.  I do have one other device that's /dev/hdd and that's my cache drive which is connected via IDE, all the other drives are SATA.  Isn't that what determines if it's sd or hd - if it's via SATA or IDE?  Is the fact that this new disk showed up as HD something for concern?

     

    Here's my disks (as shown by unmenu):

     

    Array Disk Status
    Status	Disk	Mounted	Device	Model/Serial	Temp	Reads	Writes	Errors	Size	Used	%Used	Free
    OK	parity		/dev/sda	00Z_WD-WMAVU1172726	28°C	56	24					
    OK	/dev/md1	/mnt/disk1	/dev/sdc	00P_WD-WMAVU0907828	29°C	8013	9		1.50T	1.44T	96%	64.56G
    OK	/dev/md2	/mnt/disk2	/dev/sdb	00P_WD-WCAVU0027475	30°C	178747	15		1.50T	794.31G	53%	705.94G
    	 	 	 	 	 	 	 	Total:	3.00T	2.23T	74%	770.50G
    UNRAID Drive
    Device	Model/Serial	Mounted	File System		Size	Used	%Used	Free
    /dev/sdd	usb-Ut165_USB2FlashStorage_00000000000327-0:0	/boot	vfat		4.03G	247.22M	7%	3.79G
    Cache Drive
    Device	Model/Serial	Mounted	File System	Temp	Size	Used	%Used	Free
    /dev/hdd1	WDC_WD800JD-75MSA2_WD-WMAM9W629483	/mnt/cache	reiserfs	22°C	80.00G	385.06M	1%	79.61G
    Drive Partitions - Not In Protected Array
    Device	Model/Serial	Mounted	File System	Temp	Size	Used	%Used	Free
    /dev/hdc	WDC_WD15EARS-00MVWB0_WD-WMAZA0348956			27°C	1500.3G			
    /dev/hdd	WDC_WD800JD-75MSA2_WD-WMAM9W629483			22°C	80.0G			

     

    My syslog (fresh boot from when I added the drive) is attached.  Any advice or corrections to my understanding would be much appreciated!

    system_log.txt

  8. 1)  As far as 25MB files you'll be fine, if you were editing video you'd want to copy them to your local drive to do editing and copying back, but with files that small it shouldn't be an issue.  Renaming files/folders isn't very intensive (and moving files won't have much impact as long as they're moved within the same disk)

     

    2)  If you're going for RAID 5 or 6, you're mostly going for performance reasons - something like a database server would not do well on unraid as there will be frequent disk changes and you generally want queries to run as fast as possible.  Video editing is another application that benefits from fast reads/writes.

     

    3)  Unraid provides exactly the same redundancy as RAID 4 (as that's what unraid is essentially, a software RAID 4 that's easily expandable) -  any one disk can fail before there will be data loss (much like RAID 1 on a single drive, or a RAID 5).  It does not have hot swap capability so if your RAID card does that would provide a little more protection.  Edit: Rajahal is correct, RAID 4 has striping and unraid does not, I thought I had read that raid 4 didn't stripe but I was mistaken.  And to clarify, the comment about hot swapping was to indicate that if you went with a RAID setup instead of unraid that would provide the ability to hot swap.

     

    4)  Yes, if you take the disk out to another system and make changes, you can pop it back into the unraid, but you'll have to recalculate parity so if any drives failed during that time then you've lost data.  This is called the "restore" option by the unraid web gui.

     

     

    I use unRaid both at home - for my video and mp3 files - and as a server at work - storing machine images, backups, and to store call recordings (I work at an incoming call center - you know how they always say this call may be recorded for training purposes, etc.; those files are going to our unraid).

  9. It depends on what you want to use the second NIC for.

     

    If you are thinking about NIC teaming or NIC aggregation, as  prostuff1 pointed out, it's not posible.

    It is also not really needed for unRAID.

     

    But if you are thinking of making your unRAID serve another subdomain through that NIC, you just need one line in your 'go' script:

    ifconfig eth1 XXX.XXX.XXX.XXX netmask YYY.YYY.YYY.YYY up

     

    My Gigabyte motherboard has dual Gigabit NICs.

     

    I know very little about networking.  I'll admit that up front.  If this makes no sense, please just say so.  Currently I have my unRAID server and a Mac Mini running Plex in the same room, and was wondering if I could use the second port on my motherboard to "pass through" a Gigabit connection to my Mini?  This would save me the cost of buying a Gigabit switch.  (yes, I know Gigabit switches aren't that expensive, but everything seems expensive when you're in college and have very little money ;))

     

    You can do that, but your mac mini will need to then be on a separate subnet and without adding things to unraid it will not be able to access the internet (unless you're also using its wireless).

     

    There's a GB switch in the deals forum, it's $25 but with a $15 mail in rebate so it only costs $10 total - I would highly recommend that as it's not too expensive and has other uses (and will last you well out of college, think of it as an investment :P).

  10. Success - that timezone file does indeed work correctly (unlike the eastern timezone file in the .zip on lime-technology.com's download page)!  Now I just need to find a working central timezone file :P

     

     

    Attached is a zip file containing both the non-working eastern timezone file and the working one from Joe.  Doing a diff tells me that they're different, but doesn't say how because they're binary files.

    Send a PM to limetech...  Point him to this post.  I'm sure he will appreciate knowing the files don't work properly.

     

    I e-mailed and PMd last week, haven't received a response yet.

  11. This is untested, but should send the sync command and close the telnet window:

     

    ServerName = "tower"

    UserName = "root" 'Admin name'

    Passwd = "password" 'Password'

    Power = "powerdown" 'call powerdown script'

    ExitCommand = "exit" 'exit command'

    SyncCommand = "sync" 'sync command'

    DELAY = 500 ' Minimum 500ms recommended; 1000 works well.

     

    ' --------------------------------------------------------------------

    ' SECTION B: Start a Shell

    ' --------------------------------------------------------------------

    Set WshShell = WScript.CreateObject("WScript.Shell")

     

    ' --------------------------------------------------------------------

    ' SECTION C: Start the TELNET

    ' --------------------------------------------------------------------

    WshShell.Run "cmd.exe /c telnet.exe " + ServerName

    ' --------------------------------------------------------------------

    ' SECTION D: Login. ("Sleep" pauses are needed delays.)

    ' --------------------------------------------------------------------

    WScript.Sleep DELAY

    WshShell.SendKeys Username + vbLf

    WScript.Sleep DELAY

    WshShell.SendKeys Passwd + vbLf

     

    ' Send sync command

    WScript.Sleep DELAY

    WshShell.SendKeys SyncCommand + vbLf

     

    ' send power down command

    WScript.Sleep DELAY

    WshShell.SendKeys Power + vbLf

     

    ' Wait for the previous command to be sent then exit the telnet session, then exit the command prompt

    WScript.Sleep DELAY

    WScript.Sleep DELAY

    WshShell.SendKeys ExitCommand + vbLf

    WScript.Sleep DELAY

    WshShell.SendKeys ExitCommand + vbLf

     

  12. Does anyone have a copy of libmediainfo and libzen compiled for slackware?  The mediainfo website only has the gui tool and not the libraries.  Otherwise how hard is it to install gcc et all on unraid to try to build them myself?

     

    Edit: Apparently the CentOS versions are compatible with unraid, you do need to extract them from the .rpm, though.  If I can get everything working and have the time I'll try to make a package containing the latest beta version and all of it's required libs.

  13. I believe any web browser you download from the app store would still be based on the version of web kit installed on the phone, and thus suffer from the same problem.

     

    You might try using unmenu.  I was attempting to make an iphone application that would interact with the default web interface (summarize drive stats and allow simple array control, etc)  and if I set a user name and password it would barf when trying to give log in credentials (I'm assuming this has something to do with emhttp not being "real" webserver) using the built-in APIs so it may be endemic to the entire platform (possibly OS X as well).  Getting the data from unmenu seems to work fairly well though (but there's no authentication).

  14. Thanks for the info - I got this setup on my server with your instructions and it's great!

     

    One pleasant side effect is that if I'm editing config files, it appears to create a "version history" of sorts for each time I save the file (I suspect this may be due to how my text editor is saving the files, and not necessarily something intended - I'm using Smultron on OS X for anyone curious).

  15. There is a way on the Linux command line to perform a read-only parity check, that does not update parity, but leaves it in an inconsistent state.   The feature does not yet report where the inconsistency occurred, so it is not as useful as it could be if it did.

     

    Would it even be possible to tell where the error occurred (with any degree of reliability without tons of testing)?  Wouldn't the most it could do be to tell you that there was a block mismatch between the disks and parity, so if you have say 10 disks then the error could be in any of the 10 files that those disks contain OR that the parity block is wrong.  So each time it occurred you would have {number of disks} files to check per error.  If each of those files was 1 gb move you'd have to watch each one all the way through, or have a MD5 hash of the file in order to check, wouldn't you?