FAQ  •  Register  •  Login

Audio and subtitles out of sync

<<

DrPhoton

Serviio newbie

Posts: 8

Joined: Tue May 25, 2010 6:49 pm

Post Fri May 28, 2010 9:43 am

Audio and subtitles out of sync

I'm trying to transcode a matroska and an mpeg2ts video for my Samsung TV, but both the audio and subtitles become out of sync with respect to the video. The audio starts playing fine, but after a few seconds it jumps forward and gets advanced with respect to the video. The subtitles are delayed though.
The transcoding profile I'm using is:

  Code:
<Video targetContainer="mpegts" targetACodec="ac3">
    <Matches container="matroska" vCodec="h264" aCodec="dca"/>
    <Matches container="mpegts" vCodec="h264"/>
</Video>


Has anybody else experienced this? Any idea on how to fix it?
<<

M2theaarten

User avatar

Serviio newbie

Posts: 6

Joined: Tue Feb 09, 2010 3:07 pm

Post Sun Jul 04, 2010 3:42 pm

Re: Audio and subtitles out of sync

I am experiencing the same difficulties. All my subtitles are out of sync, the start with a delay of a few seconds. I'm not having the issue related to the sound. For info: I have a Samsung UE32B7020.

Playing the file & .srt on my computer, perfect match :shock:

Are the more people with this issue and can I resolve this?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jul 04, 2010 9:12 pm

Re: Audio and subtitles out of sync

Cab you enable detailed log and post the ffmpeg command used for transcoding. Then provide ffmpeg -i <your_file> and also try to get frame rate using MediaInfo.
<<

tampamark

Serviio newbie

Posts: 4

Joined: Sat Jul 03, 2010 12:58 am

Post Mon Jul 05, 2010 3:53 am

Re: Audio and subtitles out of sync

Mine does the same on some video's. Not all and I cannot figure out what causes this either. But I do notice that if I get dropout in the audio portion that the audio is permanently out of sync with the video. I was going to experiment with re-encoding the files to see if it resolves the issue. Most of the video's I play are not encoded by me.
<<

larsson86

Serviio newbie

Posts: 4

Joined: Thu Jul 08, 2010 9:26 pm

Post Thu Jul 08, 2010 9:30 pm

Re: Audio and subtitles out of sync

I didn't have the problems with .srt's before transcoding was included in serviio.
The .srt starts way to late, approx. a couple of minutes later.

Hope you'll look into it and fix it. It must be something with the transcoding.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 08, 2010 11:11 pm

Re: Audio and subtitles out of sync

Does this happen only for transcoded media?
<<

larsson86

Serviio newbie

Posts: 4

Joined: Thu Jul 08, 2010 9:26 pm

Post Fri Jul 09, 2010 12:10 am

Re: Audio and subtitles out of sync

I've only tried an 1080p .mkv DTS, transcoded, file, and the subtitle didn't work. It has to be transcoded right? Because my Samsung B-series (LE46B657) TV does not support DTS?
My guess is that it's only for transcoded media. But I'm not sure...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jul 09, 2010 8:30 am

Re: Audio and subtitles out of sync

I'll need someone to provide this info:

zip wrote:Cab you enable detailed log and post the ffmpeg command used for transcoding. Then provide ffmpeg -i <your_file> and also try to get frame rate using MediaInfo.
<<

larsson86

Serviio newbie

Posts: 4

Joined: Thu Jul 08, 2010 9:26 pm

Post Wed Jul 14, 2010 7:30 pm

Re: Audio and subtitles out of sync

Sorry for the late answer:

See http://pastebin.com/sL6Jrs8q for detailed log.

The ffmpeg -i gave the following on the file:

  Code:
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame -
-enable-w32threads --extra-ldflags=-L/static/lib --extra-cflags=-I/static/include
  libavutil     50.15. 0 / 50.15. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
[matroska @ 0036c0b0]MAX_READ_SIZE:5000000 reached
[matroska @ 0036c0b0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (5000000/208542)
Input #0, matroska, from 'The.Fourth.Kind.2009.720p.BluRay.x264-METiS.mkv':
  Duration: 01:38:00.49, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1280x544, PAR 1:1 DAR 40:17, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: dca, 48000 Hz, 6 channels, s16
    Metadata:
      title           : DTS 1509 Kbps
    Stream #0.2(eng): Subtitle: 0x0000
At least one output file must be specified


If you want more info from me, please tell me.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 15, 2010 12:15 am

Re: Audio and subtitles out of sync

Ok, I was looking into this tonight and got to the core of the problem (I believe). It seems that the resulting mpeg2ts file is not very much liked by the TV.

Try running this command:

  Code:
ffmpeg -i <input_mkv_file> -y -copyts -vcodec copy -acodec ac3 -ab 192k -vbsf h264_mp4toannexb -sn -f mpegts output.mpg


This is basically what Serviio uses to transcode this kind of file. Add the result (output.mpg) into Serviio's library and it'll play it natively. The subtitles though are still not in sync. Press OK button to invoke the info bar and watch elapsed time - it skips, stops and generally is not proper. The subtitles are synced with this time.

So I presume if we manage to transcode the file so that it'll have proper time (timestamps?) we can move forward.

I'd be cool if anyone who is interested and has some spare time gave this a go.

FFmpeg doc is here: http://www.ffmpeg.org/ffmpeg-doc.html
<<

Drag

Serviio newbie

Posts: 2

Joined: Sun Jul 25, 2010 6:36 pm

Post Sun Jul 25, 2010 6:47 pm

Re: Audio and subtitles out of sync

HI!

I have a Samsung b650 and use serviio 4.1. Some movie, i have subtitle delay but on my computer subtile is ok.

Here is a ffmpeg info one of the delay subtitle:
  Code:
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
  libavutil     50.15. 0 / 50.15. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
[matroska @ 012abcd0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (200000
00/417083) -> 23.98 (20000000/834166)
Input #0, matroska, from 'd:\film\film\The.Losers.2010.BluRay.1080p.DTS.x264-CHD
.mkv':
  Duration: 01:37:00.64, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 tb
r, 1k tbn, 47.95 tbc
    Metadata:
      title           : The.Losers.2010
    Stream #0.1(eng): Audio: dca, 48000 Hz, 6 channels, s16
    Metadata:
      title           : DTS-HD MA CORE 1536K


ad here is serviio log:
  Code:
2010-07-25 20:28:20,967 DEBUG [WebServer] Incoming connection from /192.168.10.3:4962
2010-07-25 20:28:20,967 DEBUG [ResourceTransportRequestHandler] GET /resource/21816/COVER_IMAGE HTTP/1.0, headers = [HOST: 192.168.10.254:8895, ACCEPT-LANGUAGE: en-us, getcontentFeatures.dlna.org: 1, transferMode.dlna.org: Interactive, ]
2010-07-25 20:28:20,968 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:20,968 DEBUG [ResourceTransportRequestHandler] Request for resource 21816 and type 'COVER_IMAGE' received
2010-07-25 20:28:20,968 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 21816)
2010-07-25 20:28:20,969 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 21816
2010-07-25 20:28:20,969 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2010-07-25 20:28:20,969 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-25 20:28:20,969 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: image/jpeg, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=80900000000000000000000000000000, transferMode.dlna.org: Interactive, ]
2010-07-25 20:28:21,994 DEBUG [WebServer] Incoming connection from /192.168.10.3:4963
2010-07-25 20:28:21,995 DEBUG [ResourceTransportRequestHandler] HEAD /resource/27537/MEDIA_ITEM/AVC_TS_MP_HD_AC3 HTTP/1.0, headers = [getCaptionInfo.sec: 1, ]
2010-07-25 20:28:21,995 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:21,995 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'MEDIA_ITEM' received
2010-07-25 20:28:21,995 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:21,996 DEBUG [VideoDAOImpl] Reading a Video (id = 27537)
2010-07-25 20:28:21,996 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 27537, format AVC_TS_MP_HD_AC3 and profile Samsung WiselinkPro (B-series)
2010-07-25 20:28:21,997 DEBUG [VideoDeliveryEngine] Getting media info for transcoded version of file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv
2010-07-25 20:28:21,997 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv: AVC_TS_MP_HD_AC3
2010-07-25 20:28:21,998 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:21,998 DEBUG [MediaItemDAOImpl] Getting file of media item 27537
2010-07-25 20:28:21,999 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2010-07-25 20:28:21,999 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: video/vnd.dlna.mpeg-tts, Content-Length: 9000000000, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, transferMode.dlna.org: Streaming, CaptionInfo.sec: http://192.168.10.254:8895/resource/27537/SUBTITLE, ]
2010-07-25 20:28:22,003 DEBUG [WebServer] Incoming connection from /192.168.10.3:4964
2010-07-25 20:28:22,003 DEBUG [ResourceTransportRequestHandler] GET /resource/27537/SUBTITLE HTTP/1.0, headers = [HOST: 192.168.10.254:8895, ACCEPT-LANGUAGE: en-us, getcontentFeatures.dlna.org: 1, transferMode.dlna.org: Background, ]
2010-07-25 20:28:22,003 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:22,003 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'SUBTITLE' received
2010-07-25 20:28:22,004 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:22,005 DEBUG [MediaItemDAOImpl] Getting file of media item 27537
2010-07-25 20:28:22,006 DEBUG [SubtitlesRetrievalStrategy] Retrieving Subtitles for media item with id 27537
2010-07-25 20:28:22,033 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 79867
2010-07-25 20:28:22,033 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-25 20:28:22,033 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: smi/caption, Content-Length: 79867, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_OP=00;DLNA.ORG_CI=0;, transferMode.dlna.org: Background, ]
2010-07-25 20:28:22,273 DEBUG [WebServer] Incoming connection from /192.168.10.3:1367
2010-07-25 20:28:22,274 DEBUG [ResourceTransportRequestHandler] HEAD /resource/27537/MEDIA_ITEM/AVC_TS_MP_HD_AC3 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1, getMediaInfo.sec: 1, Host: 192.168.10.254:8895, ]
2010-07-25 20:28:22,274 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:22,274 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'MEDIA_ITEM' received
2010-07-25 20:28:22,274 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:22,275 DEBUG [VideoDAOImpl] Reading a Video (id = 27537)
2010-07-25 20:28:22,275 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 27537, format AVC_TS_MP_HD_AC3 and profile Samsung WiselinkPro (B-series)
2010-07-25 20:28:22,276 DEBUG [VideoDeliveryEngine] Getting media info for transcoded version of file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv
2010-07-25 20:28:22,276 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv: AVC_TS_MP_HD_AC3
2010-07-25 20:28:22,276 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2010-07-25 20:28:22,276 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: video/vnd.dlna.mpeg-tts, Content-Length: 9000000000, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]
2010-07-25 20:28:22,287 DEBUG [WebServer] Incoming connection from /192.168.10.3:3366
2010-07-25 20:28:22,287 DEBUG [ResourceTransportRequestHandler] GET /resource/27537/MEDIA_ITEM/AVC_TS_MP_HD_AC3 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1, transferMode.dlna.org: Streaming, TimeSeekRange.dlna.org: npt=0-, Host: 192.168.10.254:8895, ]
2010-07-25 20:28:22,287 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:22,287 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'MEDIA_ITEM' received
2010-07-25 20:28:22,288 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:22,289 DEBUG [VideoDAOImpl] Reading a Video (id = 27537)
2010-07-25 20:28:22,290 DEBUG [VideoDeliveryEngine] Delivering item '27537' for client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:22,290 DEBUG [VideoDeliveryEngine] Delivering file 'The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv' using transcoding
2010-07-25 20:28:22,290 DEBUG [VideoDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:22,291 DEBUG [MediaItemDAOImpl] Getting file of media item 27537
2010-07-25 20:28:22,293 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode file: D:\Film\Film\The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv
2010-07-25 20:28:22,294 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i D:\Film\Film\The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv -y -vcodec copy -copyts -acodec ac3 -ab 192k -ac 2 -vbsf h264_mp4toannexb -sn -f mpegts F:\Temps\Serviio\transcoding-temp-27537-MPEG2TS.stf
2010-07-25 20:28:22,794 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv: AVC_TS_MP_HD_AC3
2010-07-25 20:28:22,794 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2010-07-25 20:28:22,796 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 27537) as read
2010-07-25 20:28:22,861 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2010-07-25 20:28:22,862 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2010-07-25 20:28:22,862 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-25 20:28:22,862 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: video/vnd.dlna.mpeg-tts, TimeSeekRange.dlna.org: npt=0-5820/5820, Content-Length: 9000000000, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]
2010-07-25 20:28:23,238 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2010-07-25 20:28:24,353 DEBUG [WebServer] Incoming connection from /192.168.10.3:4802
2010-07-25 20:28:24,353 DEBUG [ResourceTransportRequestHandler] HEAD /resource/27537/MEDIA_ITEM/AVC_TS_MP_HD_AC3 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1, Host: 192.168.10.254:8895, ]
2010-07-25 20:28:24,354 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:24,354 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'MEDIA_ITEM' received
2010-07-25 20:28:24,354 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:24,355 DEBUG [VideoDAOImpl] Reading a Video (id = 27537)
2010-07-25 20:28:24,355 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 27537, format AVC_TS_MP_HD_AC3 and profile Samsung WiselinkPro (B-series)
2010-07-25 20:28:24,355 DEBUG [VideoDeliveryEngine] Getting media info for transcoded version of file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv
2010-07-25 20:28:24,356 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv: AVC_TS_MP_HD_AC3
2010-07-25 20:28:24,356 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2010-07-25 20:28:24,356 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: video/vnd.dlna.mpeg-tts, Content-Length: 9000000000, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]
2010-07-25 20:28:24,369 DEBUG [WebServer] Incoming connection from /192.168.10.3:1302
2010-07-25 20:28:24,369 DEBUG [ResourceTransportRequestHandler] GET /resource/27537/MEDIA_ITEM/AVC_TS_MP_HD_AC3 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1, transferMode.dlna.org: Streaming, getMediaInfo.sec: 1, TimeSeekRange.dlna.org: npt=0-, Host: 192.168.10.254:8895, ]
2010-07-25 20:28:24,369 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:24,370 DEBUG [ResourceTransportRequestHandler] Request for resource 27537 and type 'MEDIA_ITEM' received
2010-07-25 20:28:24,370 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 27537)
2010-07-25 20:28:24,371 DEBUG [VideoDAOImpl] Reading a Video (id = 27537)
2010-07-25 20:28:24,371 DEBUG [VideoDeliveryEngine] Delivering item '27537' for client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:24,371 DEBUG [VideoDeliveryEngine] Delivering file 'The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv' using transcoding
2010-07-25 20:28:24,372 DEBUG [VideoDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.10.3, Profile=Samsung WiselinkPro (B-series)'
2010-07-25 20:28:24,372 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Losers.2010.BluRay.1080p.DTS.x264-CHD.mkv: AVC_TS_MP_HD_AC3
2010-07-25 20:28:24,372 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2010-07-25 20:28:24,373 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 27537) as read
2010-07-25 20:28:24,380 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2010-07-25 20:28:24,380 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2010-07-25 20:28:24,380 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-25 20:28:24,380 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [Content-Type: video/vnd.dlna.mpeg-tts, TimeSeekRange.dlna.org: npt=0-5820/5820, Content-Length: 9000000000, Cache-control: no-cache, Pragma: no-cache, Server: Windows Server 2008 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]


Can you help me to solved the preoblem?

Sory my english
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jul 25, 2010 7:54 pm

Re: Audio and subtitles out of sync

see my previous post
<<

larsson86

Serviio newbie

Posts: 4

Joined: Thu Jul 08, 2010 9:26 pm

Post Mon Jul 26, 2010 7:54 pm

Re: Audio and subtitles out of sync

I don't know zip if you already know this, but the timer on the TV doesn't work properly during transcoding either.
I mean like if it says 00:00:00 / 01:47:20 , and the timer starts increasing, it doesn't increase with one second/second. It's more like every fifth/tenth second, but it then says 00:00:01 on the timer, not 00:00:05 (or 00:00:10) as it should be.

Don't know if it helps, but just wanted you to know it.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 28, 2010 3:01 pm

Re: Audio and subtitles out of sync

larsson86 wrote:I don't know zip if you already know this, but the timer on the TV doesn't work properly during transcoding either.

That's what I meant. I have other TS files and they display the time properly, so it must be either ffmpeg bug or some attributes are missing in the ffmpeg command.
<<

johndoes

Serviio newbie

Posts: 1

Joined: Mon Jan 24, 2011 9:42 pm

Post Mon Jan 24, 2011 9:47 pm

Re: Audio and subtitles out of sync

Greetings,

This is a fairly old thread but as I can see the problem persists. Is there a fix available?

I've got serviio 0.5 and a Samsung LE37B650
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 24, 2011 9:50 pm

Re: Audio and subtitles out of sync

no AFAIK
<<

germaike

Serviio newbie

Posts: 1

Joined: Sun Aug 19, 2012 1:05 pm

Post Sun Aug 19, 2012 1:07 pm

Re: Audio and subtitles out of sync

Hey Zip,

I have a Samsung 7 series and a serviio 1.0.1 and the subtitles are not syncing correctly.
Is there any solution yet?

Kind regards,

Germaike
<<

tmgp

Serviio newbie

Posts: 1

Joined: Sun Aug 19, 2012 6:18 pm

Post Sun Aug 19, 2012 6:20 pm

Re: Audio and subtitles out of sync

Hi, one more user here with a Samsung LE37B651 with the same issue (out of sync srt subtitles) in MKV files... can we do something to help solve the issue?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Aug 19, 2012 7:38 pm

Re: Audio and subtitles out of sync

Not at this time.
<<

jukkajalava

Serviio newbie

Posts: 6

Joined: Thu Aug 23, 2012 10:19 pm

Post Thu Aug 23, 2012 10:31 pm

Re: Audio and subtitles out of sync

I have a samsung le40b650 i get audio drop out every now and then on mkvs. i transcode the sound ro stereo but doesn't help at all. I know my computer is powerful enough to transcode on the fly but sound is unreliable. Can anyone also recommend which profile i should set my tv as. At the moment it is set to a Sony tv as it actually works sometimes where as if I set it to samsung the server just wont work.
Next

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

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