-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HD streams are jittery/pixelated (SD plays fine) #25
Comments
I'm having a similar problem, running on OSX. My problem might be related to the fact that my server is my laptop on wireless. I'll try tomorrow on with a wired connection. |
You're never going to be able to have this work over wireless reliably. The raw mpeg2 streams are just too large for wireless to reliably do this kind of thing. The rule of thumb is: never do anything with HD video over wireless. Heh.
|
Ok, thanks. I thought so and will try it on wired. I'll report back. |
I still have trouble with HD channels, even on the wired connection. |
@mcqueena This replicates my experience, wired -> wired for HD channels failed to play. |
What are the specs of the computer doing the real time encoding?
|
Model Name: MacBook Air |
yeahhhhhhhhh..... that might be too slow to be encoding 20+mbit mpeg2 streams in to h.264 in real time. It just might not work :/ You could try editing this line and swap out I should probably make this (and a lot of other things in the ffmpeg command) an option. |
Ok, I'll try that. What would you say are the minimum requirements for SD and HD? |
You can also try lowering the default resolution and bitrate here. |
I really need to make a setting for that in the web views. |
Have any other performance tweaks you could suggest? Think adding "nice -n -15" or something similar to to the exec of ffmpeg up the priority of it would help? Changin superfast to ultrafast did seem to make it smoother, but the quality is terrible. Dropping the bitrate down to 2000k didn't seem to help. I'm running Wallop on a Ubuntu VM that has 4 cores of a 4GHz i7 dedicated to it and the HD streams are unwatchable. Either stuttering and pixelated or buffering 50% of the time. Wired gigabit Ethernet from the HDHR to Wallop and then wired gigabit or wireless to each Roku behaves the same. The VM seems busy when encoding, but not bogged down. 50-65% cpu utilization max. |
Bump the bitrate up, to 6000k atleast |
Is it possible the problem is on the Roku end? |
I'll try a higher bitrate this evening. Seems like that would make it harder to stream though? I guess it could have something to do with the specific channel, since I can stream much higher bitrates using plex. This is the Roku channel: https://github.com/computmaxer/roku-hdhomerun If you look at the videoScreen.brs file it's about as simple as it gets, it just sets up the stream and displays it. Know any way I can stream an m3u8 file in Windows to test it? VLC just does the audio stream for whatever reason. Thanks to both of you. Hate to junk up this thread if there's a better place to troubleshoot? edit: Had a chance to do a bit more testing. It looks like it only pixelates and bufferes really bad on the wireless Roku. The wired one rarely buffers after the first 5 minutes. It's weird since I can stream stuff with plex at 12Mbps to either one. I can live with SD on the wireless one. Going to still play with it to see if I can make it better and I'll update this if I figure something out. |
I guess I'm having a similar issue, my HD channels won't play at all but my SD channels play fine. I have tried reinstalling wallop and also tried doing a new install of ffmpeg but can't figure out what I'm doing wrong. Anyone else having this issue? Can anyone help? Thank you! 127.0.0.1 - - [17/Feb/2014 22:18:01] "GET /channels HTTP/1.1" 200 87021 0.0255 |
If you're seeing video work at all, then its working. What are the specs of the machine doing the transcoding? It may not be fast enough to do real time transcoding of the large mpeg2 HD video streams. You can try messing with the FFMPEG options in the config file to get things to go a little faster. Specifically the |
I changed it to ultrafast and still can't get it to play HD channels, SD still plays fine. I'm running it on a Mac Mini 2.5 GHz Intel Core i5, 4 GB Ram. Are there any other settings I might need to change? Thanks so much for your help! |
Is the computer on Ethernet or wireless?
|
Ethernet. I tried a couple other channels and it seems to work on HD but not on ABC, CBS, or NBC haha, the main channels… have you experienced this before? I checked in the HDHR Prime config while it was running and it seems to tune to it correctly and there isn't any protection on them. I'm rescanning right now to see if this will help. |
If you get no video at all, it might be some sort of ffmpeg issue. Check |
I think I've narrowed my issue down to 4 local HD channels, and for some reason the HDHR Prime is giving a CableCard message "Error requesting channel. Please try again later." Anyone else have this issue with specific channels? I've rescanned twice and get the same thing. Also, I'm on TWC, with a Motorola CableCARD and a TA. It reads the channels as unlocked with no protection on them. Any help would be greatly appreciated! |
I just made a change in d92ccd3 that might help fix the stuttering issue. Can you try it? |
So excited to get this installed and running, thanks for your effort. I'm seeing one issue with my setup, SD streams play fine, but HD streams fail to play. The streams will usually start and immediately become unresponsive and distorted.
Here is my ffmpeg log, any thoughts? Running on Ubuntu 12.04.
The text was updated successfully, but these errors were encountered: