AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Mac Chat › How-To: MacOS X Firewire HDTV recording
New Posts  All Forums:Forum Nav:

How-To: MacOS X Firewire HDTV recording - Page 8

post #211 of 2181
Quote:


Originally posted by Cooknn
Got it. Sorry, I'm an OSX newbie. Still doesn't play though. See screenshot HERE

I appreciate the help, but I have to go. My boys are waiting for me to pick them up to go fishing. I'll be back later this afternoon to hack on this some more.

What is the size of the file?
post #212 of 2181
Quote:


Originally posted by dr1394
Can you compile C source code? If you can, I have a TS demuxer for you.

Absolutely, bring it on.

Jeremy
post #213 of 2181
Cooknn,

Check out this post and the one after it...
http://www.avsforum.com/avs-vb/showt...11#post3648011

It might provide some ideas for getting it to work, maybe. If I understand correctly, copy protection is errantly turned on for the SA boxes.

This post may have info on what firmware your SA box needs for Firewire...
http://www.avsforum.com/avs-vb/showt...97#post3645897

And in the thread, there are instructions on accessing this information from the SA box.
post #214 of 2181
Thread Starter 
Update: The How-To has been updated to note that it is safe to install the SDK on Jaguar or Panther. The important thing here is not to install the separate "prerelease components" on Panther as it will overwrite some files with older versions. See the How-To for more info.
post #215 of 2181
Hello,

I have just added, FWIW, the AppleScripts to integrate VirtualDVHS, AVC Browser and iCal to schedule timeshifting for SA 3250HD users. I don't have this box; so, I don't know if there is a timer function to change to a specific channel at a specific time for a specific duration.

http://mac_hdtv_timer.home.comcast.n...250Scripts.zip

Be sure to familiarize yourself with the main PDF and the two other PDFs at http://mac_hdtv_timer.home.comcast.net for saving the scripts in the right spot and for setting up the programs from the SDK for use with the scripts and iCal.

Good luck with your SA boxes!
post #216 of 2181
Thread Starter 
Quote:


Originally posted by FriarWyer
AVCBrowser can be used to send commands to the panel subunit. Without going in to great detail here, you could try:

00487CE70400xxFFFF,

where xx is the channel number from 0x00 to 0xFF (in hex).

Note that AV/C targets can be fussy with regards to the exact values of operands in an AV/C command (vs. what it is expecting), so if that doesn't work, the device may reject the command, yet still support the tune functionality if a few of the bytes are changed (for example, the reserved bytes FFFF, may need to be 0000). There are other changes that may need to be made to other bytes as well. Since I don't have one of these cool boxes, I cannot experiment for myself, and it would probably require that you have access to the 1394TA spec to know what to tweak from there.

Hi FriarWyer. I just tried the same on my SA 4200HD which as appearently has a subunit panel. Subunit info in AVC browser returns ...
=============== Received AVC Response ===============
response: Implemented/Stable
subUnit: 0xFF
opCode: Sub-Unit Info (0x31)
FCP Response Frame:
0C FF 31 07 28 48 FF FF

If I send the command 00487CE704003DFFFF to change to channel 61 I get the following response yet no channel change.

=============== Sent AVC Command ===============
cType: Control
subUnit: 0x48
opCode: Unknown (0x7C)
FCP Command Frame:
00 48 7C E7 04 00 3D FF FF

=============== Received AVC Response ===============
response: Accepted
subUnit: 0x48
opCode: Unknown (0x7C)
FCP Response Frame:
09 48 7C E7 04 00 3D FF FF

Do you have any suggestions as to what to try to possibly get this to work? Thanks
post #217 of 2181
Thread Starter 
Quote:


Originally posted by EatingPie
Sounds exactly like my experience with the 3250.

And so far, I have not been able to get the Mac to record from the 3250, except when I have the D-VHS between the Mac and the 3250 (see my post on the top of page 6)

http://www.avsforum.com/avs-vb/showt...0&pagenumber=6

I'm sorta flip-flopping back and forth on theories...

(1) The Mitsubishi is not compatible with the box, something I hope Mits will fix, since the 3250 does work with D-VHS.

(2) The transport stream has errant data in it from the 3250. Sometimes, the JVC 30K gives a copy protection error, and downsamples to 480i on the recording and component outs. Turning the JVC and 3250 off, then back on, "fixes" this.

I don't know which it is, but I would suspect 4200 has the same issue.

If you get the Mits to display HD content over firewire from the 4200, PLEASE post what you did!!

-Pie

Some answers... There is a bizarre compatibility issue between the Mits and SA firewire output that SA is now aware of and hopefully going to fix via flash. This results in the firewire output on the SA boxes getting muted when the Mits is connected anywhere in the firewire chain. This sucks for now. Well it's back to the Sony box for now for me.
post #218 of 2181
Quote:


Originally posted by rcliff
Some answers... There is a bizarre compatibility issue between the Mits and SA firewire output that SA is now aware of and hopefully going to fix via flash. This results in the firewire output on the SA boxes getting muted when the Mits is connected anywhere in the firewire chain. This sucks for now. Well it's back to the Sony box for now for me.

Good info!! Can you expound a bit? Any info on what the incompatibility may be?

Also, how did you communicate this info to SA? You may want to tell them that the Firewire stream is not compatible with the JVC 40K D-VHS either... says "Copy Protected Data" on all channels, even though copy protection is definitely off. (This happens on the 30K, but turning the 3250/30K off & on again fixes it.)

-Pie
post #219 of 2181
Thread Starter 
I finally got the SA 4200HD recording HD to the Mac It was a little to tricky to figure out because the SA box has to be power cycled after being connected to the Mits to reactivate the firewire port. As long as the Mits is no where in the chain it will record. The second the Mits is reconnected the recording halts and the STB must be power cycled. I also had no problem playing back the recorded SA content from the Mac to the Mits once the SA box was removed from the chain.
post #220 of 2181
rcliff - do you have a D-VHS deck? If so, can you record to it from the 4200, and then play the recording back over firewire to the Mits?

-Pie
post #221 of 2181
Hello,

I am trying to modify the Make iCal Event AppleScript in Watson to include the Launch and Record, and the Stop and Quit VirtualDVHS AppleScripts. The script is found in the Resources folder of the TV Plug-in package.

Below is the script...

Code:
set theCals to {}
set iCalendars to {}
tell application "iCal"
        set theCals to calendars
        repeat with i from 1 to count of theCals
                set theCal to item i of theCals
                if the writable of theCal then
                        copy title of item i of theCals to end of iCalendars
                end if
        end repeat
        
        -- If you don't have a {calName} calendar, try "Home" -- otherwise, try just the first one.
        if calName is in iCalendars then
                set calTitle to calName
        else
                if "Home" is in iCalendars then
                        set calTitle to "Home"
                else
                        set calTitle to item 1 of iCalendars -- just pick the first one
                end if
        end if
end tell

tell application "iCal"
        set startDate to current date
        --      set time of startDate to 60 * duration -- convert to seconds
        set year of startDate to eventYear
        set month of startDate to eventMonth
        set day of startDate to eventDay
        set time of startDate to eventHour * hours + eventMinute * minutes
        
        set endDate to startDate + duration * minutes
        
        
        
        
        if repeats is true then
                -- convert weekday string like "Friday" into 2-char uppercase code like "FR".  Yuck!
                set char1 to character 1 of (weekday of startDate as string)
                set char2 to (ASCII number character 2 of (weekday of startDate as string)) - 32 -- convert to lowercase
                set weekdayCode to (char1 as string) & (ASCII character char2) as string
                
                -- create a repeating event.  Don't store the description because the episode description will likely be different next week.
                set myevent to make new event at the end of events of (item 1 of (calendars whose title is calTitle)) with properties {start date:startDate, end date:endDate, summary:eventTitle, recurrence:("FREQ=WEEKLY;INTERVAL=1;BYDAY=" & weekdayCode)}
        else
                set myevent to make new event at the end of events of (item 1 of (calendars whose title is calTitle)) with properties {start date:startDate, end date:endDate, description:eventDescription, summary:eventTitle}
        end if
        
end tell
I have been trying to get the scripting right to set the open file alarm with the right filepath with the right trigger interval. The trigger interval for Launch and Record would be -1 and the trigger interval for Stop and Quit would be "duration." I was going to place the "hack" between the lines: "set endDate to startDate + duration * minutes" and "if repeats is true then" (look for the four line gap in the middle for placement). I have been getting errors and I though I would throw this out there for others to try. I can figure this out, eventually, but it will take longer.
post #222 of 2181
Thread Starter 
Quote:


Originally posted by EatingPie
rcliff - do you have a D-VHS deck? If so, can you record to it from the 4200, and then play the recording back over firewire to the Mits?

-Pie

No deck, I hate tape
I would think your 3250 should work the same way as the software is probably the same.
post #223 of 2181
Quote:


Originally posted by rcliff
No deck, I hate tape
I would think your 3250 should work the same way as the software is probably the same.

Tape deserves your hatered!

Well, well, well... I DID get Mac-->Mits to work, but I had to reset the TV (reset button resessed next to power on button -- use paperclip). I'm now betting I can record to the PB directly from the 3250 as long as my Mits ain't in the chain. I'll try that later.

This is SUPER GOOD NEWS for me, since I am now pretty sure I'm getting clean mpeg2 data at this point... don't know why the 30K playback over FW is hosed, so I still have more testing.

Still in cable flopping hell to some extent, but maybe a firewire hub is the ticket. Recommendations?

-Pie
post #224 of 2181
Ok - I got it The report below says "Implemented" now. I rebooted the STB...

=============== Sent AVC Command ===============
cType: Status
subUnit: 0xFF
opCode: Unit Info (0x30)
FCP Command Frame:
01 FF 30 FF FF FF FF FF

=============== Received AVC Response ===============
response: Implemented/Stable
subUnit: 0xFF
opCode: Unit Info (0x30)
FCP Response Frame:
0C FF 30 07 28 12 34 56

Compare-swap to output plug 0 successful. OldVal=0x81008092 NewVal=0x82008092
post #225 of 2181
Thread Starter 
Quote:


Originally posted by Cooknn
Got it. Sorry, I'm an OSX newbie. Still doesn't play though. See screenshot HERE

I appreciate the help, but I have to go. My boys are waiting for me to pick them up to go fishing. I'll be back later this afternoon to hack on this some more.

As Joe said earlier, check the file size of your .m2t file. I would bet it is 0 K and you're not actually recording anything based on your previous messages. Virtual DVHS will create an .m2t file when you hit record regardless if there is any content. You need to check the bitrate after you start recording to see if any information is actually being passed.
post #226 of 2181
You ROCK! Thank you :P

Quote:


Originally posted by jsb_hburg
Hello,

I have just added, FWIW, the AppleScripts to integrate VirtualDVHS, AVC Browser and iCal to schedule timeshifting for SA 3250HD users. I don't have this box; so, I don't know if there is a timer function to change to a specific channel at a specific time for a specific duration.
post #227 of 2181
Quote:


Originally posted by rcliff
As Joe said earlier, check the file size of your .m2t file.

Everythings cool now. HUGE file sizes BTW. Good thing I have a 140GB HD
post #228 of 2181
Thread Starter 
Quote:


Originally posted by EatingPie
Still in cable flopping hell to some extent, but maybe a firewire hub is the ticket. Recommendations?

Why not just use a firewire hard drive enclosure as a bridge. It can serve as a convenient place to swap cables and your recording destination.
post #229 of 2181
Thread Starter 
Quote:


Originally posted by Cooknn
HUGE file sizes BTW. Good thing I have a 140GB HD

Your 140GB HD is going to get small really quickly
post #230 of 2181
Does any of this explain why I can record the firewire output of a SA3250HD on a JVC 30k, but I cannot record any firewire output from the SA3250HD with a JVC 40k? The 40K sees all streams as copy protected. If I take a tape recorded with the JVC 30k and put it in the 40k it treats it as copy protected as well.

I can record KPBS HDTV from my antenna with the JVC 40k, but when I try and record the same exact channel/program out of the SA3250HD, the 40k claims it's copy protected.

Does any of this thread explain why the stream might look good to the JVC30k, but be rejected by the JVC 40k?
post #231 of 2181
uzun... no, I can't figure out what might be the issue. I was betting a bad stream on the Mac not being able to playback to my Mits. Now that the Mits DOES playback a stream recorded to my Mac, I am at a loss. (Good news in some respects, bad news in others.)

Best guess -- and based on rcliff's info -- still seems that something IS hosed in the 3250's Firewire implementation at this point. So I am thinking that's the problem for your 40K and my Mits (and my 30K to some extent). But, all guesswork on my part.

Have you tried disconnecting *everything* except the 3250 and the 40K? You should be able to run component from the 40K to the TV, and it will give you the copy protection error on-screen so you don't have to record to see it (my 30K downsamples the component out to 480i, so there's another visual cue!).

Your discovery about turning the 30K and 3250 off to eliminate the copy protection error worked for me (I think it's the order you turn them back on)... surprised it doesn't work on the 40K.

-Pie
post #232 of 2181
Quote:


Originally posted by Cooknn
Everythings cool now. HUGE file sizes BTW. Good thing I have a 140GB HD

This is good news!

As a result, I have copied the SA 3250HD scripts to the main zip file at this website.
post #233 of 2181
Quote:


Originally posted by Cooknn
Ok - I got it Check out the Screenshot! and the report below says "Implemented" now. I rebooted the STB...

=============== Sent AVC Command ===============
cType: Status
subUnit: 0xFF
opCode: Unit Info (0x30)
FCP Command Frame:
01 FF 30 FF FF FF FF FF

=============== Received AVC Response ===============
response: Implemented/Stable
subUnit: 0xFF
opCode: Unit Info (0x30)
FCP Response Frame:
0C FF 30 07 28 12 34 56

Compare-swap to output plug 0 successful. OldVal=0x81008092 NewVal=0x82008092


Did you keep the 3250 connected to the Mac when you rebooted?
post #234 of 2181
Thread Starter 
Quote:


Originally posted by jsb_hburg
This is good news!

As a result, I have copied the SA 3250HD scripts to the main zip file at this website.

Joe, how do the scripts vary for each STB? I assume the 3250 scripts will work with the SA4200.
post #235 of 2181
Quote:


Originally posted by jsb_hburg
Did you keep the 3250 connected to the Mac when you rebooted?

Yes.
post #236 of 2181
Hello,

I have just added, FWIW, the AppleScripts to integrate VirtualDVHS, AVC Browser and iCal to schedule timeshifting for SA 4200HD users. I don't have this box; so, I don't know if there is a timer function to change to a specific channel at a specific time for a specific duration.

http://mac_hdtv_timer.home.comcast.n...200Scripts.zip

Be sure to familiarize yourself with the main PDF and the two other PDFs at http://mac_hdtv_timer.home.comcast.net for saving the scripts in the right spot and for setting up the programs from the SDK for use with the scripts and iCal.

Good luck with your SA boxes!
post #237 of 2181
Umm, in all my excitement I neglected to consider one crucial problem - I have NO Audio LOL, you'd think I would have noticed, but my boys were so into the air show that I was recording my Bose speakers were cranked and I didn't even notice. Also of note, my system sounds don't work anymore after attempting to play a recorded video in VLC. Does anyone have any insight into this problem?

One GREAT thing is that I seem to be able to play back the Hi-Def content Full Screen with no loss of frame rate. The initial screen (Normal Size) drops frames big time, but if I choose Fullscreen it's a beautiful thing. That Key Digital VGA to Component may be all I need - If I can get audio

BTW - the scripts work GREAT Joe! The reminder that you can set with my remote doesn't change the channel though...
post #238 of 2181
Quote:


Hi FriarWyer. I just tried the same on my SA 4200HD which as appearently has a subunit panel. Subunit info in AVC browser returns ...
=============== Received AVC Response ===============
response: Implemented/Stable
subUnit: 0xFF
opCode: Sub-Unit Info (0x31)
FCP Response Frame:
0C FF 31 07 28 48 FF FF

If I send the command 00487CE704003DFFFF to change to channel 61 I get the following response yet no channel change.

=============== Sent AVC Command ===============
cType: Control
subUnit: 0x48
opCode: Unknown (0x7C)
FCP Command Frame:
00 48 7C E7 04 00 3D FF FF

=============== Received AVC Response ===============
response: Accepted
subUnit: 0x48
opCode: Unknown (0x7C)
FCP Response Frame:
09 48 7C E7 04 00 3D FF FF

Do you have any suggestions as to what to try to possibly get this to work? Thanks

It's interesting that it didn't do anything, yet it accepted the command. Note that the MSB of the 4th byte is the pressed/released flag. 0xE7 is actually the operation_id of 0x67, with the state of pressed. You can try just sending 0x67 for that byte (state of released). Or try two commands: press state, then release state.
post #239 of 2181
Thread Starter 
Quote:


Originally posted by FriarWyer
It's interesting that it didn't do anything, yet it accepted the command. Note that the MSB of the 4th byte is the pressed/released flag. 0xE7 is actually the operation_id of 0x67, with the state of pressed. You can try just sending 0x67 for that byte (state of released). Or try two commands: press state, then release state.

Well that did something.
If I send 00487CE704003DFFFF followed by 00487C6704003DFFFF the box then changes from the clock and shows the current channel then "-00" then flashes "0" five times before returning to the original channel. No channel change but something is happening.
post #240 of 2181
Quote:


Originally posted by rcliff
Well that did something.
If I send 00487CE704003DFFFF followed by 00487C6704003DFFFF the box then changes from the clock and shows the current channel then "-00" then flashes "0" five times before returning to the original channel. No channel change but something is happening.

FWIW it does the same thing on my SA3250HD...
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: HTPC - Mac Chat
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Mac Chat › How-To: MacOS X Firewire HDTV recording