<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Nick wrote:
<blockquote cite="mid5387cd30601260358w4bf53f69o@mail.gmail.com"
type="cite">
<pre wrap="">On 25/01/06, Roger Hanson <a class="moz-txt-link-rfc2396E" href="mailto:roger@rogerhanson.com"><roger@rogerhanson.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Michael T. Dean wrote:
On 01/25/2006 11:06 AM, David Watkins wrote:
I suggest looking to see what other /dev/video devices exist on your
system, and trying them in place of /dev/video0. I think one of the
setup pages of mythtvsetup shows you which input is on which device.
I'm afraid I don't know enough of the theory to suggest a more
scientific approach.
video0 is the MPEG-2 video from whichever input the card is set to use.
You don't change inputs by changing video devices, you change with
"ivtvctl -p" so see "ivtvctl --help"
Mike
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
Thanks - made progress, but the recording was in black and white, not color
like the original.....weird.
I did a ivtvctl -p=4
I used dd if=/dev/video0 of=/myth/tv/myfile.mpg bs=64k
I got black/white output (was recorded in color)
ivtvctl -p=6
I used dd if=/dev/video0 of=/myth/tv/myfile.mpg bs=64k
I got black/white output (was recorded in color)
Did I do something wrong?
</pre>
</blockquote>
<pre wrap=""><!---->
Which input did you setup for Myth to use? This is the one you should
be trying from the command line. Running 'ivtvctl -a' will give a list
of all the inputs/outputs the ivtv driver can access on your card. You
need to match the text from mythtvsetup (i.e. S-Video 0) to the input
id per ivtvctl. You then need to change to this using 'ivtvctl -p x'
where x is the id of the input.
</pre>
<blockquote type="cite">
<pre wrap=""> mythtv@pvr:~$ dd if=/dev/video4 of=/myth/tv/myfile.mpg bs=64k
dd: opening `/dev/video4': No such device
mythtv@pvr:~$ dd if=/dev/video6 of=/myth/tv/myfile.mpg bs=64k
dd: opening `/dev/video6': No such device
mythtv@pvr:~$ su
Password:
root@pvr:/home/mythtv# dd if=/dev/video6 of=/myth/tv/myfile.mpg bs=64k
dd: opening `/dev/video6': No such device
root@pvr:/home/mythtv# dd if=/dev/video4 of=/myth/tv/myfile.mpg bs=64k
dd: opening `/dev/video4': No such device
root@pvr:/home/mythtv# dd if=/dev/video2 of=/myth/tv/myfile.mpg bs=64k
dd: opening `/dev/video2': No such device
root@pvr:/home/mythtv#
</pre>
</blockquote>
<pre wrap=""><!---->
As Mike stated earlier, you _always_ use /dev/video0 (if you have a
single card) when trying to capture MPEG-2 video from the PVR-350
(hence the barrage of error messages).
You first need to select one of the available inputs (i.e. tuner,
Composite, S-Video) using 'ivtvctl -p x' which, when selected, are
"patched" to video0. When using MythTV, all of this input switching is
transparent to the user, but on the command line it is needed.
For example, to switch to the input "Composite 2" (id 2) you would use
# ivtvctl -p 2
To then capture from this input, you would use
dd if=/dev/video0 of=/myth/tv/myfile.mpg bs=64k
Check which input you specified in mythtvsetup and then try to capture
video from /dev/video0 after having switched to this input. You
_should_ get the same results as you saw in MythTV.
Black and white video when you were expecting colour is almost always
(on the PVR cards) due to either selecting the wrong type of input
(S-Video instead of Composite) or using a cable that does not support
S-Video. Finally, ensure that the ivtv driver is autodetecting you
tuner type and correctly setting the video format (you can manually
set this using ivtvctl too).
Nick
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
Thanks - that's exactly what I was doing wrong, I was selecting the
source number and then expecting to switch to something other than
video0 as well - sort of double switching? That makes sense now that I
will always record off /dev/video0 instead of other sources (unless I
get another tuner card...)<br>
<br>
Anyway, I'm recording in color now. <br>
<br>
Thanks.<br>
</body>
</html>