Jump to content

Flac music files no longer play


jhs39
 Share

Recommended Posts

jhs39

I've encountered yet another problem with the latest server release--now my Flac music files will not play on Roku Media Browser++.  The files will play for about 10 seconds then jump to the next album track and do the same thing through the entire album.  These are tracks that played perfectly in the past.  Any suggestions?

 

I've spent an hour trying to attatch a copy of my server log and no matter what I do, mo matter how much I cut out of it I always get an error message that the file is too large.  Do you guys only wants 10 lines of server data or something?

Link to comment
Share on other sites

http://paste2.org perhaps? They want as complete of logs as you are willing to provide. Provide enough your problem might be discoverable. Too little it will not. Make sure to clear all server logs already present and fully restart your server. Recreate logs related directly to your issue using the client giving you issues. All other clients try to keep off the server when generating these logs.

 

Sent from my Nexus 7 using Tapatalk

Edited by speechles
Link to comment
Share on other sites

jhs39

I am currently listening to an album with Flac files which is playing fine.  But when I went back to the earlier albums Media Browser wouldn't play it still won't play them--it skips through the tracks playing about 10 seconds of each one. 

 

I copied my log into Paste2.org but what am I supposed to do with it now?  Do I include the web address of the log in a topic window?

Link to comment
Share on other sites

jhs39

I guess I spoke too soon.  It's started skipping through tracks on this album as well after playing most of it fine.  :(

Link to comment
Share on other sites

This also happens on the official roku client. So the flavor doesn't seem to matter.

 

 

server-logs:

2014-06-03 13:00:26.0192 Debug - HttpServer: HTTP GET http://192.168.1.253:8096/mediabrowser/Audio/81e1636d2a57be3bff69341b9fa29f44/stream.mp3
2014-06-03 13:00:26.0348 Debug - Dlna: No matching device profile found. The default will be used. User-agent: Roku/DVP-5.4 (045.04E03340A). 
2014-06-03 13:00:26.0504 Debug - HttpServer: HTTP GET http://192.168.1.253:8096/mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:26.0504 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
	Rap God does not have an image of type Primary
	MediaBrowser.Common.Extensions.ResourceNotFoundException
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, IHasImages item)
	   at MediaBrowser.Api.Images.ImageService.Get(GetItemImage request)
	   at lambda_method(Closure , Object , Object )
	   at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
	
2014-06-03 13:00:26.0504 Error - HttpServer: Error processing request for /mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
	Rap God does not have an image of type Primary
	ServiceStack.HttpError
	No Stack Trace Available
	
2014-06-03 13:00:26.0504 Error - NotFoundHttpHandler: 192.168.1.253:8096 Request not found: /mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:26.0504 Debug - HttpServer: HTTP Response 404 to 192.168.1.239:36290. Response time: 0 ms
	Url: http://192.168.1.253:8096/mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:26.0660 Debug - HttpServer: HTTP GET http://192.168.1.253:8096/mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:26.0660 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
	Rap God does not have an image of type Primary
	MediaBrowser.Common.Extensions.ResourceNotFoundException
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, IHasImages item)
	   at MediaBrowser.Api.Images.ImageService.Get(GetItemImage request)
	   at lambda_method(Closure , Object , Object )
	   at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
	
2014-06-03 13:00:26.0660 Error - HttpServer: Error processing request for /mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
	Rap God does not have an image of type Primary
	ServiceStack.HttpError
	No Stack Trace Available
	
2014-06-03 13:00:26.0660 Error - NotFoundHttpHandler: 192.168.1.253:8096 Request not found: /mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:26.0660 Debug - HttpServer: HTTP Response 404 to 192.168.1.239:36291. Response time: 0 ms
	Url: http://192.168.1.253:8096/mediabrowser/Items/c1812a51b6ecca2f87753089ec267d0c/Images/Primary/0?quality=90&height=250&width=250&EnableImageEnhancers=false
2014-06-03 13:00:39.4508 Error - App: Error streaming media
	The semaphore timeout period has expired
	System.Net.HttpListenerException
	   at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
	   at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()
	
2014-06-03 13:00:39.4508 Debug - HttpServer: HTTP Response 500 to 192.168.1.239:36277. Response time: 34444.8 ms
	Url: http://192.168.1.253:8096/mediabrowser/Audio/81e1636d2a57be3bff69341b9fa29f44/stream.mp3

ffmpeg logs:

C:\Users\speechles\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140506\ffmpeg.exe -i file:"F:\-- Music\FLAC\Survival.flac" -threads 2 -vn  -id3v2_version 3 -write_id3v1 1 "C:\Users\speechles\AppData\Roaming\MediaBrowser-Server\transcoding-temp\16ce7e32-6fb9-201e-40bc-2585c1b2e516.mp3"

ffmpeg version N-62994-g2baf1c8 Copyright (c) 2000-2014 the FFmpeg developers
  built on May  5 2014 22:01:55 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 81.100 / 52. 81.100
  libavcodec     55. 60.103 / 55. 60.103
  libavformat    55. 37.102 / 55. 37.102
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, flac, from 'file:F:\-- Music\FLAC\Survival.flac':
  Metadata:
    ALBUM           : Survival
    ARTIST          : Eminem
    GENRE           : Hip-Hop
    TITLE           : Survival
    DATE            : 2013
    track           : 1
  Duration: 00:04:32.28, start: 0.000000, bitrate: 1042 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc), 500x500 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
Output #0, mp3, to 'C:\Users\speechles\AppData\Roaming\MediaBrowser-Server\transcoding-temp\16ce7e32-6fb9-201e-40bc-2585c1b2e516.mp3':
  Metadata:
    TALB            : Survival
    TPE1            : Eminem
    TCON            : Hip-Hop
    TIT2            : Survival
    TYER            : 2013
    TRCK            : 1
    TSSE            : Lavf55.37.102
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> libmp3lame)
Press [q] to stop, [?] for help
size=      94kB time=00:00:05.95 bitrate= 129.0kbits/s    
size=     210kB time=00:00:13.37 bitrate= 128.4kbits/s    
size=     314kB time=00:00:20.06 bitrate= 128.3kbits/s    
size=     440kB time=00:00:28.10 bitrate= 128.2kbits/s    
size=     561kB time=00:00:35.84 bitrate= 128.2kbits/s    
size=     670kB time=00:00:42.84 bitrate= 128.1kbits/s    
size=     801kB time=00:00:51.20 bitrate= 128.1kbits/s    
size=     917kB time=00:00:58.61 bitrate= 128.1kbits/s    
size=    1036kB time=00:01:06.24 bitrate= 128.1kbits/s    
size=    1162kB time=00:01:14.29 bitrate= 128.1kbits/s    
size=    1294kB time=00:01:22.75 bitrate= 128.1kbits/s    
size=    1406kB time=00:01:29.96 bitrate= 128.1kbits/s    
size=    1532kB time=00:01:38.01 bitrate= 128.1kbits/s    
size=    1668kB time=00:01:46.68 bitrate= 128.1kbits/s    
size=    1785kB time=00:01:54.20 bitrate= 128.1kbits/s    
size=    1922kB time=00:02:02.98 bitrate= 128.0kbits/s    
size=    2061kB time=00:02:11.86 bitrate= 128.0kbits/s    
size=    2188kB time=00:02:20.01 bitrate= 128.0kbits/s    
size=    2319kB time=00:02:28.37 bitrate= 128.0kbits/s    
size=    2440kB time=00:02:36.10 bitrate= 128.0kbits/s    
size=    2543kB time=00:02:42.69 bitrate= 128.0kbits/s    
size=    2682kB time=00:02:51.57 bitrate= 128.0kbits/s    
size=    2815kB time=00:03:00.14 bitrate= 128.0kbits/s    
size=    2954kB time=00:03:09.02 bitrate= 128.0kbits/s    
size=    3077kB time=00:03:16.85 bitrate= 128.0kbits/s    
size=    3176kB time=00:03:23.23 bitrate= 128.0kbits/s    
size=    3180kB time=00:03:23.44 bitrate= 128.0kbits/s    
size=    3191kB time=00:03:24.17 bitrate= 128.0kbits/s    
size=    3202kB time=00:03:24.90 bitrate= 128.0kbits/s    
size=    3330kB time=00:03:33.05 bitrate= 128.0kbits/s    
size=    3485kB time=00:03:42.98 bitrate= 128.0kbits/s    
size=    3635kB time=00:03:52.59 bitrate= 128.0kbits/s    
size=    3787kB time=00:04:02.31 bitrate= 128.0kbits/s    
size=    3932kB time=00:04:11.61 bitrate= 128.0kbits/s    
size=    4081kB time=00:04:21.12 bitrate= 128.0kbits/s    
size=    4223kB time=00:04:30.21 bitrate= 128.0kbits/s    
size=    4256kB time=00:04:32.30 bitrate= 128.0kbits/s    

video:0kB audio:4255kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.010580%
Link to comment
Share on other sites

Koleckai Silvestri

Sorry that I didn't get to this sooner. I converted some audio CDs to FLAC and finally was able to test them using last night's dev build. They play on my Roku currently. I'll check the logs in a bit when I get back to my PC.

 

Not sure if the Roku model would matter in this case.

Link to comment
Share on other sites

Koleckai Silvestri

Transcode Log from playback:

 

 

C:\Users\Wayne\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140506\ffmpeg.exe -i file:"\\WAYNE-PC\media\Druid\Lightbody\01 Track01.flac" -threads 0 -vn  -id3v2_version 3 -write_id3v1 1 -y "d:\\media\transcoding-temp\d2d010b7-653b-2b1d-91a6-3d8a56136b78.mp3"
 
ffmpeg version N-62994-g2baf1c8 Copyright (c) 2000-2014 the FFmpeg developers
  built on May  5 2014 22:01:55 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 81.100 / 52. 81.100
  libavcodec     55. 60.103 / 55. 60.103
  libavformat    55. 37.102 / 55. 37.102
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, flac, from 'file:\\WAYNE-PC\media\Druid\Lightbody\01 Track01.flac':
  Metadata:
    ARTIST          : Unknown Artist
    TITLE           : Track01
    ALBUM           : Unknown Title
    track           : 01
    disc            : 1
    TOTALDISCS      : 1
    TOTALTRACKS     : 8
  Duration: 00:02:07.84, start: 0.000000, bitrate: 829 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, mp3, to 'd:\\media\transcoding-temp\d2d010b7-653b-2b1d-91a6-3d8a56136b78.mp3':
  Metadata:
    TPE1            : Unknown Artist
    TIT2            : Track01
    TALB            : Unknown Title
    TRCK            : 01
    TPOS            : 1
    TOTALDISCS      : 1
    TOTALTRACKS     : 8
    TSSE            : Lavf55.37.102
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> libmp3lame)
Press [q] to stop, [?] for help
size=     349kB time=00:00:22.25 bitrate= 128.3kbits/s    
size=     693kB time=00:00:44.27 bitrate= 128.1kbits/s    
size=    1040kB time=00:01:06.48 bitrate= 128.1kbits/s    
size=    1367kB time=00:01:27.45 bitrate= 128.1kbits/s    
size=    1714kB time=00:01:49.66 bitrate= 128.1kbits/s    
size=    1998kB time=00:02:07.84 bitrate= 128.1kbits/s    
 
video:0kB audio:1998kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.024488%
Link to comment
Share on other sites

Koleckai Silvestri

I didn't have any problems with playback. I'll test some more later.

Link to comment
Share on other sites

jhs39

There is no indicator to move through songs on the Roku interface--as far as I can tell you can skip from track to track but not fast forward within a track unless I'm missing something.  I tried skipping, pausing, going back from track to track--it did nothing whatsoever--the songs still play for 10 seconds and move on.

Link to comment
Share on other sites

You need to manually move the indicator around a bit and start/stop a few songs with pause/play/OK and move the cursor around. If you let it play through natively not controlling a thing starting the first song in the list it may not goof at all. You are in the perfect storm. So you need to throw some chaos into the mix to see this.

 

If you start a song, and then don't stop it. Go to the next song with the cursor, click OK to start it. Now that one will go 10 seconds, skip to the next song, and etc/rinse-repeat.. as if the 10s slices of the mp3 file its supposed to stream is the end. Me, you, and everybody else knows it's not the end, and there are more 10s chunks to stream for that song. It's just the roku goes "meh, moving on!". If it helps, I am on the BETA version of the server.

Link to comment
Share on other sites

 

Transcode Log from playback:

C:\Users\Wayne\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140506\ffmpeg.exe -i file:"\\WAYNE-PC\media\Druid\Lightbody\01 Track01.flac" -threads 0 -vn  -id3v2_version 3 -write_id3v1 1 -y "d:\\media\transcoding-temp\d2d010b7-653b-2b1d-91a6-3d8a56136b78.mp3"
 
ffmpeg version N-62994-g2baf1c8 Copyright (c) 2000-2014 the FFmpeg developers
  built on May  5 2014 22:01:55 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 81.100 / 52. 81.100
  libavcodec     55. 60.103 / 55. 60.103
  libavformat    55. 37.102 / 55. 37.102
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, flac, from 'file:\\WAYNE-PC\media\Druid\Lightbody\01 Track01.flac':
  Metadata:
    ARTIST          : Unknown Artist
    TITLE           : Track01
    ALBUM           : Unknown Title
    track           : 01
    disc            : 1
    TOTALDISCS      : 1
    TOTALTRACKS     : 8
  Duration: 00:02:07.84, start: 0.000000, bitrate: 829 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, mp3, to 'd:\\media\transcoding-temp\d2d010b7-653b-2b1d-91a6-3d8a56136b78.mp3':
  Metadata:
    TPE1            : Unknown Artist
    TIT2            : Track01
    TALB            : Unknown Title
    TRCK            : 01
    TPOS            : 1
    TOTALDISCS      : 1
    TOTALTRACKS     : 8
    TSSE            : Lavf55.37.102
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> libmp3lame)
Press [q] to stop, [?] for help
size=     349kB time=00:00:22.25 bitrate= 128.3kbits/s    
size=     693kB time=00:00:44.27 bitrate= 128.1kbits/s    
size=    1040kB time=00:01:06.48 bitrate= 128.1kbits/s    
size=    1367kB time=00:01:27.45 bitrate= 128.1kbits/s    
size=    1714kB time=00:01:49.66 bitrate= 128.1kbits/s    
size=    1998kB time=00:02:07.84 bitrate= 128.1kbits/s    
 
video:0kB audio:1998kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.024488%

 

So no problems?

Link to comment
Share on other sites

Melyan

Could the issue be that speechles included contains an embedded mjpeg video stream whereas Waynes file only contains an audio track?  I wonder if adding the -vn parameter to ffmpeg (disables the video portion of the file) would correct the issue.

Link to comment
Share on other sites

Tikuf
C:\Users\Wayne\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140506\ffmpeg.exe -i file:"\\WAYNE-PC\media\Druid\Lightbody\01 Track01.flac" -threads 0 -vn  -id3v2_version 3 -write_id3v1 1 -y "d:\\media\transcoding-temp\d2d010b7-653b-2b1d-91a6-3d8a56136b78.mp3"

 

Already there

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...