ginjaninja 533 Posted December 22, 2013 Share Posted December 22, 2013 @@Tikuf Was given a roku for christmas and have been experimenting with playback. (updated to latest roku version this pm) Version 3.0.5099.2102 mb3 server Is there a known issue with sound labouring during MB3 transcoding? I am experiencing slowing down/ speeding up of sound and the tone going down ..very noticable / obvious when its happening (unpleasant to listen too, like a record player beeing spun varying degrees of faster/slower .). i only notice this on some movies so far (never on tv or music),,need to do more testing in codec formats etc...but b4 i did i just wondered if there was a known issue already, or if there was any guidance on how to troubleshoot/investigate further. I also experience the issue on android when NOT using an external media player (ie transcoding) q66000@3.2ghz, 6gb ram, win 7 sp1. thank you Link to comment Share on other sites More sharing options...
gcw07 347 Posted December 22, 2013 Share Posted December 22, 2013 What is the media? Like the contents of the media (h264, dts sound, etc). Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted December 22, 2013 Author Share Posted December 22, 2013 the two i have checked so far are Format : Matroska Format version : Version 2 File size : 4.35 GiB Duration : 1h 49mn Overall bit rate : 5 685 Kbps Encoded date : UTC 2011-07-12 06:53:18 Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58 Writing library : libebml v1.2.0 + libmatroska v1.1.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 6 frames Format settings, GOP : N=1 Codec ID : V_MPEG4/ISO/AVC Duration : 1h 49mn Bit rate : 4 174 Kbps Width : 1 280 pixels Height : 536 pixels Display aspect ratio : 2.40:1 Frame rate mode : Constant Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.254 Stream size : 3.11 GiB (71%) Writing library : x264 core 64 r977M 2042a19 Encoding settings : cabac=1 / ref=6 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=5 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4174 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00 Language : English Default : Yes Forced : No Audio ID : 2 Format : DTS Format/Info : Digital Theater Systems Format profile : ES Mode : 16 Format settings, Endianness : Big Codec ID : A_DTS Duration : 1h 49mn Bit rate mode : Constant Bit rate : 1 509 Kbps Channel(s) : 7 channels / 6 channels Channel positions : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossy Stream size : 1.16 GiB (27%) Default : No Forced : No and Format : Matroska Format version : Version 2 File size : 4.30 GiB Duration : 1h 37mn Overall bit rate : 6 303 Kbps Encoded date : UTC 2011-07-12 07:25:33 Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58 Writing library : libebml v1.2.0 + libmatroska v1.1.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 8 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1h 37mn Bit rate : 4 789 Kbps Width : 1 280 pixels Height : 688 pixels Display aspect ratio : 1.85:1 Frame rate mode : Constant Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.227 Stream size : 3.18 GiB (74%) Title : 10.Things.I.Hate.About.You.1999 Writing library : x264 core 84 r1416kGIT fcf70c2 Encoding settings : cabac=1 / ref=8 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.2:0.2 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=4789 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=38000 / ip_ratio=1.40 / aq=1:1.00 Language : English Default : Yes Forced : No Audio ID : 2 Format : DTS Format/Info : Digital Theater Systems Mode : 16 Format settings, Endianness : Big Codec ID : A_DTS Duration : 1h 37mn Bit rate mode : Constant Bit rate : 1 509 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.03 GiB (24%) Title : English DTS 1536kb/s Language : English Default : No Forced : No Link to comment Share on other sites More sharing options...
Tikuf 663 Posted December 22, 2013 Share Posted December 22, 2013 It sounds like it is having issue re-syncing the audio. I will look into it (probably after xmas now) Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted December 23, 2013 Author Share Posted December 23, 2013 It sounds like it is having issue re-syncing the audio. I will look into it (probably after xmas now) thank you tikuf, please let me know what i can do to help troubleshoot, in the mean time i will test a handful of content to see if i can narrow it down to a container, codec, profile, bit rate etc. Link to comment Share on other sites More sharing options...
cylon 15 Posted December 23, 2013 Share Posted December 23, 2013 (edited) One is 6 channel DTS and the other is 7 channel DTS. Do you have any multichannel Dolby to test with? That will at least help Tikuf narrow it down. Edited December 23, 2013 by cylon 1 Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted December 24, 2013 Author Share Posted December 24, 2013 One is 6 channel DTS and the other is 7 channel DTS. Do you have any multichannel Dolby to test with? That will at least help Tikuf narrow it down. Hi cylon I dont follow... I have tested the sound is not labouring on the htpc receiver if thats what u mean? I presume that transcoding down mixes to stereo. Sent from my GT-I9505 using Tapatalk Link to comment Share on other sites More sharing options...
cylon 15 Posted December 24, 2013 Share Posted December 24, 2013 Correct the transcoding will down mix. What I assume is happening is that there is different processing overhead on the server when down mixing multi-channel audio. It would be good to find out if it is specific to DTS or if it also occurs on 6/7 channel Dolby. Sent from my RM-821_apac_australia_new_zealand_304 using Tapatalk Link to comment Share on other sites More sharing options...
gcw07 347 Posted December 24, 2013 Share Posted December 24, 2013 If you have your Roku plugged into a receiver, have you turned on the surround sound setting on the Roku to make sure that if it can play the file directly it can pass that audio through instead of converting it. Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 24, 2013 Share Posted December 24, 2013 Hi, I noticed this too. I was using the http interface from work and streaming a movie. Although the speech sounded correct, the background music sounded like a record that someone was dragging their finger on...speeding up and slowing down. ATM I do not have specifics but I can get them for you if you need. Just saying I've seen this too. I thought it was odd that the speech was all correct though. Thanks, Aaron. Link to comment Share on other sites More sharing options...
gcw07 347 Posted December 24, 2013 Share Posted December 24, 2013 Are you guys using single files (like mkv's) or are you using folder rips? Just trying to narrow down where the failure is happening. I haven't noticed it in my setup, but I don't have any folder rips to test with so maybe that is the cause. Thanks. Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted December 25, 2013 Author Share Posted December 25, 2013 If you have your Roku plugged into a receiver, have you turned on the surround sound setting on the Roku to make sure that if it can play the file directly it can pass that audio through instead of converting it. My receiver is in for repair so this test will need to wait a few weeks..but I understand what yr getting at Sent from my GT-I9505 using Tapatalk Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted December 25, 2013 Author Share Posted December 25, 2013 Are you guys using single files (like mkv's) or are you using folder rips? Just trying to narrow down where the failure is happening. I haven't noticed it in my setup, but I don't have any folder rips to test with so maybe that is the cause. Thanks. Im not testing with folder rips..just single file mkvs. Like tobias I have noticed the effect seems more apparent during music in a film. Sent from my GT-I9505 using Tapatalk Link to comment Share on other sites More sharing options...
Tikuf 663 Posted December 26, 2013 Share Posted December 26, 2013 Ok guys I am back on deck now if you guys can narrow it down for me. I am confident I know what is causing it, but it is required for some of the other transcoding to stop audio drift. With that in mind I will need to know under exactly what circumstances codec's etc this happens with, device and device settings etc more info you can give me the more chance i have to repo it and work out a fix. Tia Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 26, 2013 Share Posted December 26, 2013 (edited) Tikuf, Here is a video just showing what it is like (towards the end he talks and his speech does not sound warbled). I took a screenshot of the details but I can get you full details on the file and post back here in a minute. I'm at work atm. I know you need details. Device, device settings. Give me a few and I'll post those too. Do you want access to my server? *Updated* Ok, here are the details on the file: Link I'm going to PM you something for info about the server. Finally, I accessed this from work on Win7 box using Chrome browser. Edited December 26, 2013 by tobias-tobin Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted December 26, 2013 Share Posted December 26, 2013 wow, that's brutal... Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 26, 2013 Share Posted December 26, 2013 (edited) You mean the warbling sound or did I do something uncool? I just didn't want to post the winaudit of my server on here. Oh - BTW - I asked the family member with the Roku if he has seen this 'effect' and he said no. He did complain of the voices going out of sync in movies, and then coming back into sync, but that's all he mentioned. Edited December 26, 2013 by tobias-tobin Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted December 26, 2013 Share Posted December 26, 2013 i think he means the sound/pitch issues on the music... i do have to say ive heard this too on some BSG episodes on my roku 3... havent noticed on the droid client but ill re-test both clients with that show and provide any needed detail for Red/GCW/Tikuf to check out if its still happening on my setup. like described above my memory is that it was the BSG theme music and never really noticed during the dialogue or sound effects of the show Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted December 26, 2013 Share Posted December 26, 2013 Smith is right, I definitely meant the music. Hopefully you guys can gather enough info for Tikuf to get to the bottom of it. Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 26, 2013 Share Posted December 26, 2013 hehe. ok. yeah I'll send him whatever he needs. Link to comment Share on other sites More sharing options...
Tikuf 663 Posted December 26, 2013 Share Posted December 26, 2013 Wow that does suck. @@tobias-tobin Can I please see a clean server log, an ffmpeg log of playback for that item and our mi for it as well. How to > http://mediabrowser.tv/community/index.php?/topic/1209-getting-useful-logs-media-info/ Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 28, 2013 Share Posted December 28, 2013 Sorry for the delay getting back. Yes, I will acquire that information for you and post it. Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 28, 2013 Share Posted December 28, 2013 server log ffmpeglog_1 ffmpeglog_2 (larger) mediaInfo I only let the movie play for a bit. Basically as long as the video I made above. 2 ffmpeg logs were created. 1 was created first and is small. 2 was created with a timestamp 2 minutes later and is a larger file. And then the media info I got from the library explorer. I did all this on the same movie, Bad Santa, and watching through web in Firefox. Let me know if you need anything else. tobias. Link to comment Share on other sites More sharing options...
Tikuf 663 Posted December 28, 2013 Share Posted December 28, 2013 ffmpeg log 1 points to the server log (it doesn't matter) It looks like firefox is starting a transcode for mp4 and for webm (which shouldn't change the outcome but also really shouldn't happen) The issue may be that the decode timestamps go backwards in some places was the mkv made with an older version of makemkv? Can you try running the file through mkvmerge and see if it is better (I will try to find a work around but this will tell me if I am looking in the right spot) Link to comment Share on other sites More sharing options...
tobias-tobin 9 Posted December 29, 2013 Share Posted December 29, 2013 (edited) Sure, I will run it through mkvmerge. I just wanted to tell you, not that I know anything, but I did some googling and first I enabled -loglevel verbose. Then I watched. I saw constant 'compensating for timestamp drift'. Next, I changed async=1000 to async=1 and tried again. This time no timestamp drift messages and the resultant file audio was fine. This is all based on stuff I googled and people talking about changing the async parameter to 1 rather than 1000 or any other value for that matter. I'm just throwing this out there. I'm no ffmpeg expert. I cannot say for sure what version was used to make the mkv, sorry. I'm remixing bad santa right now with mkvmerge 6.6.0. I'll let you know if that makes a difference. Edited December 29, 2013 by tobias-tobin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now