SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Mac Edition
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Mac Edition Discussion related to the SageTV Media Center for Mac edition. Questions, issues, problems, suggestions, etc. relating to the SageTV Mac edition should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-14-2007, 06:06 PM
Diginerd Diginerd is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Stamford, CT
Posts: 173
Send a message via AIM to Diginerd Send a message via Yahoo to Diginerd
HDTV Firewire Support on The Mac

Is anyone tinkering with this? It should would be nice to close the circle and get Firewire recording integrated on the Mac. I'm not a coder but from what I read Apple makes it nice and easy (Surprise!)

http://project-tigershark.com/people...irewire-hd-pvr

Either as built into Sage (Unlikely?) or along the lines of SGR would rock.

How about a challenge for those with some coding skills?
Reply With Quote
  #2  
Old 08-15-2007, 10:20 AM
Diginerd Diginerd is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Stamford, CT
Posts: 173
Send a message via AIM to Diginerd Send a message via Yahoo to Diginerd
I poked about with this http://www.ammesset.com/irecord/ and it's really cool, now if it were fully scriptable there has got to be a way to get this to work.

I'm done with Windows based Firewire capture. it has always been flaky, and forget about vista support.
Reply With Quote
  #3  
Old 09-02-2007, 06:26 PM
jriskin jriskin is offline
Sage User
 
Join Date: Sep 2003
Posts: 52
This would be the ultimate solution for me

I just ordered a new HDTV and I've been tinkering with firewire capture for a couple years now. Windows has ALWAYS been flakey and unreliable (dropping mpeg blocks, audio, frames, etc...), while my G5 powermac has always given me almost perfect HD firewire capture. I've tried 3 different PC's and firewire cards and never managed to get it quite right.

It's sad, because I know I'm going to have to manually record shows on the mac vs. letting sage do it. Not the end of the world and I can always use sage for playback via the media library, but its hardly an ideal solution.

So this is one big vote for firewire on the mac!!!
Reply With Quote
  #4  
Old 09-26-2007, 05:54 AM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
I've developed a way to use a Macintosh on your home network as a SageTV Firewire Network Encoder. As many have noticed, firewire captures from Mac are often clean whereas from PC it is pixelated. I've only tested it on MacOS 10.4.8 (10.4.x required) and an SA4200HD. Works great. It'll even turn on the box before the recording and turn it off when done.

Should work regardless of whether your SageTV server is Windows or Mac. If Mac and running this encoder on the same machine, just set encoder address to 127.0.0.1.

See http://www.hugolyppens.com/SageTVFir...rkEncoder.html
Reply With Quote
  #5  
Old 09-26-2007, 06:07 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
That's cool. Can one Mac control multiple boxes? Also, what channels do you get on firewire?

TIA

B
Reply With Quote
  #6  
Old 09-26-2007, 06:14 AM
bhyman1 bhyman1 is offline
Sage Aficionado
 
Join Date: Mar 2005
Posts: 347
guho, thats great!

I'll give it a try this week when I have a chance.
Reply With Quote
  #7  
Old 09-26-2007, 09:06 AM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
Yes, just run multiple instances of the encoder on different port numbers and associate them with different cable boxes.

I get all the channels (I subscribe to basic digital cable), both HD and non-HD.

Quote:
Originally Posted by bcjenkins View Post
That's cool. Can one Mac control multiple boxes? Also, what channels do you get on firewire?

TIA

B
Reply With Quote
  #8  
Old 09-28-2007, 10:04 AM
jriskin jriskin is offline
Sage User
 
Join Date: Sep 2003
Posts: 52
Success!

I can't tell you how much better a solution this is. I've been recording with iRecord, which works, but you lose all the nice features of SageTV (like remembering what you've seen, getting programs at alternative times, on alternative channels, live playback, etc...).

I think my next step might be ditching my PC altogether now. A MacMini + SageMac + HDTV Firewire Plugin + Somesort of Tuner I think would be ideal.

A++ on the plugin! The guys at Sage should really include this built in.

Oh, two small problems.

1. How can I get it to run all the time? I tried launching it with &, but it still seemed to exit when I closed my terminal window.
2. I couldn't get spaces to work in the prefix mapping...

Works:
directoryprefixmap=X:|/Network/Servers/whale/files/
Doesn't work:
directoryprefixmap=X:|/Network/Servers/whale/files/this directory/sage
Reply With Quote
  #9  
Old 09-28-2007, 05:51 PM
Vaskill Vaskill is offline
Sage User
 
Join Date: Feb 2007
Location: Ottawa, ON
Posts: 70
Mapping

I am not familiar with mapping in OS X. Can someone give me more specific instructions...

UDPATE: Finaly got it to work with a little help from the net. Will not test quality and network impact. First glance, SA3250HD works fine.

Last edited by Vaskill; 09-29-2007 at 09:52 AM.
Reply With Quote
  #10  
Old 09-28-2007, 10:39 PM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
Quote:
Originally Posted by jriskin View Post
I can't tell you how much better a solution this is. I've been recording with iRecord, which works, but you lose all the nice features of SageTV (like remembering what you've seen, getting programs at alternative times, on alternative channels, live playback, etc...).

I think my next step might be ditching my PC altogether now. A MacMini + SageMac + HDTV Firewire Plugin + Somesort of Tuner I think would be ideal.

A++ on the plugin! The guys at Sage should really include this built in.

Oh, two small problems.

1. How can I get it to run all the time? I tried launching it with &, but it still seemed to exit when I closed my terminal window.
2. I couldn't get spaces to work in the prefix mapping...

Works:
directoryprefixmap=X:|/Network/Servers/whale/files/
Doesn't work:
directoryprefixmap=X:|/Network/Servers/whale/files/this directory/sage
Glad the SageTV firewire network encoder works well. Point taken about spaces. in your case, as you have done, use a path w/o spaces.

if you exit terminal it's gone. To avoid this, you can use nohup but must redirect output stderr&stdout to files. it is better to just leave terminal up, so you can see what's going on.

Last edited by guho; 09-29-2007 at 05:49 AM.
Reply With Quote
  #11  
Old 09-29-2007, 04:34 PM
oopsydaisy oopsydaisy is offline
Sage User
 
Join Date: May 2007
Posts: 33
Quote:
Originally Posted by guho View Post
I've developed a way to use a Macintosh on your home network as a SageTV Firewire Network Encoder. As many have noticed, firewire captures from Mac are often clean whereas from PC it is pixelated. I've only tested it on MacOS 10.4.8 (10.4.x required) and an SA4200HD. Works great. It'll even turn on the box before the recording and turn it off when done.

Should work regardless of whether your SageTV server is Windows or Mac. If Mac and running this encoder on the same machine, just set encoder address to 127.0.0.1.

See http://www.hugolyppens.com/SageTVFir...rkEncoder.html
First, let me give you a rundown of my setup. I have a mac mini 1.42Ghz G4/512MB/10.4.10 that I want to use as my SageTV server. I also have a SA4200HD. I have SageTV 6.2.10 installed(don't know if this will work). I have a question and something that doesn't match your instructions on your site. First, from your site, "Add these lines to the mmc/encoders section in sage.properties" I don't see a mmc/encoders section in my sage.properties file. Second, where do I put in the encoder address(127.0.0.1)? I have attached my sage.properties file for review. Thanks in advance
Attached Files
File Type: zip Sage.properties.zip (3.1 KB, 503 views)
Reply With Quote
  #12  
Old 09-29-2007, 06:04 PM
Diginerd Diginerd is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Stamford, CT
Posts: 173
Send a message via AIM to Diginerd Send a message via Yahoo to Diginerd
This is pretty easy to fix..

paste the text from Hugo's site in after the last mmc/blahblahblah line in your properties

to place the ip address you need to alter this line from the sample config

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=ENCODERHOST\:6969

to look like this

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=127.0.0.1\:6969

Don't forget to go into your network settings an allow the firewall to access port 6969 (Or turn the firewall off if you are on a private network (Which from other lines in your config you look to be) and you have a firewall at the edge of your network between you and the internet.

I'm not too sure if that step is totally neccesary to reach the loopback address (127.0.0.1) so try it without modifying the firewall, but if you get nowhere make the change.

Once we get a few more of us up and doing this then Hugo needs an oscar and a ticker taper parade, as well as we should collectively push this out into the blogshpere as essentially it makes for a HDTV PVR with a free 15 day trial and no reccuring fees on the Mac.

Nothing else comes close!

Now if only there was HDHomerun support too then we'd be cooking on gas!!

One last thing, I suspect your G4 won't be able to play back the HD you record.. Though my MDD 1.25 can just about in VLC but no chance in Sage. Though if you are planning on having HD capable clients you'll be fine.. Placeshifting clients, or to a regular MVP would be too much for the poor G4 to handle)

Last edited by Diginerd; 09-29-2007 at 06:07 PM.
Reply With Quote
  #13  
Old 09-29-2007, 06:22 PM
oopsydaisy oopsydaisy is offline
Sage User
 
Join Date: May 2007
Posts: 33
Quote:
Originally Posted by Diginerd View Post
This is pretty easy to fix..

paste the text from Hugo's site in after the last mmc/blahblahblah line in your properties

to place the ip address you need to alter this line from the sample config

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=ENCODERHOST\:6969

to look like this

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=127.0.0.1\:6969

Don't forget to go into your network settings an allow the firewall to access port 6969 (Or turn the firewall off if you are on a private network (Which from other lines in your config you look to be) and you have a firewall at the edge of your network between you and the internet.

I'm not too sure if that step is totally neccesary to reach the loopback address (127.0.0.1) so try it without modifying the firewall, but if you get nowhere make the change.

Once we get a few more of us up and doing this then Hugo needs an oscar and a ticker taper parade, as well as we should collectively push this out into the blogshpere as essentially it makes for a HDTV PVR with a free 15 day trial and no reccuring fees on the Mac.

Nothing else comes close!

Now if only there was HDHomerun support too then we'd be cooking on gas!!

One last thing, I suspect your G4 won't be able to play back the HD you record.. Though my MDD 1.25 can just about in VLC but no chance in Sage. Though if you are planning on having HD capable clients you'll be fine.. Placeshifting clients, or to a regular MVP would be too much for the poor G4 to handle)
Thanks for the info. I will try this and report my results as soon as possible
Reply With Quote
  #14  
Old 09-29-2007, 07:23 PM
oopsydaisy oopsydaisy is offline
Sage User
 
Join Date: May 2007
Posts: 33
Quote:
Originally Posted by Diginerd View Post
This is pretty easy to fix..

paste the text from Hugo's site in after the last mmc/blahblahblah line in your properties

to place the ip address you need to alter this line from the sample config

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=ENCODERHOST\:6969

to look like this

mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host=127.0.0.1\:6969

Don't forget to go into your network settings an allow the firewall to access port 6969 (Or turn the firewall off if you are on a private network (Which from other lines in your config you look to be) and you have a firewall at the edge of your network between you and the internet.

I'm not too sure if that step is totally neccesary to reach the loopback address (127.0.0.1) so try it without modifying the firewall, but if you get nowhere make the change.

Once we get a few more of us up and doing this then Hugo needs an oscar and a ticker taper parade, as well as we should collectively push this out into the blogshpere as essentially it makes for a HDTV PVR with a free 15 day trial and no reccuring fees on the Mac.

Nothing else comes close!

Now if only there was HDHomerun support too then we'd be cooking on gas!!

One last thing, I suspect your G4 won't be able to play back the HD you record.. Though my MDD 1.25 can just about in VLC but no chance in Sage. Though if you are planning on having HD capable clients you'll be fine.. Placeshifting clients, or to a regular MVP would be too much for the poor G4 to handle)
OK, so I tried the above, but Sage does not see a digital tuner as I believe it's supposed to. I have attached my config.txt as well as my altered sage.properties. I am on a private network and since it didn't work at first, I did set my airport extreme to open port 6969 for the address of my mini. Is that right? Anyway, still no go.
Attached Files
File Type: zip Sage.properties.zip (3.6 KB, 453 views)
File Type: zip config.txt.zip (299 Bytes, 455 views)
Reply With Quote
  #15  
Old 09-29-2007, 08:46 PM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
It could be that the MAC SageTV has other syntax in Sage properties for network encoder than PC SageTV. If you can find any instructions anywhere on how to set up a network encoder as a source to MAC SageTV (such as HD HomeRun etc.) you can apply them to my Firewire Network Encoder and it should work just fine.
Reply With Quote
  #16  
Old 09-30-2007, 04:44 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
I think the problem is that you have too many \ in your section. And you have double mmc/encoders on some lines.

Here's a snippet from a network encoder on my linux server:

Code:
mmc/encoders/-1964508871/99/0/last_channel=
mmc/encoders/-1964508871/99/0/provider_id=0
mmc/encoders/-1964508871/99/0/saturation=-1
mmc/encoders/-1964508871/99/0/sharpness=-1
mmc/encoders/-1964508871/99/0/tuning_mode=
mmc/encoders/-1964508871/99/0/tuning_plugin=
mmc/encoders/-1964508871/99/0/tuning_plugin_port=0
mmc/encoders/-1964508871/99/0/video_crossbar_index=0
mmc/encoders/-1964508871/99/0/video_crossbar_type=99
mmc/encoders/-1964508871/audio_capture_device_index=-1
mmc/encoders/-1964508871/audio_capture_device_name=
mmc/encoders/-1964508871/audio_capture_device_num=0
mmc/encoders/-1964508871/audio_processor=
mmc/encoders/-1964508871/broadcast_standard=ATSC
mmc/encoders/-1964508871/capture_config=53248
mmc/encoders/-1964508871/default_device_quality=Fair
mmc/encoders/-1964508871/device_class=
mmc/encoders/-1964508871/dshow_tv_type=
mmc/encoders/-1964508871/encoder_merit=0
mmc/encoders/-1964508871/encoding_host=192.168.0.253\:6969
mmc/encoders/-1964508871/forced_video_storage_path_prefix=
mmc/encoders/-1964508871/last_cross_index=0
mmc/encoders/-1964508871/last_cross_type=100
mmc/encoders/-1964508871/live_audio_input=
mmc/encoders/-1964508871/multicast_host=
mmc/encoders/-1964508871/never_stop_encoding=false
mmc/encoders/-1964508871/video_capture_device_name=FusionHDTV, WDM Video Capture
mmc/encoders/-1964508871/video_capture_device_num=0
mmc/encoders/-1964508871/video_encoding_params=Fair
mmc/encoders/-1964508871/video_processor=
Here's yours:

Code:
mmc/encoders/12348/100/0/available_channels=mmc/encoders/12348/100/0/brightness\=0 mmc/encoders/12348/100/0/contrast\=0
mmc/encoders/12348/100/0/device_name=mmc/encoders/12348/100/0/encode_digital_tv_as_program_stream\=false
mmc/encoders/12348/100/0/hue=0 mmc/encoders/12348/100/0/last_channel\=737
mmc/encoders/12348/100/0/provider_id=1876569738441 mmc/encoders/12348/100/0/saturation\=0
mmc/encoders/12348/100/0/sharpness=0 mmc/encoders/12348/100/0/tuning_mode\=Cable mmc/encoders/12348/100/0/tuning_plugin\=
mmc/encoders/12348/100/0/tuning_plugin_port=0 mmc/encoders/12348/100/0/video_crossbar_index\=0
mmc/encoders/12348/100/0/video_crossbar_type=100 mmc/encoders/12348/audio_capture_device_index\=-1
mmc/encoders/12348/audio_capture_device_name=mmc/encoders/12348/audio_capture_device_num\=0
mmc/encoders/12348/audio_processor=mmc/encoders/12348/broadcast_standard\=ATSC mmc/encoders/12348/capture_config\=0
mmc/encoders/12348/default_device_quality=mmc/encoders/12348/device_class\= mmc/encoders/12348/dshow_tv_type\=
mmc/encoders/12348/device_class=
mmc/encoders/12348/encoder_merit=0 mmc/encoders/12348/encoding_host\=127.0.0.1\:6969
mmc/encoders/12348/encoding_host=
mmc/encoders/12348/forced_video_storage_path_prefix=mmc/encoders/12348/last_cross_index\=0
mmc/encoders/12348/last_cross_type=100 mmc/encoders/12348/live_audio_input\= mmc/encoders/12348/multicast_host\=
mmc/encoders/12348/never_stop_encoding=false mmc/encoders/12348/video_capture_device_name\=SA4200HD
mmc/encoders/12348/video_capture_device_num=0 mmc/encoders/12348/video_compressor\=
mmc/encoders/12348/video_encoding_params=Best mmc/encoders/12348/video_processor\=
I would change it to:

Code:
mmc/encoders/12348/100/0/available_channels=
mmc/encoders/12348/100/0/brightness=0 
mmc/encoders/12348/100/0/contrast=0
mmc/encoders/12348/100/0/device_name=
mmc/encoders/12348/100/0/encode_digital_tv_as_program_stream=false
mmc/encoders/12348/100/0/hue=0 
mmc/encoders/12348/100/0/last_channel=737
mmc/encoders/12348/100/0/provider_id=1876569738441 
mmc/encoders/12348/100/0/saturation=0
mmc/encoders/12348/100/0/sharpness=0 
mmc/encoders/12348/100/0/tuning_mode=Cable 
mmc/encoders/12348/100/0/tuning_plugin=
mmc/encoders/12348/100/0/tuning_plugin_port=0 
mmc/encoders/12348/100/0/video_crossbar_index=0
mmc/encoders/12348/100/0/video_crossbar_type=100 
mmc/encoders/12348/audio_capture_device_index=-1
mmc/encoders/12348/audio_capture_device_name=
mmc/encoders/12348/audio_capture_device_num=0
mmc/encoders/12348/audio_processor=
mmc/encoders/12348/broadcast_standard=ATSC 
mmc/encoders/12348/capture_config=0
mmc/encoders/12348/default_device_quality=
mmc/encoders/12348/device_class= 
mmc/encoders/12348/dshow_tv_type=
mmc/encoders/12348/device_class=
mmc/encoders/12348/encoder_merit=0 
mmc/encoders/12348/encoding_host=127.0.0.1\:6969
mmc/encoders/12348/encoding_host=
mmc/encoders/12348/forced_video_storage_path_prefix=
mmc/encoders/12348/last_cross_index=0
mmc/encoders/12348/last_cross_type=100 
mmc/encoders/12348/live_audio_input= 
mmc/encoders/12348/multicast_host=
mmc/encoders/12348/never_stop_encoding=false 
mmc/encoders/12348/video_capture_device_name=SA4200HD
mmc/encoders/12348/video_capture_device_num=0 
mmc/encoders/12348/video_compressor=
mmc/encoders/12348/video_encoding_params=Best 
mmc/encoders/12348/video_processor=
Reply With Quote
  #17  
Old 09-30-2007, 09:18 AM
oopsydaisy oopsydaisy is offline
Sage User
 
Join Date: May 2007
Posts: 33
OK, so I did what you said and it was still a no-go. I kept checking out the sage.properties file to see if I was missing something and sure enough, there is an entry for network encoder discovery which was set to false. I decided to start with a clean sage.properties file and then copied the text from guho's site. I then cleaned it up so that each mmc entry was on a separate line as you suggested. Lastly, I changed the network encoder discovery value to true. Great success! High 5! I've just gotten to the point where sage sees the tuner. I haven't actually set it up or recorded anything yet, but since this was such a hurdle for me, I thought it was important to post my steps and what brought success. Thanks for all your help guys. Now, on to some recording. I'll check in in a day or 2 to report.
Reply With Quote
  #18  
Old 09-30-2007, 09:47 AM
oopsydaisy oopsydaisy is offline
Sage User
 
Join Date: May 2007
Posts: 33
OK, so it hasn't been a day or 2, but I've got another question. Is there a way to leave the STB on all the time, or at least to not shut the box off unless I do it manually?
Reply With Quote
  #19  
Old 09-30-2007, 08:18 PM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
Quote:
Originally Posted by oopsydaisy View Post
OK, so it hasn't been a day or 2, but I've got another question. Is there a way to leave the STB on all the time, or at least to not shut the box off unless I do it manually?
You can set the poweroffdelay really high instead of 2 minutes. Perhaps to a day. This is 1000x60x60x24=86400000ms. As long as you have at least one recording happening per day, the box will stay on.
Reply With Quote
  #20  
Old 09-30-2007, 08:31 PM
guho guho is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 151
Quote:
Originally Posted by bcjenkins View Post
I think the problem is that you have too many \ in your section. And you have double mmc/encoders on some lines.
You're right. I just fixed it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommendations on dual tuner for HDTV OTA lmoseley Hardware Support 22 06-03-2007 03:51 PM
Invalid wireless MVP MAC address kminder SageTV Media Extender 2 06-13-2006 09:45 AM


All times are GMT -6. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.