-
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
"Internal Server Error" on Ubuntu 13.04 w/ HDHomeRun (Dual - NOT the Prime) #1
Comments
Cool, this is a bug, I'll fix this. Thanks!
This only works for the HDHomerun Prime. The original HDHomerun's firmware doesn't have any of the things Wallop needs to work. Namely:
|
Thanks for the quick reply! Looks like I'll have to get a prime :D I think the Dual passes a transport stream, would it be possible to use the URL from an .strm file and pass the .ts file to ffmpeg? I'm no programmer so I really wouldn't know... Sent from my iPhone On Jun 26, 2013, at 4:47 PM, Jon Maddox notifications@github.com wrote:
|
The problem is that it doesn't do it over HTTP as far as I know, and thats a huge requirement for this stuff to work. On Jun 26, 2013, at 7:47 PM, TheDBP notifications@github.com wrote:
|
Thanks for the reply! Sent from my iPhone On Jun 27, 2013, at 1:45 AM, Jon Maddox notifications@github.com wrote:
|
fixed in a945ce3 |
I'm getting the error "bundle install --standalone --binstubs --local --path vendor/gems --quiet" when i try to install wallop on ubuntu 14.04, any suggestions? Thanks |
Please post the error output so we can help. |
Hi Guys, Thanks for the help, i installed gem as listed below, since it was ubuntu I was confused about gem install bundler and apt-get install bundler. So i installed gem install bundler as listed below, now when i try to run the setup script i get the following error. ==> Installing gem dependencies…
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in Gem files will remain installed in /home/test/wallop/vendor/gems/ruby/1.9.1/gems/eventmachine-1.0.3 for inspection. Thanks, @drewdin sent me the error the error via email. ==> Installing gem dependencies… @drewdin you need to have bundler installed first. gem install bundler — |
I apologize guys, it started properly. I had to use apt-get as i thought, I'm still learning my way through linux. Thanks, From: drewdin1@hotmail.com Hi Guys, Thanks for the help, i installed gem as listed below, since it was ubuntu I was confused about gem install bundler and apt-get install bundler. So i installed gem install bundler as listed below, now when i try to run the setup script i get the following error. ==> Installing gem dependencies…
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in Gem files will remain installed in /home/test/wallop/vendor/gems/ruby/1.9.1/gems/eventmachine-1.0.3 for inspection. Thanks, @drewdin sent me the error the error via email. ==> Installing gem dependencies… @drewdin you need to have bundler installed first. gem install bundler — |
I have it started but it is not resolving any channels. I see over and over in the shell: test@ubuntu:~/wallop$ ./script/start
Any suggestions? |
Both on the webpage and on roku, it just keeps saying back and forth "Preparing screen" and then "Tunning Channel". I checked the HD homerun prime and it thinks the machine it tuned to a channel. Log Outputs Any ideas? Thanks |
Check to make sure your hdhomerun has the proper firmware. Also make sure it's an hdhomerun prime or the newer non cable card one. The older antenna based hdhomerun isn't supported.
|
I have Firmware: 20140604 on my HD Homerun Prime. How can i verify if that is on the verified list? Thanks |
That firmware should work. Can you post the contents of the ffmpeg log to gist.github.com |
Here is the full output of the ffmpeg.log, its not much. [mpeg2video @ 0x1ce2660] 0x0 is invalid |
Your ffmpeg was not compiled with the correct encoder |
How do I change encoders and what should it be? Thanks |
http://stackoverflow.com/a/19777823/332798 has some details Try this: diff --git a/lib/wallop.rb b/lib/wallop.rb
index c5a50f1..38a5706 100644
--- a/lib/wallop.rb
+++ b/lib/wallop.rb
@@ -26,7 +26,7 @@ module Wallop
end
def self.ffmpeg_command(channel, resolution='1280x720', bitrate='3000k')
- %{exec #{config['ffmpeg_path']} -threads #{config['ffmpeg']['threads']} -f mpegts -analyzeduration 2000000 -i #{raw_stream_url_for_channel(channel)} -ac 2 -acodec libfaac -b:v #{bitrate} -minrate #{bitrate.gsub(/\d+/){ |o| (o.to_i * 0.80).to_i }} -maxrate #{bitrate} -vcodec libx264 -s #{resolution} -preset #{config['ffmpeg']['h264_preset']} -r #{config['ffmpeg']['framerate']} -hls_time #{config['ffmpeg']['hls_time']} -hls_wrap #{config['ffmpeg']['hls_wrap']} #{config['ffmpeg']['options']} #{transcoding_path}/#{channel}.m3u8 >log/ffmpeg.log 2>&1}
+ %{exec #{config['ffmpeg_path']} -threads #{config['ffmpeg']['threads']} -f mpegts -analyzeduration 2000000 -i #{raw_stream_url_for_channel(channel)} -ac 2 -acodec libvo_aacenc -b:v #{bitrate} -minrate #{bitrate.gsub(/\d+/){ |o| (o.to_i * 0.80).to_i }} -maxrate #{bitrate} -vcodec libx264 -s #{resolution} -preset #{config['ffmpeg']['h264_preset']} -r #{config['ffmpeg']['framerate']} -hls_time #{config['ffmpeg']['hls_time']} -hls_wrap #{config['ffmpeg']['hls_wrap']} #{config['ffmpeg']['options']} #{transcoding_path}/#{channel}.m3u8 >log/ffmpeg.log 2>&1}
end
def self.snapshot_command(channel, width=nil) |
Sorry for the dumb question but where do I try that? In the shell or is it a script i need to run? Thanks |
You might want to just try getting ffmpeg installed with libfaac. There's tons of support on Ubuntu online. There's also pretty straight forward instructions for building it from scratch from the ffmpeg page.
|
I have tried everything under the sun to get libfaac recognized by ffmpeg. anyone want to throw me a bone |
Use a different encoder as I showed above On Saturday, September 13, 2014, Andrew notifications@github.com wrote:
|
Ubuntu 14.04 Server - Eventmachine install failing (Fix --> sudo apt-get install ruby1.9.1-dev) chris@wallop-xcod:~/wallop$ bundle install Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in Gem files will remain installed in /tmp/bundler20140921-1171-nn33ss/eventmachine-1.0.3/gems/eventmachine-1.0.3 for inspection. Fix: Success: |
Is this the modern dual or the original? The original isn't supported.
|
Sorry this is on a Prime... Probably not the best place for this comment. |
I'm probably doing something wrong here, but ...
What I did:
Now, I realize I'm not running it on the recommended setup at all, but I'm really hoping to get this working. Don't know where the logs are going, since I'm on Ubuntu (if they're going anywhere at all, didn't see a way to change this in any of the included files).
So is this not working because I'm on Linux, because it's not an HDHomeRun Prime, because I'm using OTA, or a combination of any/all of the above?
GREAT WORK by the way. Been waiting on something like this for a long time. This is truly exciting!
The text was updated successfully, but these errors were encountered: