jhanson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009
08:58 AM
Home video streaming audio problems
I've been playing around with the simple video player example, trying to make my own streaming app. The only thing I'm having trouble with is sound. I made an M4V file of a DVD using HandBrake, with the Apple TV presets. The video plays fine, good quality and no rebuffering issues, but the sound doesn't work at all. It's completely silent. I tried re-ripping it, with the audio locked to 256 AAC, stereo, and it works. I'm thinking it has something to do with the default presets ripping as having either 5.1 or Dolby audio (can't remember which).
Am I going to have to force the audio encoding on everything I rip to get it to play, or is there something I'm missing in the docs about changing audio settings on streams?
Am I going to have to force the audio encoding on everything I rip to get it to play, or is there something I'm missing in the docs about changing audio settings on streams?
5 REPLIES 5

KennyJ
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009
09:34 AM
Re: Home video streaming audio problems
In the SDK, the Doc RokuDvp_ComponentReference.pdf on page 37 has the supported video formats.
jhanson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009
09:48 AM
Re: Home video streaming audio problems
Yup, and my video is in that format. The audio is 160kb AAC (which is between the 128 and 256 listed or whatever the range was).
jhanson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009
06:39 PM
Re: Home video streaming audio problems
Ah ha. I think I figured it out. The video format is correct, and the audio format is correct, but the video files have multiple audio streams. So, while the first audio stream in the video is 160kb AAC, which should work, there's a secondary audio stream that is in a different format. Apparently, the Roku doesn't like having that extra audio stream in there. So, if I strip out the secondary audio stream using ffmpeg, the files work. That's much better than re-ripping everything.
jhanson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2010
05:19 AM
Re: Home video streaming audio problems
No, that's incorrect. As I mentioned in my post, the only problem was that I had multiple audio streams in my file. Cutting it down to just one fixed it.
bcl
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2010
08:15 AM
Re: Home video streaming audio problems
Looks like we need a 'report' button 😞