FAQ  •  Register  •  Login

Possible bug in 1.6.1 transcoding FLAC?

<<

Libarch

Serviio newbie

Posts: 4

Joined: Sun Jun 05, 2016 2:18 pm

Post Sun Jul 17, 2016 1:40 pm

Possible bug in 1.6.1 transcoding FLAC?

Hello,
I had version 1.5.1 installed and working perfectly on a Linux server (Opensuse 42.1, java 1.8.0_91, ffmpeg 3.1.1). My music files are mostly FLAC which transcode to LPCM when I play them on my Samsung TV (C/D profile).
I've now installed 1.6.1. Now when I play FLAC files there is a continuous loud 'buzz', and in some cases the player stops altogether after about 10s. I modified the profile temporarily to transcode FLACs to MP3 instead - now the playback is full of random sounding pops and stutters... Normal (ie untranscoded) MP3s continue to play correctly. I then reinstalled and rebuilt the library from scratch, but the same thing happened. I set logging to DEBUG and looked in the file but I can't see anything suspicious.
[EDIT - sorry I missed out the log files in original post]
Snipped log file for 1.6.1 (continuous buzzing on playback):
  Code:
2016-07-13 19:03:55,978 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:55,978 DEBUG [ResourceDeliveryProcessor] Request for resource 7065 and type 'MEDIA_ITEM' received
2016-07-13 19:03:55,978 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 7065 (local)
2016-07-13 19:03:55,978 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7065)
2016-07-13 19:03:55,979 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 7065)
2016-07-13 19:03:55,980 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 7065, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-13 19:03:55,980 DEBUG [AbstractAVTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-13 19:03:55,980 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-13 19:03:55,981 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 7065 (local)
2016-07-13 19:03:55,981 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7065)
2016-07-13 19:03:55,982 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 7065)
2016-07-13 19:03:55,983 DEBUG [AudioDeliveryEngine] Delivering item '7065' for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:55,983 DEBUG [AudioDeliveryEngine] Delivering file '02 The Title.flac' using transcoding
2016-07-13 19:03:55,983 DEBUG [AbstractAVTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-7196-7-ORIGINAL.stf', will stop the job
2016-07-13 19:03:55,983 DEBUG [AbstractAVTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-7196-7-ORIGINAL.stf'
2016-07-13 19:03:56,034 DEBUG [TranscodingJobListener] Deleted temp file '/tmp/Serviio/transcoding-temp-7196-7-ORIGINAL.stf': true
2016-07-13 19:03:56,037 DEBUG [AbstractAVTranscodingDeliveryEngine] Removing transcoding job 'transcoding-temp-7196-7-ORIGINAL.stf' of client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,037 DEBUG [AbstractAVTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,038 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode audio file: /mnt/data-linux/Shared/Joint/Music/FLAC/Philip Glass/Powaqqatsi/02 The Title.flac
2016-07-13 19:03:56,039 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /mnt/data-linux/Shared/Joint/Music/FLAC/Philip Glass/Powaqqatsi/02 The Title.flac -y -threads auto -ar 44100 -ac 2 -c:v copy -f s16be /tmp/Serviio/transcoding-temp-7065-7-ORIGINAL.stf
2016-07-13 19:03:56,318 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2016-07-13 19:03:56,539 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file '/tmp/Serviio/transcoding-temp-7065-7-ORIGINAL.stf' is complete, sending simple stream
2016-07-13 19:03:56,540 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-13 19:03:56,540 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 7065) as read
2016-07-13 19:03:56,597 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-07-13 19:03:56,597 DEBUG [GETMethodProcessor] Stream entity has length: 4322976
2016-07-13 19:03:56,598 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2016-07-13 19:03:56,598 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: keep-alive,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Wed, 13 Jul 2016 18:03:56 GMT,MediaInfo.sec: SEC_Duration=25000;,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.6.1,transferMode.dlna.org: Streaming]]
2016-07-13 19:03:56,741 DEBUG [WebServer] I/O error: Connection reset
2016-07-13 19:03:56,766 DEBUG [ServiioHttpService] Incoming request from /192.168.1.50:34360: HEAD /resource/7065/MEDIA_ITEM/LPCM16_44_STEREO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.2:8895]]
2016-07-13 19:03:56,766 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-13 19:03:56,767 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-13 19:03:56,768 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,768 DEBUG [ResourceDeliveryProcessor] Request for resource 7065 and type 'MEDIA_ITEM' received
2016-07-13 19:03:56,768 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 7065 (local)
2016-07-13 19:03:56,768 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7065)
2016-07-13 19:03:56,770 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 7065)
2016-07-13 19:03:56,771 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 7065, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-13 19:03:56,771 DEBUG [AbstractAVTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-13 19:03:56,772 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-13 19:03:56,772 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: keep-alive,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Wed, 13 Jul 2016 18:03:56 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.6.1,transferMode.dlna.org: Streaming]]
2016-07-13 19:03:56,791 DEBUG [ServiioHttpService] Incoming request from /192.168.1.50:35543: GET /resource/7065/MEDIA_ITEM/LPCM16_44_STEREO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,Host: 192.168.1.2:8895]]
2016-07-13 19:03:56,791 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-13 19:03:56,792 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-13 19:03:56,794 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,794 DEBUG [ResourceDeliveryProcessor] Request for resource 7065 and type 'MEDIA_ITEM' received
2016-07-13 19:03:56,794 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 7065 (local)
2016-07-13 19:03:56,794 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7065)
2016-07-13 19:03:56,795 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 7065)
2016-07-13 19:03:56,796 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 7065, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-13 19:03:56,796 DEBUG [AbstractAVTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-13 19:03:56,796 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-13 19:03:56,797 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 7065 (local)
2016-07-13 19:03:56,797 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7065)
2016-07-13 19:03:56,798 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 7065)
2016-07-13 19:03:56,799 DEBUG [AudioDeliveryEngine] Delivering item '7065' for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,799 DEBUG [AudioDeliveryEngine] Delivering file '02 The Title.flac' using transcoding
2016-07-13 19:03:56,799 DEBUG [AbstractAVTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-13 19:03:56,800 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file '/tmp/Serviio/transcoding-temp-7065-7-ORIGINAL.stf' is complete, sending simple stream
2016-07-13 19:03:56,800 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-13 19:03:56,800 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 7065) as read
2016-07-13 19:03:56,841 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-07-13 19:03:56,841 DEBUG [GETMethodProcessor] Stream entity has length: 4322976
2016-07-13 19:03:56,842 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2016-07-13 19:03:56,842 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: keep-alive,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Wed, 13 Jul 2016 18:03:56 GMT,MediaInfo.sec: SEC_Duration=25000;,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.6.1,transferMode.dlna.org: Streaming]]

Snipped log file for 1.5.1, the same track (sounds perfect on playback):
  Code:
2016-07-18 12:23:16,851 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:16,851 DEBUG [ResourceDeliveryProcessor] Request for resource 6865 and type 'MEDIA_ITEM' received
2016-07-18 12:23:16,852 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6865 (local)
2016-07-18 12:23:16,852 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6865)
2016-07-18 12:23:16,853 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 6865)
2016-07-18 12:23:16,854 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 6865, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-18 12:23:16,854 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-18 12:23:16,854 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-18 12:23:16,854 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6865 (local)
2016-07-18 12:23:16,854 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6865)
2016-07-18 12:23:16,855 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 6865)
2016-07-18 12:23:16,856 DEBUG [AudioDeliveryEngine] Delivering item '6865' for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:16,857 DEBUG [AudioDeliveryEngine] Delivering file '02 The Title.flac' using transcoding
2016-07-18 12:23:16,857 DEBUG [AbstractTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-6929-7-ORIGINAL.stf', will stop the job
2016-07-18 12:23:16,857 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-6929-7-ORIGINAL.stf'
2016-07-18 12:23:16,868 DEBUG [TranscodingJobListener] Deleted temp file '/tmp/Serviio/transcoding-temp-6929-7-ORIGINAL.stf': true
2016-07-18 12:23:16,868 DEBUG [AbstractTranscodingDeliveryEngine] Removing transcoding job 'transcoding-temp-6929-7-ORIGINAL.stf' of client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:16,868 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:16,869 DEBUG [MediaItemDAOImpl] Getting file of media item 6865
2016-07-18 12:23:16,870 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode audio file: /mnt/data-linux/Shared/Joint/Music/FLAC/Philip Glass/Powaqqatsi/02 The Title.flac
2016-07-18 12:23:16,870 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /mnt/data-linux/Shared/Joint/Music/FLAC/Philip Glass/Powaqqatsi/02 The Title.flac -y -threads auto -ar 44100 -ac 2 -c:v copy -f s16be /tmp/Serviio/transcoding-temp-6865-7-ORIGINAL.stf
2016-07-18 12:23:17,123 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2016-07-18 12:23:17,371 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file '/tmp/Serviio/transcoding-temp-6865-7-ORIGINAL.stf' is complete, sending simple stream
2016-07-18 12:23:17,371 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-18 12:23:17,372 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 6865) as read
2016-07-18 12:23:17,431 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-07-18 12:23:17,431 DEBUG [GETMethodProcessor] Stream entity has length: 4322976
2016-07-18 12:23:17,433 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Length: 4322976,Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Mon, 18 Jul 2016 11:23:17 GMT,MediaInfo.sec: SEC_Duration=24000;,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.1,transferMode.dlna.org: Streaming]]
2016-07-18 12:23:17,701 DEBUG [WebServer] I/O error: Connection reset
2016-07-18 12:23:17,749 DEBUG [ServiioHttpService] Incoming request from /192.168.1.50:43709: HEAD /resource/6865/MEDIA_ITEM/LPCM16_44_STEREO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.2:8895]]
2016-07-18 12:23:17,750 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-18 12:23:17,751 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-18 12:23:17,752 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:17,753 DEBUG [ResourceDeliveryProcessor] Request for resource 6865 and type 'MEDIA_ITEM' received
2016-07-18 12:23:17,753 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6865 (local)
2016-07-18 12:23:17,753 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6865)
2016-07-18 12:23:17,756 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 6865)
2016-07-18 12:23:17,757 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 6865, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-18 12:23:17,757 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-18 12:23:17,757 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-18 12:23:17,759 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Length: 900000000,Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Mon, 18 Jul 2016 11:23:17 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.1,transferMode.dlna.org: Streaming]]
2016-07-18 12:23:17,768 DEBUG [ServiioHttpService] Incoming request from /192.168.1.50:52070: GET /resource/6865/MEDIA_ITEM/LPCM16_44_STEREO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,Host: 192.168.1.2:8895]]
2016-07-18 12:23:17,769 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-18 12:23:17,770 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2016-07-18 12:23:17,770 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:17,771 DEBUG [ResourceDeliveryProcessor] Request for resource 6865 and type 'MEDIA_ITEM' received
2016-07-18 12:23:17,771 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6865 (local)
2016-07-18 12:23:17,771 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6865)
2016-07-18 12:23:17,772 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 6865)
2016-07-18 12:23:17,773 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 6865, format LPCM16_44_STEREO and profile Samsung TV / player (C/D-series)
2016-07-18 12:23:17,773 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file 02 The Title.flac
2016-07-18 12:23:17,773 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-18 12:23:17,774 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 6865 (local)
2016-07-18 12:23:17,774 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 6865)
2016-07-18 12:23:17,775 DEBUG [MusicTrackDAOImpl] Reading a MusicTrack (id = 6865)
2016-07-18 12:23:17,776 DEBUG [AudioDeliveryEngine] Delivering item '6865' for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:17,776 DEBUG [AudioDeliveryEngine] Delivering file '02 The Title.flac' using transcoding
2016-07-18 12:23:17,776 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.50, Profile=Samsung TV / player (C/D-series)'
2016-07-18 12:23:17,777 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file '/tmp/Serviio/transcoding-temp-6865-7-ORIGINAL.stf' is complete, sending simple stream
2016-07-18 12:23:17,777 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file 02 The Title.flac: LPCM16_44_STEREO
2016-07-18 12:23:17,777 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 6865) as read
2016-07-18 12:23:17,820 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-07-18 12:23:17,820 DEBUG [GETMethodProcessor] Stream entity has length: 4322976
2016-07-18 12:23:17,821 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Length: 4322976,Content-Type: audio/L16;rate=44100;channels=2,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,Date: Mon, 18 Jul 2016 11:23:17 GMT,MediaInfo.sec: SEC_Duration=24000;,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.1,transferMode.dlna.org: Streaming]]

[/EDIT]
In the meantime I've reverted back to 1.5.1 and everything is fine again. Does anyone have any suggestions what might be the problem? Happy to dig into the log files again if that would help. The only thing that changed on the system was the Serviio files which is why I wondered if a bug might have been introduced. But then I expect someone else would have had the same problem?
<<

Libarch

Serviio newbie

Posts: 4

Joined: Sun Jun 05, 2016 2:18 pm

Post Mon Jul 18, 2016 2:46 pm

Re: Possible bug in 1.6.1 transcoding FLAC?

OK, after looking at the log files a bit more closely I think I've found the problem. I don't know what 'chunked transfer' is, but sometime between 1.5.1 and 1.6.1 the 'newer' Samsung profiles have set AllowChunkedTransfer to true, with forced=true. This has been inherited by the Samsung C/D profile.

I added <AllowChunkedTransfer>false</AllowChunkedTransfer> to the end of the relevant profile (id = '7') and now playback of FLAC works perfectly. I haven't yet tested anything else though to see if there are any side effects. Perhaps someone more knowledgeable than me could look at this?
<<

gerryo

Serviio newbie

Posts: 10

Joined: Sun Jan 23, 2011 9:41 am

Post Sat Jul 23, 2016 5:43 pm

Re: Possible bug in 1.6.1 transcoding FLAC?

Thanks very much for posting this fix.

I just upgraded to 1.6.1 today & ran into the same problem on a Samsung C series TV.
Same as you, I have mostly FLAC files, which played perfectly with 1.5.1.
I noticed the buzzing immediately & googled the issue, was directed here.

It's bizarre how a change like this affects audio quality.
<<

Galactus

Serviio newbie

Posts: 6

Joined: Wed Mar 04, 2015 6:23 pm

Post Mon Sep 05, 2016 3:12 pm

Re: Possible bug in 1.6.1 transcoding FLAC?

Hi Libarch! I have D series Samsung and flacs are no go. Could you please tell me, where exact should i put <AllowChunkedTransfer>false</AllowChunkedTransfer> in profile? Before the ending </Profile> or after or on some place else? I tried both way without success.
<<

atc98092

User avatar

DLNA master

Posts: 4059

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Sep 05, 2016 7:47 pm

Re: Possible bug in 1.6.1 transcoding FLAC?

Galactus wrote:Hi Libarch! I have D series Samsung and flacs are no go. Could you please tell me, where exact should i put <AllowChunkedTransfer>false</AllowChunkedTransfer> in profile? Before the ending </Profile> or after or on some place else? I tried both way without success.


Every place I see this entry in the Profiles file it is the very last line before </Profile>.
Dan

Samsung NU7100 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17151

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Sep 05, 2016 8:29 pm

Re: Possible bug in 1.6.1 transcoding FLAC?

1.7 reverts that change for Samsung profiles

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 5 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.