Subsonic 4.6.beta1 released

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic 4.6.beta1 released

Postby GJ51 » Tue Nov 08, 2011 8:50 pm

sindre_mehus wrote:
GJ51 wrote:Adding new settings in the transcoding applies them to existing players. This really screws things up when trying to add transcodings only meant to be used on the Android player.

This new system is much simpler, but takes a lot of flexibility away. I'm not sure I'll be able to use it over the long run. I frequently get 70 to 80 players generated. If I add Android specific transcodings, but have no control over the setting being default or not and it applies to all existing players already in use, I'll foul up all the desktop players when I add the android specific settings.

This is exactly the opposite behavior of previous versions that allowed you to select whether or not a transcoding was a default setting and it then had to be added to any previously generated player.

Adding the default check box back in would be helpful and probably make things easier to manage. I wouldn't have an issue with default setting being updated on all exising players if new settings NOT checked as default could be added without updating all players automatically.

I'd like to have the "Enabled" checkbox back as well. This was invaluable in the past for trying different transcodings without losing previous work. Perhaps, just enabling an "Advanced Mode" on the transcoding page that reverts to the old style for us old timers. This way, new users have a simplified interface and tweakers would still be able to have the power and flexibility of the previous setup.



Let's say you want to use ogg transcoding for streaming to Android. Then I think it should work to create a new entry in Settings > Transcoding, making sure it's below the existing "mp3 audio" entry. The new entry, call it "ogg audio", will be almost identical to "mp3 audio", but of course convert to ogg rather than mp3.

Then turn off the "mp3 audio" transcoding for your Android players and you're good to go.

I haven't tested this myself, but I think it should work. Subsonic picks the first eligible transcoding in the list when it transcodes a given file for a given player.

Sindre


This does not work for mp3's because mp3's are not transcoded (normally), therefore new players pick up the mp3 to ogg transcoding defined for the Android Player and try to convert any mp3's to ogg on the desktop player, which of course won't pkay in JW like they will on Android.

The only way to make this work is to add back in a check box for "Default" that if unchecked prevents the new setting from automatically being applied to all Players. If there is a "Default" setting we could then just apply new settings to specific players without disabling new players. Alternatively, you could set up a transcoding area specifically for mobile devices that would not affect the desktop players.

I would also like to know what you do on the demo site to deal with the multitude of generated "Guest" Players that you must get. I know how to clear them through the dbview window, but most users probably don't. It would be very nice indeed if there was a daily routine that ran to clear the guest players. Perhaps a selection on the Players screen to auto clear once per day with an option to clear them manually from time to time.
Last edited by GJ51 on Tue Nov 08, 2011 9:11 pm, edited 1 time in total.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Subsonic 4.6.beta1 released

Postby corbincc » Tue Nov 08, 2011 9:01 pm

EXACTLY.. that it was is going on... I now have all kinds of problems.. so i guess I have to delete the new transcode to ogg.. which sucks.. because i like it on the android player..
corbincc
 
Posts: 22
Joined: Tue Dec 14, 2010 7:43 pm

Re: Subsonic 4.6.beta1 released

Postby bile » Tue Nov 08, 2011 9:21 pm

bile wrote:Any chance of getting the tag manipulation issue fixed?

viewtopic.php?f=3&t=7777

Or modifying the prefix filter to work with non space delimited artist names? A_Perfect_Circle shouldn't be listed under A.


Sindre, can I get a comment on these bug fixes? Do you use the Sourceforge bug tracker or have some other place where issues can be submitted and tracked?

Thanks.
bile
 
Posts: 45
Joined: Mon Apr 18, 2011 11:36 am

Re: Subsonic 4.6.beta1 released

Postby sindre_mehus » Wed Nov 09, 2011 10:24 am

GJ51 wrote:This does not work for mp3's because mp3's are not transcoded (normally), therefore new players pick up the mp3 to ogg transcoding defined for the Android Player and try to convert any mp3's to ogg on the desktop player, which of course won't pkay in JW like they will on Android.

The only way to make this work is to add back in a check box for "Default" that if unchecked prevents the new setting from automatically being applied to all Players. If there is a "Default" setting we could then just apply new settings to specific players without disabling new players. Alternatively, you could set up a transcoding area specifically for mobile devices that would not affect the desktop players.


Agreed, I probably need to put the "Default" option back again.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 4.6.beta1 released

Postby Drashna » Thu Nov 10, 2011 6:03 am

corbincc wrote:EXACTLY.. that it was is going on... I now have all kinds of problems.. so i guess I have to delete the new transcode to ogg.. which sucks.. because i like it on the android player..


Since there are still two "commands", could you not transcode to MP3 and then transcode to OGG?


Oh, and now, every time I try to play video, the play just displays a long string of random characters. Even on files that played fine before. (on Windows Server 2003 x86)
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: Subsonic 4.6.beta1 released

Postby Drashna » Thu Nov 10, 2011 6:30 am

Drashna wrote:Oh, and now, every time I try to play video, the play just displays a long string of random characters. Even on files that played fine before. (on Windows Server 2003 x86)

Looks like this is because the version of ffdshow for windows doesn't come with libx264 support compiled in. Reverting back to "ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -threads 0 -" works fine.

Edit: Did some searching and this build of ffdshow for windows works with the new command.
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: Subsonic 4.6.beta1 released

Postby sindre_mehus » Thu Nov 10, 2011 9:28 am

Drashna wrote:
Drashna wrote:Oh, and now, every time I try to play video, the play just displays a long string of random characters. Even on files that played fine before. (on Windows Server 2003 x86)

Looks like this is because the version of ffdshow for windows doesn't come with libx264 support compiled in. Reverting back to "ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -threads 0 -" works fine.

Edit: Did some searching and this build of ffdshow for windows works with the new command.


That's strange because the ffmpeg that comes with the Subsonic Windows installer is indeed compiled with libx264 support. Can you please try again with the Subsonic-supplied ffmpeg and post the error that is written to c:\subsonic\subsonic.log when/if it fails?

If anyone else is experiencing the same problem I would be very much interested in hearing about it.

Thanks a lot :-)
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 4.6.beta1 released

Postby GJ51 » Thu Nov 10, 2011 9:59 am

When I first did the upgrade I ran into the same thing. Apparently the upgrade process didn't overwrite the version of ffmpeg that I had in the transcode subdirectory. Part of the problem was probably my own doing as I was trying different versions in the past. I just deleted and reinstalled the transcode directory and it fixed everything. Anyone having trouble should also be able to just download the latest build of ffmpeg for their OS and bring everything back up.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Subsonic 4.6.beta1 released

Postby sindre_mehus » Thu Nov 10, 2011 10:09 am

GJ51 wrote:I would also like to know what you do on the demo site to deal with the multitude of generated "Guest" Players that you must get. I know how to clear them through the dbview window, but most users probably don't. It would be very nice indeed if there was a daily routine that ran to clear the guest players. Perhaps a selection on the Players screen to auto clear once per day with an option to clear them manually from time to time.


Yeah, that's slightly awkward. I every now and then delete the players using db.view. I will look into automatically deleting obsolete players at regular intervals.

Thanks,
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 4.6.beta1 released

Postby Drashna » Thu Nov 10, 2011 5:07 pm

Code: Select all
[11/10/11 8:55:08 AM PST]    INFO   PlaylistInputStream   admin listening to "Videos\tATu - All About Us (Uncensored 2005).mpg"
[11/10/11 8:55:08 AM PST]    DEBUG   TranscodeInputStream   Starting transcoder: [d:\internet\subsonic\transcode\ffmpeg] [-ss] [0] [-i] [\\UMMON\Videos\tATu - All About Us (Uncensored 2005).mpg] [-async] [1] [-b] [1000k] [-s] [384x288] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) FFmpeg version SVN-r21231-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) built on Jan 16 2010 05:42:31 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavutil 50. 7. 0 / 50. 7. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavcodec 52.47. 0 / 52.47. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavformat 52.47. 0 / 52.47. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavdevice 52. 2. 0 / 52. 2. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavfilter 1.15. 0 / 1.15. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libswscale 0. 8. 0 / 0. 8. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) [mpeg @ 003de340]max_analyze_duration reached
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Input #0, mpeg, from '\\UMMON\Videos\tATu - All About Us (Uncensored 2005).mpg':
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Duration: 00:03:37.20, start: 0.220000, bitrate: 1421 kb/s
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR 178:163 DAR 1958:1467], 1150 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 256 kb/s
[11/10/11 8:55:08 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) d:\internet\subsonic\transcode\ffmpeg: unrecognized option 'preset'


Fortunately, it's easy to test, as when I downloaded the other ffdshow exe, I renamed it and kept the original too. Does this for every non-FLV video file. Redownloaded the transcode pack, just incase. Still errors out every time. And removing the "-vcodec libx264 -preset superfast" section allows for playback.
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: Subsonic 4.6.beta1 released

Postby sindre_mehus » Thu Nov 10, 2011 5:22 pm

This log is from the old ffmpeg. Try running the installer again, making sure that no ffmpeg processes are running when you do it.

Cheers
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 4.6.beta1 released

Postby Drashna » Fri Nov 11, 2011 8:21 am

Redownloaded the "Transcode pack v1.1" and got the same results:
Code: Select all
[11/11/11 12:16:28 AM PST]    DEBUG   TranscodeInputStream   Starting transcoder: [d:\internet\subsonic\transcode\ffmpeg] [-ss] [0] [-i] [\\UMMON\Videos\TV Shows\The Big Bang Theory\Season 05\The.Big.Bang.Theory.S05E09.The.Ornithophobia.Diffusion.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) FFmpeg version SVN-r21231-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) built on Jan 16 2010 05:42:31 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavutil 50. 7. 0 / 50. 7. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavcodec 52.47. 0 / 52.47. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavformat 52.47. 0 / 52.47. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavdevice 52. 2. 0 / 52. 2. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavfilter 1.15. 0 / 1.15. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libswscale 0. 8. 0 / 0. 8. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Input #0, avi, from '\\UMMON\Videos\TV Shows\The Big Bang Theory\Season 05\The.Big.Bang.Theory.S05E09.The.Ornithophobia.Diffusion.avi':
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Duration: 00:21:05.68, start: 0.000000, bitrate: 1161 kb/s
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) d:\internet\subsonic\transcode\ffmpeg: unrecognized option 'preset'
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: Subsonic 4.6.beta1 released

Postby sindre_mehus » Fri Nov 11, 2011 11:37 am

The transcoding pack is obsolete, as the transcoders now are bundled with the installer.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Internal error

Postby herbman » Fri Nov 11, 2011 4:52 pm

I'm seeing this issue after having the beta running for some days and then opening its window again and clicking the 'Playing' button. (attached screenshot)

Edit: It went away after a restart. Let me know if you need any logs.
herbman
 
Posts: 4
Joined: Thu Jun 10, 2010 1:18 pm

Re: Subsonic 4.6.beta1 released

Postby GJ51 » Fri Nov 11, 2011 6:04 pm

Drashna wrote:Redownloaded the "Transcode pack v1.1" and got the same results:
Code: Select all
[11/11/11 12:16:28 AM PST]    DEBUG   TranscodeInputStream   Starting transcoder: [d:\internet\subsonic\transcode\ffmpeg] [-ss] [0] [-i] [\\UMMON\Videos\TV Shows\The Big Bang Theory\Season 05\The.Big.Bang.Theory.S05E09.The.Ornithophobia.Diffusion.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) FFmpeg version SVN-r21231-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) built on Jan 16 2010 05:42:31 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavutil 50. 7. 0 / 50. 7. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavcodec 52.47. 0 / 52.47. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavformat 52.47. 0 / 52.47. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavdevice 52. 2. 0 / 52. 2. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libavfilter 1.15. 0 / 1.15. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libswscale 0. 8. 0 / 0. 8. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Input #0, avi, from '\\UMMON\Videos\TV Shows\The Big Bang Theory\Season 05\The.Big.Bang.Theory.S05E09.The.Ornithophobia.Diffusion.avi':
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Duration: 00:21:05.68, start: 0.000000, bitrate: 1161 kb/s
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
[11/11/11 12:16:28 AM PST]    DEBUG   InputStreamReaderThread   (d:\internet\subsonic\transcode\ffmpeg) d:\internet\subsonic\transcode\ffmpeg: unrecognized option 'preset'



You might also try:


ffmpeg - go to http://ffmpeg.zeranoe.com/builds/ and download the latest static build for your system. This site is for Windows builds. Check http://www.ffmpeg.org/download.html for other OS's. I just extracted the ffmpeg.exe and replaced the file in C:\Subsonic\transcode
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 7 guests