Songs fail to play via browser, but play fine elsewhere

Need help? Post your questions here.

Moderator: moderators

Songs fail to play via browser, but play fine elsewhere

Postby CableNinja » Wed Aug 27, 2014 9:40 am

I've been running into an issue more and more frequently lately, and I'm not sure what the cause of it is, I've checked all of the transcoding information in the docs, and tried various other things as well, with no success.

Some songs are not playing when I try to play them through the web browser, it sits at 0 seconds for about 2 minutes, then moves on to the next song. If I load up the same song through the subsonic android app, the song plays just fine. If I go to another browser, it also fails.

Some songs, as a test, I ran through the following with ones giving me problems:

Code: Select all
avconv -i "$dir$fline" -ab ${bitrate}k -v 0 -f ${type} "$dir$fixed"


I kept the bitrate exactly as the original song was, and gave it a new file name. Suddenly it became hit and miss in the browser; a few songs that I ran through there as a test worked in the browser, but some still would not.

Code: Select all
[2014-08-27 03:45:14,464] INFO PlayQueueInputStream - cableninja listening to "Conditions of My Parole - Fixed/09 Conditions of My Parole.fixed.mp3"
[2014-08-27 03:45:14,467] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage2/ForRestorationOnly/Puscifer/Conditions of My Parole - Fixed/09 Conditions of My Parole.fixed.mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]
[2014-08-27 03:45:42,229] INFO PlayQueueInputStream - cableninja listening to "Conditions of My Parole - Fixed/10 The Weaver.fixed.mp3"
[2014-08-27 03:45:42,233] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage2/ForRestorationOnly/Puscifer/Conditions of My Parole - Fixed/10 The Weaver.fixed.mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]


A test of the same song, first in the subsonic app (and I made sure to clear the android's subsonic cache before trying so I wasnt getting a cached result):
Code: Select all
[2014-08-27 03:42:39,647] INFO PlayQueueInputStream - cableninja listening to "Conditions of My Parole - Fixed/06 Man Overboard.fixed.mp3"


Then a test of the same song from the browser again

Code: Select all
[2014-08-27 03:42:56,483] INFO PlayQueueInputStream - cableninja listening to "Conditions of My Parole - Fixed/06 Man Overboard.fixed.mp3"
[2014-08-27 03:42:56,486] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage2/ForRestorationOnly/Puscifer/Conditions of My Parole - Fixed/06 Man Overboard.fixed.mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]


If I run the command as subsonic does:

Code: Select all
ffmpeg -i thefile.mp3 -ab 224k -v 0 -f mp3 -


I get data, I cant read it of course, but I get data.

Here is the subsonic log of a song that failed, I ran the 'conversion' on, and worked (Note there is a .mp3 and a .2.mp3):

Code: Select all
[2014-08-27 02:56:59,290] INFO PlayQueueInputStream - cableninja listening to "Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).mp3"
[2014-08-27 02:56:59,293] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage/Data Romance/Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]
[2014-08-27 02:57:09,100] INFO PlayQueueInputStream - cableninja listening to "Featured/Breathe Again (Ain't No Killa).mp3"
[2014-08-27 02:57:58,392] INFO PlayQueueInputStream - cableninja listening to "Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).mp3"
[2014-08-27 02:57:58,395] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage/Data Romance/Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]
[2014-08-27 02:58:06,963] INFO PlayQueueInputStream - cableninja listening to "Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).2.mp3"
[2014-08-27 02:58:06,966] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/storage/Data Romance/Remixed by Data Romance/Lucy Schwartz - Ghost In My House (Data Romance Remix).2.mp3] [-ab] [224k] [-v] [0] [-f] [mp3] [-]


Thanks in advance
CableNinja
 
Posts: 3
Joined: Tue Jun 11, 2013 7:54 pm

Re: Songs fail to play via browser, but play fine elsewhere

Postby CableNinja » Wed Aug 27, 2014 9:43 am

I forgot to include some ffmpeg info, this is a song that will not play in the browser, would not play in the android app until I 'converted' it, and now it plays in the android app, but does not play in the browser still.

cableninja@media:/storage2/ForRestorationOnly/Puscifer/Conditions of My Parole - Fixed$ ffmpeg -i 06\ Man\ Overboard.fixed.mp3
ffmpeg version 0.8.13-6:0.8.13-1, Copyright (c) 2000-2014 the Libav developers
built on Jun 28 2014 17:50:37 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mp3 @ 0x14c7da0] max_analyze_duration reached
Input #0, mp3, from '06 Man Overboard.fixed.mp3':
Metadata:
album : Conditions of My Parole
artist : Puscifer
album_artist : Puscifer
disc : 1/1
encoded_by : iTunes 10.1.2.17
genre : Rock
title : Man Overboard
track : 6/12
date : 2011
encoder : Lavf55.12.0
Duration: 00:04:18.63, start: 0.000000, bitrate: 341 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified


cableninja@media:/storage2/ForRestorationOnly/Puscifer/Conditions of My Parole - Fixed$ ffmpeg -i ../../../Conditions\ of\ My\ Parole\ -\ Original/06\ Man\ Overboard.mp3
ffmpeg version 0.8.13-6:0.8.13-1, Copyright (c) 2000-2014 the Libav developers
built on Jun 28 2014 17:50:37 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mp3 @ 0x180fda0] max_analyze_duration reached
[mp3 @ 0x180fda0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '../../../Conditions of My Parole - Original/06 Man Overboard.mp3':
Metadata:
album : Conditions of My Parole
artist : Puscifer
album_artist : Puscifer
disc : 1/1
encoded_by : iTunes 10.1.2.17
genre : Rock
title : Man Overboard
track : 6/12
date : 2011
Duration: 00:04:24.60, start: 0.000000, bitrate: 320 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified


And this is the song that failed in the browser, but works now after 'conversion'

cableninja@media:/storage/Data Romance/Remixed by Data Romance$ ffmpeg -i Lucy\ Schwartz\ -\ Ghost\ In\ My\ House\ \(Data\ Romance\ Remix\).mp3
ffmpeg version 0.8.13-6:0.8.13-1, Copyright (c) 2000-2014 the Libav developers
built on Jun 28 2014 17:50:37 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mp3 @ 0x1b01da0] max_analyze_duration reached
Input #0, mp3, from 'Lucy Schwartz - Ghost In My House (Data Romance Remix).mp3':
Metadata:
album : Remixed by Data Romance
artist : Lucy Schwartz
album_artist : Data Romance
disc : /
genre : Electronic
title : Ghost In My House (Data Romance Remix)
track : 1/1
Duration: 00:04:08.18, start: 0.000000, bitrate: 322 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified


cableninja@media:/storage/Data Romance/Remixed by Data Romance$ ffmpeg -i Lucy\ Schwartz\ -\ Ghost\ In\ My\ House\ \(Data\ Romance\ Remix\).2.mp3
ffmpeg version 0.8.13-6:0.8.13-1, Copyright (c) 2000-2014 the Libav developers
built on Jun 28 2014 17:50:37 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mp3 @ 0x2416da0] max_analyze_duration reached
Input #0, mp3, from 'Lucy Schwartz - Ghost In My House (Data Romance Remix).2.mp3':
Metadata:
album : Remixed by Data Romance
artist : Lucy Schwartz
album_artist : Data Romance
disc : /
genre : Electronic
title : Ghost In My House (Data Romance Remix)
track : 1/1
encoder : Lavf53.21.1
Duration: 00:04:08.21, start: 0.000000, bitrate: 320 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified
CableNinja
 
Posts: 3
Joined: Tue Jun 11, 2013 7:54 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 32 guests