or Connect
AVS › AVS Forum › Industry Area › Firewire 1394 Trade Association Q&A › Record and playback via IEEE 1394 (a.k.a. Firewire) with linux!
New Posts  All Forums:Forum Nav:

Record and playback via IEEE 1394 (a.k.a. Firewire) with linux! - Page 2

post #31 of 58
This surprises you somehow?
post #32 of 58
Quote:
Originally Posted by v1rtu0s1ty View Post

I tried this guys and I can only record and watch local high def channels such as NBC-5, CBS, FOX, WGN, etc.

I tried recording a 5c content channel, and YES, file size wasn't zero but mplayer DID NOT understand the file, neither VLC can play it too.

5 Companies (Hitachi, Intel, Matsushita, Sony, and Toshiba) developed 1394 copy protection scheme- therefore its called 5C. (trivia information)

I am not an expert, and could be wrong, but-

Basically it comes down to this- there is no way on firewire that you will be able to record content that is "5c'd" (at least not on a non-5c compliant device such as your pc). It's encrypted- and unless you get a super-secret decoder ring from the Digital Transmission Licensing Administrator (DTLA) authority (the 5C group)- your are just recording garbage bits.

For now, the 'local' channels are not using 5c (at least over-the-air ones for sure, cable companies seem to do whatever they want). If the fcc decides that locals can 5c, then I'm guessing recording over firewire will be history for the pc. Your only option will be a tuner card- which are currently not required to be 5c compliant.

Hang on to your vcr. In the new digital age of tv, it may end up being the only way to record digital tv (that was a joke)
post #33 of 58
I was aware about 5C. I just tested because the thread was interesting.
post #34 of 58
Quote:
Originally Posted by v1rtu0s1ty View Post

I was aware about 5C. I just tested because the thread was interesting.

Then you were hoping a secret wormhole was discovered that would bypass the 5c stuff

Anyway, you got further than I did.
post #35 of 58
I am trying this setup but I get this message when running setrom:
couldn't get handle: No such device or address
This probably means that you don't have raw1394 support in the kernel or that you haven't loaded the raw1394 module.

Any idea what is causing this?
I run rpm -qa '*1394*' and it looks like the modules are there:
libraw1394-devel-1.2.1-1.fc5
libavc1394-devel-0.5.1-2.2
libavc1394-0.5.1-2.2
libraw1394-1.2.1-1.fc5

Any ideas where I am going wrong?
post #36 of 58
Thread Starter 
Quote:
Originally Posted by Dunnp View Post

I am trying this setup but I get this message when running setrom:
couldn't get handle: No such device or address
This probably means that you don't have raw1394 support in the kernel or that you haven't loaded the raw1394 module.

Any idea what is causing this?
I run rpm -qa '*1394*' and it looks like the modules are there:
libraw1394-devel-1.2.1-1.fc5
libavc1394-devel-0.5.1-2.2
libavc1394-0.5.1-2.2
libraw1394-1.2.1-1.fc5

Any ideas where I am going wrong?

Have a look at this.
http://www.linux1394.org/start_install.php
post #37 of 58
Last I checked lunix was on kernel 2.6.something, that document talks about 2.2, talk about relevant documentation lol
post #38 of 58
Thread Starter 
I had some time over the holidays to make additions to avc_hdtv
The files are attached to the first post. avc_hdtv_record changes include. No need to find your source device node or channel, using plugreport. Edited dvcont to send "record" and "stop" commands to avc_hdtv_record, it is now possible to schedule a recording using a script to run dvcont. avc_hdtv_record saves the recorded stream to file named with the date you started to record.
as in Feb_12_2007_09_30_16.
post #39 of 58
So what's the deal with this? Denbo_33 says this will record 5c Copy Once. Is he correct? He says he got it to work. while v1rtu0s1ty says it doesn't work. Is there an official word on this? Does it only work with Samsung TVs? I do not have a Sumasung TV, just a Motorola 6200 STB.
post #40 of 58
The official word is it doesn't work, so you can save yourself the trouble of installing lunix.
post #41 of 58
Quote:
Originally Posted by timecop View Post

The official word is it doesn't work, so you can save yourself the trouble of installing lunix.


First, Timecop sounds like a hater and isn't really contributing to solving the issue here. He seemed skeptical and has been mildly antagonistic in many of his posts. Obviously, Timecop, you don't seem to really care about this, so why are you posting here?

Second, where is this "official word"? That's what is being asked for here. Please post the "official word", no matter what authority it comes from. We'll judge for ourselves on the validity of the source.

Thanks

TREVOR

P.S. Once the signal is output from a video card, it will work on whatever Display hardware is being used, assuming the output format (ie. 720p,1080i) is supported by that display. Brand does not matter.
post #42 of 58
Hello, PC is not a 5C compliant device, regardless of what OS it runs, unless its Windows Vista with some non-existent protected 1394 card and DRM'd up driver/recording software. You are not recording copy-once content to PC unless you have a non-compliant source, which is highly unlikely.
post #43 of 58
Thanks, timecop, that's what I figured. I was wondering if there was just some glitch that was discovered. I spoke to Denbo_33 and he confirmed what you said.
post #44 of 58
Quote:
Originally Posted by jvandrew View Post

Thanks, timecop, that's what I figured. I was wondering if there was just some glitch that was discovered. I spoke to Denbo_33 and he confirmed what you said.


Exactly as Timecop and I stated 4 months ago:

Quote:
Originally Posted by HDTVFanAtic View Post

Huh? Linux is not going to decrypt 5c copy once content. What is that guy smoking?
post #45 of 58
lol, ya rly.
but maybe he wanted an 'official' word.
post #46 of 58
Glad to see there are some Linux people on these boards. I'm planning on setting up a MythTV box for my new HDTV setup in my mancave. A couple questions.Do you think a 2.4 ghz Intel Celeron is enough horse power for HDTV playback? I've done MythTV using SD Hauppauge capture cards in the past. I'm thinking of using my old workstation. Also if you can record 5c with a capture card which HD card do you recommend? Air2PC or HD5000? FYI, I'm a cable tv subscriber.
Thanks
post #47 of 58
If you were using windows, you'd be fine with a 1ghz cpu and a nvidia card with purevideo support, which would offload most HD decoding. With lunix, you better get the fastest/hottest chips.

Re 5C, obviously not.
post #48 of 58
Hello, that is a great job.

I tried to record & playback with my PC and D-VHS deck. Record succeeded and playback failed. If you have some time, could you please give any information about the results below?

OS: Debian Sarge
Kernel: 2.4.27-2-386
D-VHS: JVC HM-DHX1 (Japanese type)

I followed your steps, run "avc_vcr_hdtv" and connect a firewire cable. "avc_vcr" was listed in D_VHS deck at the point.
Then the following texts are repeated in the terminal.

####### START
AvcTarget:: Command_handler::
opcode = 0f
status = 01
subunit_type = 1f
subunit_id = 07 operand[ 0 ] = 00
operand[ 1 ] = ff
operand[ 2 ] = ff
operand[ 3 ] = ff
operand[ 4 ] = ff
operand[ 5 ] = ff
operand[ 6 ] = ff
operand[ 7 ] = ff
operand[ 8 ] = ff
unit status command 0x0f not supported
####### END

Then I run "romtest" and got the following outputs.

####### START
Librom1394 Test Report
=================================================

Node 0:
-------------------------------------------------
bus info block length = 4
bus id = 0x31333934
bus options:
isochronous resource manager capable: 1
cycle master capable : 1
isochronous capable : 1
bus manager capable : 0
cycle master clock accuracy : 0 ppm
maximum asynchronous record size : 2048 bytes
GUID: 0x00110600bb004992
directory:
node capabilities : 0x000083c0
vendor id : 0x00004063
unit spec id : 0x0000a02d
unit software version: 0x00010001
model id : 0x00010061
textual leaves : Kino Rocks! avc_vcr

Node 1:
-------------------------------------------------
bus info block length = 4
bus id = 0x31333934
bus options:
isochronous resource manager capable: 1
cycle master capable : 1
isochronous capable : 1
bus manager capable : 0
cycle master clock accuracy : 100 ppm
maximum asynchronous record size : 256 bytes
GUID: 0x0080880103000d26
directory:
node capabilities : 0x000083c0
vendor id : 0x00008088
unit spec id : 0x0000a02d
unit software version: 0x00010001
model id : 0x00010060
textual leaves : VICTOR HM-DHX1 HM-DHX1
####### END

Then I run "plugreport" and got outputs below.

####### START
Host Adapter 0
==============

Node 0 GUID 0x00110600bb004992
------------------------------
oMPR n_plugs=1, data_rate=0, bcast_channel=0
oPCR[0] online=1, bcast_connection=0, n_p2p_connections=1
channel=32, data_rate=1, overhead_id=15, payload=146
iMPR n_plugs=1, data_rate=0
iPCR[0] online=1, bcast_connection=0, n_p2p_connections=0
channel=0

Node 1 GUID 0x0080880103000d26
------------------------------
oMPR n_plugs=1, data_rate=1, bcast_channel=63
oPCR[0] online=0, bcast_connection=0, n_p2p_connections=0
channel=63, data_rate=1, overhead_id=0, payload=146
iMPR n_plugs=2, data_rate=1
iPCR[0] online=0, bcast_connection=0, n_p2p_connections=0
channel=63
iPCR[1] online=1, bcast_connection=0, n_p2p_connections=1
channel=32
####### END


Then I run "test-mpeg2 -r 1 > XXX(file name)" and got a file. The file was playbacked correctly in Totem Movie player in KDE.

Then I run "test-mpeg2 -t 1 -c 32 XXX(file name)" and got outputs below.

####### START
couldn't find a PCR within 20000 packets; giving up
(try reducing PCR_SMOOTH_INTERVAL or increase MAX_PCR_LOOKAHEAD
couldn't find a PCR within 20000 packets; giving up
(try reducing PCR_SMOOTH_INTERVAL or increase MAX_PCR_LOOKAHEAD
Starting to transmit
####### END

Nothing was shown in D-VHS deck.
post #49 of 58
Thank you for this. It works great on Ubuntu Feisty. Here's my notes if they may help anyone else. This is just what works for me, and this is really the only way it works. Playback is fine with mplayer. I think my DVR only lets you record shows that were already recorded on the DVR, so I can just archive my recordings at best, and generally at lower res (1080i turns into 720p?) I had the same results on Windows.

sudo ./setrom
#plug it in (only works on the 1394 port closest to component outputs)
#..romtest should show the actual device on the SECOND node.
sudo ./avc_vcr_hdtv (then quit it)
sudo ./test-mpeg2 -t 0 -r 1 > file (try a couple times till file len>0)

libiec61883 warning: Established connection on channel 0.
You may need to manually set the channel on the receiving node.
Starting to receive

sudo ./romtest

Librom1394 Test Report
=================================================

Node 0:
-------------------------------------------------
bus info block length = 4
bus id = 0x31333934
bus options:
isochronous resource manager capable: 1
cycle master capable : 1
isochronous capable : 1
bus manager capable : 0
cycle master clock accuracy : 100 ppm
maximum asynchronous record size : 2048 bytes
GUID: 0x00004c0107007114
directory:
node capabilities : 0x000083c0
vendor id : 0x0000004c
unit spec id : 0x0000a02d
unit software version: 0x00010001
model id : 0x00000000
textual leaves : Kino Rocks! avc_vcr avc_vcr

Node 1:
-------------------------------------------------
bus info block length = 4
bus id = 0x31333934
bus options:
isochronous resource manager capable: 1
cycle master capable : 1
isochronous capable : 1
bus manager capable : 0
cycle master clock accuracy : 50 ppm
maximum asynchronous record size : 512 bytes
GUID: 0x00159afffe1c92d1
directory:
node capabilities : 0x000083c0
vendor id : 0x0000159a
unit spec id : 0x00005068
unit software version: 0x00010101
model id : 0x000034cb
textual leaves : MOTOROLA DCT-3412 DCT-3412

sudo plugreport


Node 0 GUID 0x00004c0107007114
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR

Node 1 GUID 0x00159afffe1c92d1
------------------------------
oMPR n_plugs=1, data_rate=2, bcast_channel=63
oPCR[0] online=1, bcast_connection=0, n_p2p_connections=0
channel=0, data_rate=2, overhead_id=0, payload=376
iMPR n_plugs=0, data_rate=2

Host Adapter 1
==============

Node 0 GUID 0x00023c01510b0abb
------------------------------
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR



-- removal

[terminate avc]
[unhook]
sudo rmmod dv1394
sudo rmmod ohci1394
sudo rmmod raw1394
sudo rmmod ieee1394

-- loading

sudo modprobe raw1394
sudo modprobe ohci1394
continue steps at top of page (sudo ./setrom, etc)
post #50 of 58
I have read through this thread and while it has been somewhat helpful, I still have not been able to produce a meaningful result. I have a MythTV system and a number of transport streams on disk. I have the HTPC hooked to a Mitsubishi D-VHS deck. I need at least to be able to move MPEG streams from the hard disk to the D-VHS deck AND back. I have failed miserably at this. Can anyone point me in the right direction to get this done. My eventual goal is to write scripts to easily archive HD material (primarily from PBS, so no 5C issues) to and from D-VHS tape. This IS the reason for the existence of 1394 AVC, right? I don't understand why it seems to be so difficult to accomplish this "simple" task.

Thanks in advance,
Gary Walborn
gwalborn@gmail.com
post #51 of 58
Thread Starter 
Quote:
Originally Posted by gwalborn View Post

I have read through this thread and while it has been somewhat helpful, I still have not been able to produce a meaningful result. I have a MythTV system and a number of transport streams on disk. I have the HTPC hooked to a Mitsubishi D-VHS deck. I need at least to be able to move MPEG streams from the hard disk to the D-VHS deck AND back. I have failed miserably at this. Can anyone point me in the right direction to get this done. My eventual goal is to write scripts to easily archive HD material (primarily from PBS, so no 5C issues) to and from D-VHS tape. This IS the reason for the existence of 1394 AVC, right? I don't understand why it seems to be so difficult to accomplish this "simple" task.

Thanks in advance,
Gary Walborn
gwalborn@gmail.com

Please define meaningful result. A capture or playback problem? I too have a Mitsubishi D-VHS HD-2000, and can capture with zero problems.
post #52 of 58
Denbo_33,

I can playback and capture FROM the D-VHS deck just fine. What I have been unable to do is to transfer a file FROM the PC TO the D-VHS deck. I can put the deck into record mode and initiate a transfer with test-mpeg2, but the deck gives an 'error' message. When using a STB, I see the same error message if I press 'Record' when there is no signal present (i.e., no data), so it appears that the deck is not seeing the data from the PC.

If you have the deck, you probably know that there is a firewire setup screen where you can pick your tuner. Of course, with the PC, there is nothing listed on that screen. Is it possible that the deck requires some sort of "pairing" to record? I'm sure this must be possible. I've seen packages for Windows that perform this task (although I've never used them). I see you've had a lot more experience with this than I have and any suggestions would be appreciated.

Thanks again,

Gary Walborn
gwalborn@gmail.com
post #53 of 58
Darn, I think I'm 2-3 years too late to this party!

I've been trying to get the sources to build, but I'm having problems building them. I'm pretty inexperienced with building in Linux. I haven't completely reverted back to the specific build of Redhat FC5.

Has anyone tried this recently with Ubuntu 8.10, or Fedora 10?

I'm trying to replace an old Mac G4 I have (which is making very strange noises right now), and wanted convert an old PC and get some Linux distro working to do ieee1394 captures.

Help would be greatly appreciated.

Thanks,
SLam
post #54 of 58
Thread Starter 
Quote:
Originally Posted by Slam_to View Post

Darn, I think I'm 2-3 years too late to this party!

I've been trying to get the sources to build, but I'm having problems building them. I'm pretty inexperienced with building in Linux. I haven't completely reverted back to the specific build of Redhat FC5.

Has anyone tried this recently with Ubuntu 8.10, or Fedora 10?

I'm trying to replace an old Mac G4 I have (which is making very strange noises right now), and wanted convert an old PC and get some Linux distro working to do ieee1394 captures.

Help would be greatly appreciated.

Thanks,
SLam

You are correct (2-3 years late) you will need FC5 or the kernel and old rev's lib;s as stated on page one to get this to work. FC10 has the new a improved (?) ieee1394
device driver called firewire, I am working on getting this to work with the new 1394 drivers but that is slow going, in the mean time check out mythtv .
post #55 of 58
Thread Starter 
Quote:
Originally Posted by Slam_to View Post

Darn, I think I'm 2-3 years too late to this party!

I've been trying to get the sources to build, but I'm having problems building them. I'm pretty inexperienced with building in Linux. I haven't completely reverted back to the specific build of Redhat FC5.

Has anyone tried this recently with Ubuntu 8.10, or Fedora 10?

I'm trying to replace an old Mac G4 I have (which is making very strange noises right now), and wanted convert an old PC and get some Linux distro working to do ieee1394 captures.

Help would be greatly appreciated.

Thanks,
SLam



I have this working with Fedora core 10. I can record from my Mitsubishi HD2000U DVHS. Let me know if you are still interested and I'll send you the files.
post #56 of 58
Thread Starter 
I had some time this week to test 1394 capture using a Dell D600 notebook (with FC 10 ) from a Comcast SA 3250HD STB. Awesome! I verified capture files using my Samsung DLP HLR HDTV which has a 1394 interface. AWESOME! Smooth playback. Also verified capture with my Vista machine using windoz media player, as the D600 doe have the horse power. Again AWESOME smooth playback With the same hardware (D600 3250hd) with Windozs XP and the drivers and setup from AVS Forum thread How to record via IEEE 1394 (Firewire) to Windows XP never worked for me. CAPDVHS would capture for a couple of seconds then CRASH.
The new code still emulates a AVC DVCR device, finds the correct source device (325HD) and captures without any need to find the correct node, channel and or port and file. I might start a new AVS thread soon to describe the setup.
post #57 of 58
Thread Starter 
post #58 of 58
This is cool! I found another one on tucows.com It is the same thing as found on the redbuttonsoftware page. I have not tried both to see what the difference is, but this redbutton software is pretty large. Over a Gig. I guess it does some additional stuff. It has an electronic program guide and lets you schedule several recording sessions
New Posts  All Forums:Forum Nav:
  Return Home
AVS › AVS Forum › Industry Area › Firewire 1394 Trade Association Q&A › Record and playback via IEEE 1394 (a.k.a. Firewire) with linux!