I've only been using the Chromecast for a day, but it seems the audio and video are getting out of sync after a while and the only way to get it back is to reboot it.
apastuszak said:
I've only been using the Chromecast for a day, but it seems the audio and video are getting out of sync after a while and the only way to get it back is to reboot it.
Click to expand...
Click to collapse
What application are you playing from?
bhiga said:
What application are you playing from?
Click to expand...
Click to collapse
YouTube and Netflix.
apastuszak said:
YouTube and Netflix.
Click to expand...
Click to collapse
That's odd. If you play the same links on a computer, tablet or phone, does the audio stay in-sync?
Does it happen on all videos, or just certain ones or certain types?
Note that A/V sync drift can come from various sources:
In the source - this drift is actually present in the source. If you start playback, pause, then resume, it will still be out of sync, and will be out of sync by the same amount (unless introduced drift is also occurring). Jumping forward/back will also have things out of sync, though the amount might vary depending on the other factors below.
Encoding - since YouTube and other streaming services usually have to encode the source video to their streaming format, an error in the encoding can cause sync drift. Essentially it's the same problem as "In the source" except viewing the original source won't show the drift, because only the encoded versions have it. It's not an error per-se, but often times streaming encoding will not re-sync A/V mid-stream very often, which can lead to things being out of sync if you jump forward/back in the content rather than playing it all the way straight-through.
Introduced during playback - this drift is introduced by the playback or streaming, usually by the player, sometimes caused by audio resampling or other processing. In these cases the audio will start in sync then gradually fall out of sync as playback progresses. Pausing and resuming (not jumping forward/back) will usually re-sync the audio again, then it will gradually fall out of sync as playback continues.
bhiga said:
That's odd. If you play the same links on a computer, tablet or phone, does the audio stay in-sync?
Does it happen on all videos, or just certain ones or certain types?
Note that A/V sync drift can come from various sources:
In the source - this drift is actually present in the source. If you start playback, pause, then resume, it will still be out of sync, and will be out of sync by the same amount (unless introduced drift is also occurring). Jumping forward/back will also have things out of sync, though the amount might vary depending on the other factors below.
Encoding - since YouTube and other streaming services usually have to encode the source video to their streaming format, an error in the encoding can cause sync drift. Essentially it's the same problem as "In the source" except viewing the original source won't show the drift, because only the encoded versions have it. It's not an error per-se, but often times streaming encoding will not re-sync A/V mid-stream very often, which can lead to things being out of sync if you jump forward/back in the content rather than playing it all the way straight-through.
Introduced during playback - this drift is introduced by the playback or streaming, usually by the player, sometimes caused by audio resampling or other processing. In these cases the audio will start in sync then gradually fall out of sync as playback progresses. Pausing and resuming (not jumping forward/back) will usually re-sync the audio again, then it will gradually fall out of sync as playback continues.
Click to expand...
Click to collapse
The original source is in sync on the source and on my Roku and TiVo. If I reboot the Chromecast, the video and audio are in sync. It seems after you watch it for a while, the audio and video drift slightly out of sync. Switching between sources (YouTube vs Netflix) or stopping and starting the video does not bring it back into sync. Only a reboot corrects the issue.
apastuszak said:
The original source is in sync on the source and on my Roku and TiVo. If I reboot the Chromecast, the video and audio are in sync. It seems after you watch it for a while, the audio and video drift slightly out of sync. Switching between sources (YouTube vs Netflix) or stopping and starting the video does not bring it back into sync. Only a reboot corrects the issue.
Click to expand...
Click to collapse
Interesting. Definitely sounds like it's something to do with Chromecast's decoding.
You aren't using any sort of audio breakout or external stereo, are you?
Also, what firmware build is your Chromecast on? (Check the Chromecast app)
bhiga said:
Interesting. Definitely sounds like it's something to do with Chromecast's decoding.
You aren't using any sort of audio breakout or external stereo, are you?
Also, what firmware build is your Chromecast on? (Check the Chromecast app)
Click to expand...
Click to collapse
I am on 14651.
In my setup the TV outputs to a stereo via toslink. My TV is rather old, I bought it in 2008. But it works great and has HDMI, so there's no need to upgrade.
apastuszak said:
I am on 14651.
In my setup the TV outputs to a stereo via toslink. My TV is rather old, I bought it in 2008. But it works great and has HDMI, so there's no need to upgrade.
Click to expand...
Click to collapse
I have a TV of near the same vintage, just before Sony started supporting video over DLNA.
The only other troubleshooting step I can think of it to see if there's a difference between using the TV speakers and your external. I doubt there will be a difference, but there's a tiny possibility that perhaps there are too many samples being output somewhere, which would introduce increasing drift.
bhiga said:
I have a TV of near the same vintage, just before Sony started supporting video over DLNA.
The only other troubleshooting step I can think of it to see if there's a difference between using the TV speakers and your external. I doubt there will be a difference, but there's a tiny possibility that perhaps there are too many samples being output somewhere, which would introduce increasing drift.
Click to expand...
Click to collapse
That's my next try.
I really like the Chromecast. Once is does Plex, the Roku may be up on eBay.
apastuszak said:
That's my next try.
I really like the Chromecast. Once is does Plex, the Roku may be up on eBay.
Click to expand...
Click to collapse
I love my Chromecast too, but until it gets WatchESPN, I still have a need for the Roku..lol
apastuszak said:
I've only been using the Chromecast for a day, but it seems the audio and video are getting out of sync after a while and the only way to get it back is to reboot it.
Click to expand...
Click to collapse
After updating to 14651 I met the same problem with you. But after a factory reset it works well now. I suggest you to do a factory reset and maybe it will work find like mine.
OOS can happen on the decoding side usually when the Video is at too high a bitrate for the device to handle....
The Audio takes nothing to decode but the higher the bitrate the longer it takes to decode and display the video.
Therefore the Audio comes ON TIME but the video gets delayed leaving you out of sync.
Does the audio PRECEDE the Video? (this is the most common form of OOS you see on the backend)
It usually only happens on the Encoding side when the Audio and Video take two different paths to the encoder.
Thats about the only time you might see Audio delayed compared to Video.
It is possible that the decoding device can get lost or face some memory condition that would cause this but usually it's because it attempted to decode some high Bitrate video in the first place.
Related
2 Issues (are others seeing these problems?):
1) Twice now I've tried to play two rather popular shows the day after initial showing (Castle and Walking Dead) during "prime time" (around 8pm est) and they wouldn't load the most recent episode. It would act like it's casting, the episode would flash up on the tv, and then it would go back to the play movies and tv casting screen on both the tv and my phone. Meanwhile, older episodes and purchased movies streamed fine. I"m wondering if it's some kind of server overload or something.
One more thing to note, the episodes played fine directly on my phone
2) When playing video on Play Movies and TV I seem to get these little jumps in the stream. Not buffering, maybe better described as frame rate lags or a dropped frame or something. Nothing crazy noticeable but annoying none the less. I don't see this on Netflix. Anyone else see anything like this? Is it my connection or what? Any thoughts on the matter?
Regardless of my issues, here's hoping this thing takes off!
Unfortunately the jumpy video is a symptom of the poor performance of Google's tab-casting code. It requires your computer to do the transcoding of the stream in real time with very little buffering, and Google's "beta" code just isn't up to the task on any but the very fastest computers. Plex does a far better job transcoding the same streams on the same computer.
I was referring to casting from my phone as the device was intended, not a tab cast. Unfortunately I have found that my laptop cannot handle casting as it's too old . But thank you for the reply
Sent from my SCH-I545 using xda app-developers app
Hi all,
Yesterday I bought my chromecast and I've set it up without problems, but I noticed the sound played through the chromecast is just a little bit garbled and worst of all, it's pitched like a semi-half tone down. For movies and youtube this'll won't be a problem, but I play the guitar and when music is played, it's horribly out of tune.
I couldn't find anything on the internet as a solution. Does anyone encounter the same problem?
Setup:
Nexus 5 with cm11, android 4.4.4
Stock chromecast
1080p HDTV
roytje88 said:
Hi all,
Yesterday I bought my chromecast and I've set it up without problems, but I noticed the sound played through the chromecast is just a little bit garbled and worst of all, it's pitched like a semi-half tone down. For movies and youtube this'll won't be a problem, but I play the guitar and when music is played, it's horribly out of tune.
I couldn't find anything on the internet as a solution. Does anyone encounter the same problem?
Setup:
Nexus 5 with cm11, android 4.4.4
Stock chromecast
1080p HDTV
Click to expand...
Click to collapse
Sounds like a dolby incompatibility....
Does the source have a dolby track and does this happen with a stereo content item?
Asphyx said:
Sounds like a dolby incompatibility....
Does the source have a dolby track and does this happen with a stereo content item?
Click to expand...
Click to collapse
Its with all content; whether its youtube, or casting my whole android screen, google music, I even tried it casting a youtube tab from chrome on my notebook. All same results.. Lower pitched sound and a little bit chopped.
But I sure do wanna try out everything. How can I find out wheter there is a dolby track?
roytje88 said:
Its with all content; whether its youtube, or casting my whole android screen, google music, I even tried it casting a youtube tab from chrome on my notebook. All same results.. Lower pitched sound and a little bit chopped.
But I sure do wanna try out everything. How can I find out wheter there is a dolby track?
Click to expand...
Click to collapse
If it is happening on everything then it is unlikely what I suspected it was...Especially if it happens on You Tube as well...
It could be a bad HDMI network connection between the CCast and the TV....
So try this....
1 - Try another input on the TV
2 - Try the CCast on a different TV and see if it still happens
If #1 solves it then it's that one TV Input, You can check the audio setting for that input but the CCast should communicate all of that and send the proper signal. (try re-plugging into the original input and see if the problem goes away)
If #2 has the same problem then it's a lemon CCast and you might need a replacement.
Asphyx said:
If it is happening on everything then it is unlikely what I suspected it was...Especially if it happens on You Tube as well...
It could be a bad HDMI network connection between the CCast and the TV....
So try this....
1 - Try another input on the TV
2 - Try the CCast on a different TV and see if it still happens
If #1 solves it then it's that one TV Input, You can check the audio setting for that input but the CCast should communicate all of that and send the proper signal. (try re-plugging into the original input and see if the problem goes away)
If #2 has the same problem then it's a lemon CCast and you might need a replacement.
Click to expand...
Click to collapse
In a clear moment #1 has already come to mind, so tried another hdmi input, same results.. I don't have another hdmi tv before wednesday.. Will try it then and will post my results..
I just tried my chromecast on another tv and it worked normally, so it was my hdtv.
I checked the internet and there was an update. Updated and my chromecast works perfectly now!
Thanks for the input!
roytje88 said:
I just tried my chromecast on another tv and it worked normally, so it was my hdtv.
I checked the internet and there was an update. Updated and my chromecast works perfectly now!
Thanks for the input!
Click to expand...
Click to collapse
Good glad your all well....
HDMI is really a network so any small issues and it falls apart.
Is it possible to have audio play through headphones while the video is playing on the TV?
It sounds like a good idea, doesn't it? That's why this question has been asked and answered several times before. Unfortunately the answer is No, it wouldn't work because there would be no way to sync the independent audio and video streams.
DJames1 said:
It sounds like a good idea, doesn't it? That's why it has been asked and answered several times before: No, and it wouldn't work because there would be no way to sync the independent audio and video streams.
Click to expand...
Click to collapse
I hope a future version of Cast for Audio would address this shortcoming. Video on a TV or a computer / mobile devices + Audio on Cast compatible speakers or A/V receiver.
I use an app by Stefan Pledl called Local Cast for Chromecast and can be found in the playstore for android devices. It does exactly what you are asking and routes audio to phone. You can sync easily with a + and - in 0.1 sec increments.
it is donation ware and is worth the investment of your choice from $3.99 to $10.
Edit: I just did a bluetooth test and it worked as well after setting phone or tablet audio to BT. I routed it to my bluetooth enabled speakers.
Hope this helps.
CHEERS
Interesting! Thanks for pointing that out. It wasn't in my older version of LocalCast from the Amazon app store, but it looks like LocalCast developer Stefan Pledl decided to give this a try in the latest version of his app from the Google Play store. The option to "play audio on phone" appears when you cast a video, along with +/- 0.1 sec. time offset adjustment controls.
I tested it briefly, but unfortunately it remains kind of impractical. In about 10 minutes of trying, I could not get the audio to sync properly. It starts off with a guess of 1 sec. audio delay, but from there it's very tedious trying to click it up and down in units of 0.1 second, then wait a second for it to resync, and then wait several seconds more for someone to speak visibly so you can check the lip sync. Also the app warns that sync will be lost every time you FF/RW/skip to time index, so you can't even skip a silent portion to get to a part where people are speaking - you just have to wait it out. As you might guess, the start of most movies with titles and music has nothing you can use to judge the audio-video sync until about 5 minutes in.
Perhaps it would be ok if you spend the time to get it right one time, and then it remains close to that on future casting from the same source using the same device on the same network. But I suspect that the time offset is different with different sources, and it probably drifts if the streaming is not perfect.
It would help if you could directly enter a time offset instead of tediously bumping it up and down by 0.1 seconds at a time.
I have been unable to find this issue online, which makes me think I am in a small minority that is experiencing it. I received my Gear VR, and it is a fun piece of equipment, though definitely not something I would have spent money on. I watched some Netflix and it played smoothly, though I saw pixels like people were saying. Nothing that can be done about that.
Here is where I experienced a problem. Oculus video says you can play your own videos from your library. It is true, however, I tried watching an hour long video last night and the video would periodically lag while the audio stayed on pace. As such, the audio got ahead of the video. I was able to remove the headset for a second, put it back on, and continue with everything synced again but it would continue to happen throughout the video. Has anyone experienced this, or know of a way to reduce lag so my videos on the device's drive can run smoothly? It was very annoying, and makes me think the Gear VR will become a paperweight if I cannot resolve this issue.
I found it works best with h.264 video and m4a audio, I had similar issues as you describe wirh AC3 audio.
I've seen that happen with *other* devices when a particular audio/video stream was more challenging to decode. I'd assume that using sub-optimal encoding for a video would give the Oculus Video significant "heartburn" in decoding.
If your source video isn't in-spec I'd consider transcoding it into most-compatible spec. That won't require any specific video transcoding tool, it's not a 3D specific process, and the tool of choice will depend upon what OS you run on your computer. For me under Linux I use AVEIDEMUX for this kind of work, generating an MP4 container with AAC 128Kbps audio and the h.264 video stream. I haven't watched a full movie in VR yet but those encodings have worked well for my previous devices (GS5, Galaxy Tab S 8.4, and Nexus 7 2012). It also works for playing 4K video smoothly off SD on my GS7.
$50 bounty to a dev who is able to create an Xposed module which hacks the audio so it goes to Bluetooth on the Android 6x & 7x devices (phone, tablet, etc).
Yes, there are other ways to get Bluetooth audio, such as adding a Bluetooth device to your TV output or using an HDMI audio extractor box.
That's not what this thread is about, so please be courteous and keep those discussions out of this thread.
This thread is about Xposed and hacking the audio so it goes to your Bluetooth connected devices in Android. Must work for all casting, such as BeIN Sports app, Netflix, Youtube, etc. etc. etc.
I will update the pledged bounty $$$ amount if anyone else wishes to pledge to the cause. :good:
impossible since none of the content actually goes through the Android device and streams directly to the cast device.
[edit] Only solution for you here is to screen cast to the cast device and then you can use a blutooth speaker since the content is on the Android and playing on it.
Didn't get it clearly... Is it to route your phone audio thru Bluetooth... It's happening already...
Sent from my Nexus 5 using XDA-Developers mobile app
The problem is Android device cant act as a sink. So even if you hack the chromecast you also have to hack the mobile device which is quite hard.
mbt28 said:
The problem is Android device cant act as a sink. So even if you hack the chromecast you also have to hack the mobile device which is quite hard.
Click to expand...
Click to collapse
The issue here is that the content being casted is only available on one unit unless you screen cast.
CCast gets the content it plays directly, it doesn't go through the Android device that started the cast.
So the only way to get the audio from a casted app to display video on the CCast but play the audio through the Android device is to play the content on the Android device and cast it's screen to the CCast...
But the compression used to screen cast is rarely able to keep up with what you need for playing your average video (It will stutter and grab frames) and even if you manage to get smooth video it's next to impossible to get the audio to sync with the video.
the CCast is not designed to do what is requested.
The best way to do this is to use an old Full Android device with an HDMI port, running something like Plex or Kodi you can target content and pair a BT Headphone or speaker to.
I do something similar to this with my old Xoom.
You can also cast audio through your usb too. Plug a usb wireless sound card and it will work. In anyway, even if you cast the audio from BT it wont be sync. Because both wifi and bt they are buffering so it wont be sync.
Also I couldnt get it clearly whether if you want to stream from chromecast2android or reverse.