zip wrote:try to set targetACodec = "aac"
Hi zip,
I've set AAC and it works as 2 channels only (the TV probably only supports AC3 passthrough). In PC i get 5.1 AAC.
What happened with the AC3 transcoding? I know this was working in the past, as i used it frequently to do DTS to AC3.
Is this related to the ffmpeg version? Must i downgrade serviio to get this working again?
* UPDATE *
Note: I realized i posted the MediaInfo for a 2channel file, but i did all the testing with 5.1 channel files.
I decided to test one of my old DTS movie that i knew the dca transcoding profile worked on the past.
With the 1.4.1 it also failed to recognize the AC3 Stream.
I tried to see if the problem was the ffmpeg by replacing with older versions, and no luck.
So i decided to install serviio 1.0.1 and play the DTS file and it worked on the TV.
Logs in debug for:
Serviio 1.4.1:
2014-05-05 23:47:37,996 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -fflags +genpts -threads auto -i F:\Media\Movies\DTS_Movie.mkv -y -threads auto -c:v copy -bsf:v h264_mp4toannexb -mpegts_m2ts_mode 1 -c:a ac3 -b:a 192k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts f:\serviiotemp\Serviio\transcoding-temp-122-2-ORIGINAL.stf
2014-05-05 23:47:38,496 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-05-05 23:47:38,498 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file DTS_Movie.mkv: AVC_TS_MP_HD_AC3_T
(...)
2014-05-05 23:47:38,500 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/vnd.dlna.mpeg-tts,Content-Length: 50000000000,Date: Mon, 05 May 2014 22:47:38 GMT,Server: Windows NT (unknown), UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3_T;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-05-05 23:47:38,945 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2014-05-05 23:47:39,268 DEBUG [ServiioHttpService] Incoming request from /192.168.1.65:1410: HEAD /resource/122/MEDIA_ITEM/AVC_TS_MP_HD_AC3_T-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.196:8895]]
Serviio 1.0.1:
2014-05-06 00:05:53,179 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -fflags +genpts -i F:\Media\Movies\DTS_Movie.mkv -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a ac3 -b:a 192k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts F:\serviiotemp\Serviio\transcoding-temp-17-2-ORIGINAL.stf
2014-05-06 00:05:53,679 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-05-06 00:05:53,681 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file DTS_Movie.mkv: AVC_TS_MP_HD_AC3_ISO
(...)
2014-05-06 00:05:53,689 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Mon, 05 May 2014 23:05:53 GMT,Server: Windows NT (unknown), UPnP/1.0 DLNADOC/1.50, Serviio/1.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2014-05-06 00:05:54,423 DEBUG [WebServer] Incoming connection from /192.168.1.65:1991
2014-05-06 00:05:54,423 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2014-05-06 00:05:54,423 DEBUG [ResourceTransportRequestHandler] HEAD /resource/17/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.196:8895]]
I can see differences on the HTTP Headers (content-types, DLNA.ORG_PN and such) and on the ffmpeg arguments. Something got broken (for the Samsung B Series at least) from serviio 1.0 to 1.4. Any ideas?
thanks again.