FAQ  •  Register  •  Login

Help with simple transcoding (Samsung B Series)

<<

sLiCeR

Serviio newbie

Posts: 8

Joined: Thu Jul 21, 2011 10:29 pm

Post Sat May 03, 2014 2:21 pm

Help with simple transcoding (Samsung B Series)

Hi all,

Due to the problem (already discussed on another thread) about .mkv not being able to fast forward, i decided it would be simple enough just to transcode matroska to m2ts and that's that.

Original file .mkv:

Video: AVC
Audio: AC3

Samsung B Series: Plays Video and Audio perfect, but won't fast forward.

New transcoding profile setting:

<Video targetContainer="m2ts">
<Matches container="matroska" />
</Video>

End result:

Samsung B Series plays Video OK and has fast forward. But no audio...

So a opened up MediaInfo on the transcoded file and verified that it has Audio with AC3 (plays on the PC).

MediaInfo for the original file vs transcoded file:

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 44mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 336 MiB (13%)
Language : English
Default : Yes
Forced : No

Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 1h 44mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 336 MiB (11%)
Language : English

Serviio 1.4.1.

Any ideas?

Thanks for the help.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon May 05, 2014 3:57 pm

Re: Help with simple transcoding (Samsung B Series)

try to set targetACodec = "aac"
<<

sLiCeR

Serviio newbie

Posts: 8

Joined: Thu Jul 21, 2011 10:29 pm

Post Mon May 05, 2014 8:21 pm

Re: Help with simple transcoding (Samsung B Series)

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue May 06, 2014 7:02 pm

Re: Help with simple transcoding (Samsung B Series)

try to transcode to mpegts instead of m2ts

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 10 guests

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