PDA

View Full Version : Audio Synch Issues - Samsung D5300



tekiusfanatikus
10-05-2012, 09:12 PM
What's the process of debugging audio synch issues? My wife mentioned that the last 3 movies she watched, the audio was out of synch. She had to often cycle pause/play for the audio to play correctly.

I'm using Mezzmo along side a Samsung BD D5300.

mezzmo@mvg.za.net
10-05-2012, 09:26 PM
I have had this issue with a Sony KDL32EX600 TV.

The issue seems to be related to the current version of FFMPEG (not 100% confirmed, but the newest version of FFMPEG seems better).

Try pre-transcoding to a different type?

In my case the pre-transcoding was to MPEGTS which gave a problem, but when using MPEG2VIDEO the syncing was fine.

See this thread (http://forum.conceiva.com/showthread.php/4425-Sony-KDL-Audio-Sync-2-6-7)

Cheers
Mark

tekiusfanatikus
10-05-2012, 09:49 PM
Try pre-transcoding to a different type?


I don't need to transcode as my BDP D5300 can natively play the files in question. I've never had to transcode files, which is why I find this odd.

Movie 1:
Format : Matroska
Format version : Version 2
File size : 5.44 GiB
Duration : 1h 29mn
Overall bit rate : 8 709 Kbps
Encoded date : UTC 2011-12-24 04:31:10
Writing application : mkvmerge v3.3.0 ('Language') built on Mar 24 2010 14:59:24
Writing library : libebml v0.8.0 + libmatroska v0.9.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 29mn
Bit rate : 7 222 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.327
Stream size : 4.39 GiB (81%)
Writing library : x264 core 119 r2106 07efeb4
Encoding settings : cabac=1 / ref=9 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.10 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-5 / threads=9 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=7222 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=40000 / nal_hrd=none / ip_ratio=1.40 / aq=2:0.80
Language : English
Default : No
Forced : No


Movie 2:
Format : Matroska
Format version : Version 2
File size : 6.56 GiB
Duration : 2h 0mn
Overall bit rate : 7 804 Kbps
Encoded date : UTC 2010-04-15 06:56:54
Writing application : mkvmerge v3.2.0 ('Beginnings') built on Feb 12 2010 16:46:17
Writing library : libebml v0.7.9 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 0mn
Bit rate : 6 296 Kbps
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.860
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.298
Stream size : 5.16 GiB (79%)
Writing library : x264 core 93 r1538 bd72d46
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=6296 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : No
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2h 0mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.27 GiB (19%)
Language : English
Default : Yes
Forced : No

Movie 3:
Format : Matroska
Format version : Version 2
File size : 5.46 GiB
Duration : 1h 57mn
Overall bit rate : 6 662 Kbps
Encoded date : UTC 2012-01-01 08:17:47
Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
Writing library : libebml v1.2.1 + libmatroska v1.1.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 57mn
Bit rate : 5 158 Kbps
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.860
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.244
Stream size : 4.11 GiB (75%)
Writing library : x264 core 120 r2120 0c7dab9
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5158 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Muxing mode : Header stripping
Codec ID : A_DTS
Duration : 1h 57mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.24 GiB (23%)
Default : Yes
Forced : No

Paul
10-08-2012, 11:01 AM
If Mezzmo is streaming the file natively to your Samsung device, then the problem most likely is that the Samsung's firmware is not syncing correctly when decoding and playing the files. When streaming natively, Mezzmo simply delivers the file to your device without any changes.

Just to make sure:


What version of Mezzmo are you running?
What device profile in Mezzmo is assigned to your Samsung device? Go to the Media Devices dialog to see this.
Please post the FFmpeg information on one of the files. To do this, right-click on the file in Mezzmo and click 'Get FFmpeg Information'.

tekiusfanatikus
10-09-2012, 09:58 AM
I'm using version 2.7.1. The profile is Samsung BDP. Here's the FFmpeg Info:

ffmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
built on May 15 2012 12:57:14 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 51.100 / 51. 51.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 73.100 / 2. 73.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
Input #0, matroska,webm, from 'D:\streaming\Movies\aaa.mkv':
Metadata:
creation_time : 2011-12-24 04:31:10
Duration: 01:29:28.31, start: 0.000000, bitrate: 8709 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default)
At least one output file must be specified


---> DB Level Info: 41, 100
---> Frame rate: 23.98
---> Aspect ratio: 16:9

Paul
10-09-2012, 11:48 AM
Thanks for the information. All looks fine. The MKV file will be streamed directly to your Samsung BDP without any transcoding.

If possible, we'd like to see a set of logs when you stream this file, so we can analyze if anything is going wrong during streaming. Please turn on logging (see http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) and restart your Mezzmo server. Stream the video to your Samsung BDP and when you notice the audio is out of sync, stop your Mezzmo server and exit Mezzmo. Zip up all the logs and send them to us at support [at] conceiva [dot] com.

tekiusfanatikus
10-25-2012, 09:37 PM
I've been trying to replicate this with only one title that I had issues with and I'm having a hard time with it (to limit what titles show up in the log files).

Basically, I removed my folders from Mezzmo and added a test folder with one of the titles that I was having issues with. After watching it for 45 minutes without any glitches, I tried with another which also didn't cause any issues by itself. Odd.

Paul
10-26-2012, 10:32 AM
Possibly your Samsung BDP has been turned off/on and that has corrected any possible Samsung BDP firmware glitch that made it lose audio sync.

Anyway, if the problem comes back, please send us the logs & we'll analyze them.