FAQ  •  Register  •  Login

Weird Pause in Sound while playback

<<

PJusa

Streaming enthusiast

Posts: 32

Joined: Fri May 06, 2011 4:10 pm

Post Sat May 21, 2011 9:43 am

Weird Pause in Sound while playback

Its a bit hard to describe and probably a samsung issue and not serviio but i will ask anyway:

I have noticed that for nearly all shows i stream with serviio at some point(s) the sound will pause for about a second to resume normally and in sync. all those files play fine on the pc without pause. does anyone have an idea why this would be happening to all files/formats (avi, mkv, mp4) with all sorts of codecs used?

the serviio log indicates no errors so i assume this might a samsung issue.

tv used LED 5 Series D Model, sound connected through optical out to samsung home theatre system (setting dolby prologic if stereo, others (dolby 5.1, DTS etc) should be passed through like that i guess - at least that is what samsung support told me).

i hope someone has an idea on how to avoid those - annoying - skips / pauses.

thanks for reading!
<<

warpspeed

Streaming enthusiast

Posts: 24

Joined: Sun Mar 20, 2011 3:36 am

Post Sat May 21, 2011 3:28 pm

Re: Weird Pause in Sound while playback

I get this too with transcoded DTS audio. Particularly at the start of a file. It cuts in and out a bit. Sometimes it gets out of sync and I have to fast forward or rewind a weeny bit to get it in sync again.
<<

PJusa

Streaming enthusiast

Posts: 32

Joined: Fri May 06, 2011 4:10 pm

Post Sun May 22, 2011 2:44 am

Re: Weird Pause in Sound while playback

is yours isolated to DTS alone - what model does this occur with? it seems i get this with MP3 as well. since the connection is direct cable over a GB-switch and it even occurs on regular 700MB rips i am pretty sure its not bandwidth or anything like that. after the pause all resumes to normal - sound is not even out of sync.

did you find a solution?

I did notice that while auto-update and samsung malaysia (where i stay) have not yet posted a firmware update samsung germany has an update for my TV from may. wondering if i could just update the firmware from a different geo-location. does anyone know?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sun May 22, 2011 7:26 am

Re: Weird Pause in Sound while playback

FFmpeg has a problem with it DTS support and this is why you are having issues, patters has more information on this problem and he has submitted a suppot ticket to ffmpeg's developer to hopefully get this fixed.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun May 22, 2011 3:55 pm

Re: Weird Pause in Sound while playback

Samsung C/D profile does not transcode DTS as the TV supports it natively. Are you on wired or wireless network?
<<

SpeedyAlmeida

Serviio newbie

Posts: 1

Joined: Sun May 22, 2011 9:42 pm

Post Sun May 22, 2011 9:47 pm

Re: Weird Pause in Sound while playback

I am with the same problem. The video runs fine ( 1080p ) but the sound has hiccups without loose the sync. Both movies i tried have DTS.
And to answer your question, i am on wired 100mb/s.
<<

PJusa

Streaming enthusiast

Posts: 32

Joined: Fri May 06, 2011 4:10 pm

Post Mon May 23, 2011 7:03 am

Re: Weird Pause in Sound while playback

i am also wired but the problem is not isolated to DTS - it seems to apply to pretty much any audio track (MP3, DTS, etc.)
<<

erd

Serviio newbie

Posts: 3

Joined: Tue Sep 27, 2011 9:05 am

Post Tue Sep 27, 2011 9:59 am

Re: Weird Pause in Sound while playback

I have a seen the same issue on my Samsung 7 series smart TV. I always thought it was the chapter breaks in the movie. I noticed that the issue was worse after using certain video ripping tools (ripping DVD image to .mkv). Video converted using either Handbrake or MPEG streamclip (on MAC) seemed ok.
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Sat Oct 01, 2011 10:25 am

Re: Weird Pause in Sound while playback

Hello, same problem here.
Sound stops for half a second randomly, video is perfect and in sync.
<<

iSparK

Serviio newbie

Posts: 15

Joined: Thu Sep 29, 2011 2:16 pm

Location: United kingdom

Post Wed Oct 05, 2011 8:48 pm

Re: Weird Pause in Sound while playback

I too am having this same issue, however not all my rip's have this issue...
<<

iSparK

Serviio newbie

Posts: 15

Joined: Thu Sep 29, 2011 2:16 pm

Location: United kingdom

Post Thu Oct 06, 2011 8:54 am

Re: Weird Pause in Sound while playback

I've done some research on this and found that it's files that use DTS Audio, there is lots of talk about issue with this but no fix...

The work around would be to REMUX your movie using something like MKVtoolnix, this takes around 10mins at the most!
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Mon Oct 24, 2011 9:02 am

Re: Weird Pause in Sound while playback

It seems to me that the problem is related to 5.1 channel audio. All the 2.0 content streams fine, only DTS and AC3 have the same sound issues: the (in)famous weird pause in sound while playback!.

Maybe a wrong/old ffmpeg version/configuration?

This is mine...
  Code:
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/opt/cross-project/arm/marvell/arm-none-linux-gnueabi/libc/marvell-f/usr --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --disable-static --enable-shared --arch=arm --disable-optimizations
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Aug  4 2011 02:15:48, gcc: 4.2.1
<<

sunnyday

Streaming enthusiast

Posts: 36

Joined: Thu Feb 17, 2011 2:17 pm

Location: Stockholm, Sweden

Post Wed Nov 02, 2011 5:50 pm

Re: Weird Pause in Sound while playback

PJusa wrote:I have noticed that for nearly all shows i stream with serviio at some point(s) the sound will pause for about a second to resume normally and in sync.


Similar problems appear on my TV (see footer for model).

So far, I have come to the following conclutions:
1) Problem occurs only upon streaming mkv files.
2) Problem may occur upon several audio formats (AC3, DTS, MP3) both 2-channel and 6-channel audio.
3) Problem usually don't appear when video average bitrate is < 1 mbps
4) If i remux the same streams into MPEG TS container using tsMuxeR (I know, abandonware :cry: ) both audio and video will stream smoothly.
5) When I disable feature "Edge Enhancement", the problem seem to diminish a bit but far from acceptable.

Of course I can configure Serviio to always rewrap mkv into MPEG TS, but then FF/REW and position seek will be disabled.
My guess is that firmware for Samsung UExxD500x (MStar CPU) has som kind of flaw. Perhaps it is wasting CPU cycles when interpreting matroska container.
I have filed this problem at two different Samsung support centers, but so far they have not understand the problem.
Samsung UE46D5005XXE | Samsung BD-C6500
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Mon Nov 07, 2011 10:02 pm

Re: Weird Pause in Sound while playback

Of course I can configure Serviio to always rewrap mkv into MPEG TS, but then FF/REW and position seek will be disabled.


Can you tell me how to do that?
I mean how to remux all the mkv's into m2ts?
that container should solve some problem with Samsung TV
<<

sunnyday

Streaming enthusiast

Posts: 36

Joined: Thu Feb 17, 2011 2:17 pm

Location: Stockholm, Sweden

Post Tue Nov 08, 2011 8:15 am

Re: Weird Pause in Sound while playback

This is how I have configured Serviio to always rewrap mkv to MPEG TS: (fixing audio problems on UE46D5005)

profiles.xml:

<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">

<snip... (general profile elements omitted)...>

<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" /> <!-- attributes profile and levelGreaterThan are blanked out -->
<Matches container="matroska" vCodec="h264" /> <!-- attributes profile and levelGreaterThan are blanked out -->
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />

<snip... (other transcoding rules omitted)...>

</Transcoding>
</Profile>


Actually I had to make a copy of Samsung C/D profile and rename it to Samsung D, leaving C/D profile unchanged. My C6500 BluRay player still uses original C/D profile without audio problems.
Samsung UE46D5005XXE | Samsung BD-C6500
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Tue Nov 08, 2011 8:46 am

Re: Weird Pause in Sound while playback

I'll try that.

Yesterday I tried to use the <Transcoding> part from the PS3 profile into Samsiung C/D.
Some mkv now are perfect, audio problem solved, but with some mkv's the problem is worse than before.

Also tried the TV's "Game mode" but still have to investigate any effect. It should disable all the unnecessary cpu load on the tv.

One question: how do you check that the file is actually rewrapped when the problem seems not solved?
<<

sunnyday

Streaming enthusiast

Posts: 36

Joined: Thu Feb 17, 2011 2:17 pm

Location: Stockholm, Sweden

Post Tue Nov 08, 2011 9:59 am

Re: Weird Pause in Sound while playback

Check for the presence of a file C:\temp\Serviio\transcoded-temp-xxx.stf (xxx may differ from time to time).

Date and time of that file will be from the moment you start viewing and the file will stay in that folder until next time Serviio needs to transcode/rewrap.
Samsung UE46D5005XXE | Samsung BD-C6500
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Tue Nov 08, 2011 10:36 am

Re: Weird Pause in Sound while playback

Yes, found a 2,5GB file :-) thanks
However during transcoding no service (ffmpeg?) was consuming cpu. possible?
<<

mrrouge

Streaming enthusiast

Posts: 38

Joined: Thu Sep 29, 2011 1:19 pm

Post Tue Nov 08, 2011 7:47 pm

Re: Weird Pause in Sound while playback

Oh- of course, the file is created at the beginning, so after first minutes cpu is not used.

This file still has pause sound problems:

  Code:
Writing application              : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct  9 2011 11:55:43
Writing library                  : libebml v1.2.2 + libmatroska v1.3.0
Cover                            : Yes / Yes / Yes / Yes / Yes

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 10 frames
Muxing mode                      : Header stripping
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 33mn
Bit rate                         : 3 695 Kbps
Width                            : 1 280 pixels
Height                           : 536 pixels
Display aspect ratio             : 2.35:1
Frame rate                       : 25.000 fps
Original frame rate              : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.215
Stream size                      : 2.42 GiB (89%)
Language                         : English

Audio
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Muxing mode                      : Header stripping
Codec ID                         : A_AC3
Duration                         : 1h 33mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Video delay                      : 16ms
Stream size                      : 258 MiB (9%)


this file was not playing fine before transcoding, but now the sound pause problem is much worse!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Nov 08, 2011 9:02 pm

Re: Weird Pause in Sound while playback

Muxing mode : Header stripping


Header compression not supported: viewtopic.php?f=6&t=1132
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
Next

Return to Samsung

Who is online

Users browsing this forum: No registered users and 12 guests

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