Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th February 2009, 03:07 AM
gregk Offline
Registered User
 
Join Date: Jan 2009
Posts: 19
MythTV Watch TV not working

I'm running Fedora 10 on a system with a PVR-150.
Code:
[greg@bravado mythtv]$ lspci | grep video
05:02.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev
Code:
[greg@bravado mythtv]$ lsmod | grep ivtv
ivtv                  140848  0
i2c_algo_bit            5764  1 ivtv
cx2341x                11140  1 ivtv
v4l2_common            14752  5 wm8775,tuner,cx25840,ivtv,cx2341x
videodev               38488  5 wm8775,tuner,cx25840,ivtv,v4l2_common
tveeprom               13316  1 ivtv
i2c_core               21688  10 tuner_simple,nvidia,wm8775,tuner,cx25840,ivtv,i2c_algo_bit,v4l2_common,tveeprom,i2c_i801
Code:
[greg@bravado mythtv]$ uname -a
Linux bravado 2.6.29-0.53.rc2.git1.gregs_kernel.fc10.x86_64 #1 SMP Tue Jan 27 12:00:17 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Anyhow, I set-up the mysql database, did the mythtv-setup, started the backend, ran mythfilldatabase, and ran the frontend set-up. Everything works fine but when I hit watchtv the screen just goes black for a while then goes back to the menu.

This is whats in mythbackend.log:
Code:
2009-02-06 22:03:07.849 MainServer::HandleAnnounce Monitor
2009-02-06 22:03:07.850 adding: bravado as a client (events: 0)
2009-02-06 22:03:07.851 MainServer::HandleAnnounce Monitor
2009-02-06 22:03:07.852 adding: bravado as a client (events: 1)
2009-02-06 22:03:07.863 MainServer::HandleAnnounce Playback
2009-02-06 22:03:07.864 adding: bravado as a client (events: 0)
2009-02-06 22:03:07.866 TVRec(1): Changing from None to WatchingLiveTV
2009-02-06 22:03:07.869 TVRec(1): HW Tuner: 1->1
2009-02-06 22:03:08.978 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2009-02-06 22:03:08.983 MPEGRec(/dev/video0) Warning: Audio sample rate 32000 Hz
is not supported by ivtv driver, using 48000 Hz instead.
Frontend says:
Quote:
2009-02-06 22:08:24.883 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2009-02-06 22:08:24.884 Using protocol version 40
2009-02-06 22:08:24.890 TV: Attempting to change from None to WatchingLiveTV
2009-02-06 22:08:24.890 Using protocol version 40
2009-02-06 22:08:32.496 RingBuf(/video/1004_20090206220824.mpg): Invalid file (fd -1) when opening '/video/1004_20090206220824.mpg'.
2009-02-06 22:08:32.500 DPMS Deactivated
2009-02-06 22:08:32.506 New DB connection, total: 3
2009-02-06 22:08:32.507 Connected to database 'mythconverg' at host: 127.0.0.1
2009-02-06 22:08:32.516 NVP::OpenFile(): Error, file not found: /video/1004_20090206220824.mpg
2009-02-06 22:08:32.516 TV Error: StartPlayer(): NVP is not playing after 20000 msec
2009-02-06 22:08:39.517 MythSocket(204e870:57): readStringList: Error, timeout (quick).
2009-02-06 22:08:39.517 RemoteEncoder::SendReceiveStringList(): No response.
2009-02-06 22:08:39.519 TV Error: LiveTV not successfully started
2009-02-06 22:08:39.611 DPMS Reactivated.
Any help is appreciated.
Reply With Quote
  #2  
Old 7th February 2009, 02:50 PM
SuperNu's Avatar
SuperNu Offline
Registered User
 
Join Date: Mar 2004
Posts: 617
There are a few things you can do to make sure Myth TV is working for you. The first is to make sure your pvr-150 is working properly. If you know your card is working properly, you can skip down a couple of paragraphs.

From the command line, run "rpm -qa | grep ivtv" without the quotes. I have two packages installed, ivtv-utils-1.3.0-1.fc10.i386 and ivtv-firmware-20080701-18.noarch. if these packages are not installed, install them through yum and reboot.

The next step to verify /dev/video0 was created. From the command line, run ls /dev/video0. If you don't get a message stating ls cannot access /dev/video0, then you are good.

Next is to make sure mplayer is installed for testing. Run "rpm -q mplayer" from the command line without the quotes to check. If mplayer is not installed, install it. I am using mplayer from rpm fusion.

Next, run "ivtv-tune -c XXX" from the command line without the quotes. Change XXX to a valid tv station in your area. Once that is done, run "mplayer /dev/video0" from the command line without the quotes to verify your card is working. If you can watch tv, then your card works.

Now, looking at your output you provided, it looks like Myth TV might not be configured properly. When you run live tv, Myth TV actually plays back a recording from your hard disk and not directly from your tv tuner. It appears that the /video directory might not exist or you might not have permissions on that folder. From the command line, run "ls -lh /video" without the quotes to see the permissions. If the directory does not exist or the permissions are wrong, you will need to change them. From the command line, run "mkdir /video" to create the video directory or run "chmod 777" (without the quotes) to change the video directory permissions to allow all users read/write/execute permissions. You might need root permissions to run either command. Once this is done, try to run Myth TV again and see if you can watch live tv. If you want to change the directory Myth TV records to, you will need to stop the backend, and run mythtv-setup. From there, select storage directories from the menu, select default and add a directory. Default might or might not exist for you, so if all you see is "(Create LiveTV group)", "(Create DB Backup group)" and "(Create new group)", you will need to create a new group and set it up. After this is done, restart mythbackend and see if you can watch live tv.

--SN
Reply With Quote
Reply

Tags
mythtv, watch, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
watch p#? Akaii Using Fedora 0 16th August 2008 05:50 PM
For those who like to watch TV on PC spooky2 Wibble 13 28th May 2007 12:00 AM
What app can i watch TV on Scrib Using Fedora 4 1st August 2006 07:42 PM
watch a dvd Bonboe Using Fedora 7 30th January 2006 11:30 AM
Snapstream Firefly Remote Working With Mythtv!!!!! fedorafitz Hardware & Laptops 5 14th March 2005 09:56 PM


Current GMT-time: 22:32 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat