February 22, 201214 yr swixxy & neph, I sent you both a PM. thanks! Ajax, could you PM me a link also please? I'm already using Subsonic through the original non-plugin method and would like the chance to see what you've done in switching the design to a plugin. Thanks, RJ
March 10, 201214 yr Author @overbyrn... sent you a PM... Ajax, could you PM me a link also please? I'm already using Subsonic through the original non-plugin method and would like the chance to see what you've done in switching the design to a plugin.
March 10, 201214 yr Author seems to be working for the most part, except after I add more albums to the media directory they aren't scanned into the database. Neph, Unfortunately, I don't know what algorithms are used by subsonic to determine whether a rescan is necessary and/or it's frequency. However, you can force a rescan by just pressing "save" on the settings page where you specify the directory.
March 10, 201214 yr Updating Subsonic's database is done by updating its search index. The Search Index setting is located in Settings > Search. Can't wait to try your plugin ajax. Still running Subsonic the old way.
March 12, 201214 yr Any news on this? I just tried upgrading to 4.6 on my own (Standard upgrade) using the ffmpeg shown above however whenever i click play on a video file it says Video not found or access denied. So i'm assuming its an error with the ffmpeg ? Music works fine though. dont know if you worked it out yet or not but "ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -acodec libfaac -v 0 -f flv -" without the quotes worked for me on my last install
March 12, 201214 yr FYI, update & link posted in the original post... Just installed the updated plugin and having trouble with transcoding flac and m4a. mp3 transcoding works perfectly. Flac and m4a do nothing. I can't find any error messages (but then again I am not sure where I should be looking). /mnt/cache/.subsonic/transcode is symlinked to /usr/bin/ and the ffmeg binary is in there OK. I tried copying it to a local transcode directory but no change. I've kept the default transcode command switches in subsonic itself. Any hints on what I need to do to get this going (or how I can better trouble shoot and what info would help with a speedy resolution) Cheers
March 12, 201214 yr Author Just installed the updated plugin and having trouble with transcoding flac and m4a. mp3 transcoding works perfectly. Flac and m4a do nothing. I can't find any error messages (but then again I am not sure where I should be looking). Can you confirm that the following directory exists: /boot/packages/mencoder-packages and that it is filled with ~74 packages? Thanks!
March 13, 201214 yr /boot/packages/mencoder-packages does exist. Its got 142 items in it, of which 68 are hidden and 74 visible
March 15, 201214 yr Still stumped on this. Any hints on where I can look in logs to find out what is going on?
March 18, 201214 yr Author Still stumped on this. Any hints on where I can look in logs to find out what is going on? The subsonic.log is saved in your install directory I know this will sound like voodoo, but can you try restarting your unRAID server? I think I was able to replicate this problem when installing on top of a previous install, which means my instructions need a little work in detailing which files to keep/delete. however, a restart resolved this for me. after restarting please check to see that the server config options are valid and that you apply any changes...
March 18, 201214 yr Restarting didn't fix the problem and server options are valid. subsonic.log gives the DEBUG [2012-03-18 18:20:49,954] DEBUG InputStreamReaderThread - (/mnt/cache/.subsonic/transcode/ffmpeg) Encoder (codec id 86017) not found for output stream #0.0 On a related note when I try and play a video file I get the following [2012-03-18 18:32:04,673] DEBUG InputStreamReaderThread - (/mnt/cache/.subsonic/transcode/ffmpeg) Unrecognized option 'preset' transcoding using lame works fine.
March 18, 201214 yr Author Restarting didn't fix the problem and server options are valid. Can you send me the output of: which ffmpeg Also, can you try the following: /etc/rc.d/rc.subsonic stop installpkg /boot/packages/mencoder-package/*.t*z [code] Then navigate to your install directory (swap out /path/to/install/directory/ with the install path you specified in the plugin): [code] cd /path/to/install/directory/ rm -rf transcode ln -s /usr/bin/ ./transcode /etc/rc.d/rc.subsonic start I'm starting to think this may be a timing issue. Let me know if this works...
March 18, 201214 yr One issue I found. The plugin installs 0.6.1 of ffmpeg: http://alien.slackbook.org/slackbuilds/ffmpeg/pkg/13.1/ffmpeg-0.6.1-i486-1alien.tgz Which does not support the -preset command that is in the default for the flv/x264 transcode settings. changing to 0.9 worked "out of the box" for me http://alien.slackbook.org/slackbuilds/ffmpeg/pkg/13.37/ffmpeg-0.9-i486-1alien.tgz
March 19, 201214 yr Thanks for the efforts guys but still not working. reinstalling the mencoder-packages and redoing the symlink did not fix the situation. I got the same errors in the subsonic log as previously. which ffmpeg points to /usr/bin/ffmpeg I upgraded the ffmpeg packages to 0.9 which now allows me to play video via subsonic but gives a different error for the flac or m4a transcoding [2012-03-19 09:53:13,797] INFO PlaylistInputStream - admin listening to "Angus And Julia Stone - Down the way/07 - And The Boys.flac" [2012-03-19 09:53:13,807] DEBUG TranscodeInputStream - Starting transcoder: [/mnt/cache/.subsonic/transcode/ffmpeg] [-i] [/mnt/user/Music/Angus And Julia Stone/Angus And Julia Stone - Down the way/07 - And The Boys.flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-] [2012-03-19 09:53:13,810] DEBUG InputStreamReaderThread - (/mnt/cache/.subsonic/transcode/ffmpeg) /mnt/cache/.subsonic/transcode/ffmpeg: /usr/lib/libz.so.1: no version information available (required by /usr/lib/libavcodec.so.53) [2012-03-19 09:53:43,547] INFO PlaylistInputStream - admin listening to "Oscar + Martin - For You/09 Recognise.m4a" [2012-03-19 09:53:43,557] DEBUG TranscodeInputStream - Starting transcoder: [/mnt/cache/.subsonic/transcode/ffmpeg] [-i] [/mnt/user/Music/Oscar + Martin/Oscar + Martin - For You/09 Recognise.m4a] [-ab] [128k] [-v] [0] [-f] [mp3] [-] [2012-03-19 09:53:43,565] DEBUG InputStreamReaderThread - (/mnt/cache/.subsonic/transcode/ffmpeg) /mnt/cache/.subsonic/transcode/ffmpeg: /usr/lib/libz.so.1: no version information available (required by /usr/lib/libavcodec.so.53) Although the log when I play a video also gives that line about the version [2012-03-19 09:51:36,314] DEBUG TranscodeInputStream - Starting transcoder: [/mnt/cache/.subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/user/TV/Awake/Season 1/Awake.S01E01.HDTV.x264-LOL.[VTV].mp4] [-async] [1] [-b] [1000k] [-s] [642x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-] [2012-03-19 09:51:36,317] DEBUG InputStreamReaderThread - (/mnt/cache/.subsonic/transcode/ffmpeg) /mnt/cache/.subsonic/transcode/ffmpeg: /usr/lib/libz.so.1: no version information available (required by /usr/lib/libavcodec.so.53)
March 21, 201214 yr I'm seeing the exact same behaviour as rocketpants. My mp3s play just fine, but any flac file fails to play (exact same set of errors). I also had issues playing any video file until I updated to the newer version of ffmpeg (Thanks thraxis!). I also noticed that the plg file wasn't referencing the right freetype package (you'll have to excuse the lack of details, as I'm at work currently). The plg file was looking for freetype.tgz, where the file name in the mencoder folder was freetype-<version>.tgz (I may have the extension wrong, but you should get the idea). I'm not sure if this has an affect on the install or not, as the next line in the plg file just installs everything in the mencoder folder anyway. For the little bit of messing around that I've had to do so far, however, this is proving to be a great plugin. Its my first experience with Subsonic, and I'm liking it so far. Great work bringing this plugin forward!
April 5, 201214 yr when i restart my server, subsonic is not active. i have to manually enable subsonic in the setting page. how can i auto enable subsonic every time my server starts? thanks.
April 5, 201214 yr Latest from 1st post, running latest beta of unRaid... when I attempt to start I get a bunch of errors that it is trying to change ownership of the mencoder-packages dir to UID 501 GID 20 and it fails.... I even tried to do it manually and get operation not permitted.... Any suggestions? Thanks Myk btw, exact message: tar: mencoder-packages: Cannot change ownership to uid 501, guid 20: Operation not permitted tar: Exiting with failure status due to previous errors everything in this folder tree is root:root, permissions of 777
April 5, 201214 yr I upgraded the ffmpeg packages to 0.9 which now allows me to play video via subsonic but gives a different error for the flac or m4a transcoding There's a known issue with the latest Subsonic version not correctly transcoding flac using the default ffmpeg transcoding config. There are some documented ways around this on the subsonic forums where you use a two phase transcode for flac. I got it to work by doing the following; On the transcode page there should already be two transcode entries. The first one "mp3 audio", I removed the portion "flac" from the "convert from" section, leaving everything else the same and created a new transcode entry; "Name" mp3 audio2 "Convert From" flac "Convert To" mp3 "Step 1" ffmpeg -i %s -v 0 -f wav - "Step 2" lame -V 0 --tt %t --ta %a --tl %l -S --resample 44.1 - - Seemed to work when I tested it with a few flac files. I think there's some issue with the two step process not working well with the jukebox function(?), but to be honest I don't do much other than use Subsonic via an iPad app and occasional mkv transcode. I'd be interested to know if it works for more people than just me. Incidentally, I've worked out all the necesary packages for getting 4.6 Subsonic to play audio and video. I didn't want to install too much as I also run AirVideo and so wanted to understand what packages were needed rather than install the full mencoder stuff as in my view there's always a danger of package version mismatches when running too many things that use the same binaries/libs. All the packages I've installed together with a copy of the 4.6 subsonic tar file and also a script I quickly threw together which I use to install are on my dropbox - https://www.dropbox.com/sh/n3txaphjh79svq3/6X9eVBTSzT I'm not currently using the plugin, instead I just have all the packages in my /boot/packages directory, manually call the script from my "go" file and if I want to stop/start, I do it via command line in the usual way. eg. /etc/rc.d/rc.subsonic stop|start. My copy of subsonic runs from cache drive, so after first untar'ing the subsonic file and getting things working, I don't worry about things surviving a reboot other than to reinstall the packages. I'm sure it could probably be wrapped into ajax's plugin.
April 7, 201214 yr There's a known issue with the latest Subsonic version not correctly transcoding flac using the default ffmpeg transcoding config. There are some documented ways around this on the subsonic forums where you use a two phase transcode for flac. I got it to work by doing the following; Thanks Overbyrn, The two pass transcoding for flac using ffmpeg 0.9 worked for me. I also included m4a in the second transcode to get these working as well.
April 7, 201214 yr when i restart my server, subsonic is not active. i have to manually enable subsonic in the setting page. how can i auto enable subsonic every time my server starts? thanks. am i the only one having problem autostarting subsonic?
April 7, 201214 yr i can play mp3 but flac doesnt work. in the setting, i see "Notice: LAME does not appear to be installed. Click Help button for more information.". i install subsonic using the plg from this thread. are there extra steps needs to be taken? i also install ps3media server, if that matters. thanks.
April 8, 201214 yr when i restart my server, subsonic is not active. i have to manually enable subsonic in the setting page. how can i auto enable subsonic every time my server starts? thanks. am i the only one having problem autostarting subsonic? Automatic start after restart or cold boot not working for me either,, if I am away from home teamviewer to pc from phone is my current fix, not the best but it works
April 8, 201214 yr I upgraded the ffmpeg packages to 0.9 which now allows me to play video via subsonic but gives a different error for the flac or m4a transcoding There's a known issue with the latest Subsonic version not correctly transcoding flac using the default ffmpeg transcoding config. There are some documented ways around this on the subsonic forums where you use a two phase transcode for flac. I got it to work by doing the following; On the transcode page there should already be two transcode entries. The first one "mp3 audio", I removed the portion "flac" from the "convert from" section, leaving everything else the same and created a new transcode entry; "Name" mp3 audio2 "Convert From" flac "Convert To" mp3 "Step 1" ffmpeg -i %s -v 0 -f wav - "Step 2" lame -V 0 --tt %t --ta %a --tl %l -S --resample 44.1 - - Seemed to work when I tested it with a few flac files. I think there's some issue with the two step process not working well with the jukebox function(?), but to be honest I don't do much other than use Subsonic via an iPad app and occasional mkv transcode. I'd be interested to know if it works for more people than just me. Incidentally, I've worked out all the necesary packages for getting 4.6 Subsonic to play audio and video. I didn't want to install too much as I also run AirVideo and so wanted to understand what packages were needed rather than install the full mencoder stuff as in my view there's always a danger of package version mismatches when running too many things that use the same binaries/libs. All the packages I've installed together with a copy of the 4.6 subsonic tar file and also a script I quickly threw together which I use to install are on my dropbox - https://www.dropbox.com/sh/n3txaphjh79svq3/6X9eVBTSzT I'm not currently using the plugin, instead I just have all the packages in my /boot/packages directory, manually call the script from my "go" file and if I want to stop/start, I do it via command line in the usual way. eg. /etc/rc.d/rc.subsonic stop|start. My copy of subsonic runs from cache drive, so after first untar'ing the subsonic file and getting things working, I don't worry about things surviving a reboot other than to reinstall the packages. I'm sure it could probably be wrapped into ajax's plugin. i updated all available packages in subsonic plg and configure your 2 step flac transcoding and can confirm flac now works.
Archived
This topic is now archived and is closed to further replies.