[mythtv-users] /dev/video0 doesn't exist?

Robin Gilks g8ecj at gilks.org
Wed Jul 11 04:26:37 UTC 2007


>
> I was met one problem about "dev/video0 doesn't exist" when returning back
> from mythtv-setup process.
> However this /dev/video0 does exist in my current system, and when I used
> the the following two commands to test for video0, I could got the saved
> test_captured.mpg when using command (2), but could not got live capture
> video when using the first command (1).
> (1)#cat /dev/video0 > /tmp/test_capture.mpg    //
> (1)#mplayer -vo xv /tmp/test_capture.mpg
> Moreover, I could not watch TV via mythtv.
>
> my current user in this fedora system is mythtv.
>
> Hope to get your help, and any suggestion would be welcome!

I think you need to start with a very basic Linux/Unix primer to learn
some basic commands and something of how the *nix device and filesystems
work.

The 'cat' command in the first line above is not expected to display
anything - the command 'concatenates' the contents of the device file (in
this case /dev/video0) into the ordinary disk file in the current
directory (in this case ./test_capture.mpg). No display, no sound, no
tuning, nothing other than basically copying the stream of data from the
tuner device.

The 'mplayer' command then does all the clever stuff of displaying the
mpeg file you have just created - thats what mplayer does!! - its a video
player.

When you feel more comfortable with using *nix systems and what some of
the basic commands do (for example listing the files in a directory to see
what the ownership and permissions are on them), then I think the error
messages you see from mythtv will make more sense and you will be able to
solve the problems yourself.

--
Robin Gilks



More information about the mythtv-users mailing list