On 4/24/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> Hi,
>    nuvinfo seems to work ok:
> 
> [EMAIL PROTECTED] /TVstorage $ nuvinfo 1053_20050423160000_20050423163000.nuv
> 
> info for: 1053_20050423160000_20050423163000.nuv
> 
>                  aspect:  1.3333
>   audio_bits_per_sample:  384000
>          audio_channels:  2
>       audio_sample_rate:  48000
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/nuvinfo line 23.
>              audio_type:
>                     fps:  29.970
>                  height:  480
>                 is_mpeg:  1
>        mpeg_stream_type:  ps
>              video_type:  MPEG2
>                   width:  480
> 
> done
> 
> [EMAIL PROTECTED] /TVstorage $
> 
> That looks reasonable. However nuvexport always clears the terminal,
> gives me this message and immediately exits:
> 
>  Loading MythTV recording info.
> 100%
> Found 2 files, but no matching database entries.
> 
> [EMAIL PROTECTED] /TVstorage $
> 
> Is it not running correctly?
> 
This is just a guess, but it looks like that nuvinfo only looks at the
file information, which seem ok, but that nuvexport looks at the sql
db for show names and info, and that would lead me to believe that
nuvexport isn't working because something is wrong with the db.  Do
the programs show up properly in mythfrontend?   I'm as ignorant as
they come when administering mysql, my only suggestion would be to go
over the steps in the guide on the gentoo-wiki and make sure
everything is as it should be.



> The other straing thing I'm finding is the /dev/v4l permissions keep
> changing to whoever ran mythfrontend last. Shoudl it do that? I could
> not record last night from my account. The log file said permissions
> to /dev/v4l/video0 were wrong. I tried changing them by hand to
> root:video. I was then able to record this morning. I just tried to
> set a recording for 3:30PM in my wife's account. I got another
> permissions message in thelog:
> 
> 2005-04-24 15:30:02.707 Started recording "Ed, Edd 'n Eddy" on
> channel: 1054 on cardid: 1, sourceid 1
> 2005-04-24 15:30:02.709 Channel(/dev/v4l/video0)::Open(): Can't open
> video device, error "Permission denied"
> 2005-04-24 15:30:02.734 ChannelBase: Could not find input: Composite 0
> on card when setting channel 54
> 
> 2005-04-24 15:30:02.823 Changing from None to RecordingOnly
> 2005-04-24 15:30:02.848 Using profile 'Default' to record
> 2005-04-24 15:30:02.859 Channel(/dev/v4l/video0)::Open(): Can't open
> video device, error "Permission denied"
> 2005-04-24 15:30:02.867 Tuning Error -- aborting recording
> 2005-04-24 15:30:02.875 TVRec: Recording Prematurely Stopped
> 2005-04-24 15:30:33.369 JobQueue currently set at 1 job(s) max and to
> run new jobs from 00:00 to 23:59
> 2005-04-24 15:30:33.371 JobQueue::GetJobsInQueue: findJobs search
> bitmask 4, found 3 total jobs
> 2005-04-24 15:30:33.394 JobQueue::GetJobsInQueue: Ignore 'Flag
> Commercials' Job for 1009 @ 20050423120800 in Errored state.
> 
> I look at the permissions again and they've changed:
> 
> [EMAIL PROTECTED] /TVstorage $ ls -la /dev/v4l
> total 0
> drwxr-xr-x   2 root   root      140 Apr 24 06:28 .
> drwxrwxrwt  23 root   root    32560 Apr 24 06:28 ..
> crw-rw----   1 root   video 81,  64 Apr 24 06:28 radio0
> crw-------   1 evelyn sys   81, 224 Apr 24 06:28 vbi0
> crw-------   1 evelyn sys   81,   0 Apr 24 06:28 video0
> crw-------   1 evelyn sys   81,  24 Apr 24 06:28 video24
> crw-------   1 evelyn sys   81,  32 Apr 24 06:28 video32
> [EMAIL PROTECTED] /TVstorage $
> 
> I clearly don't understand this yet!
> 

This one is new to me, I don't think I have this behavior.  I run the
backend as root and the frontend usually as a different user,
sometimes as root.  however, as far as I know only the backend ever
touches the v4l device through the symlink in /dev/video0.  And the
device actually has the permissions of my regular user, so I don't
think mythbackend changes them.

I did just do a little experimenting, doing mplayer /dev/v4l/video0 as
both root and another user, it didn't have any effect on permissions
or ownership of the device.   Maybe I'll experiment some more tonight
or tomorrow.


> To get around the X-Video issue I've set up MythTV on my laptop.
> However when I run mythtv-setup I get messages that it cannot conenct
> to the datbase server:
> 
> 2005-04-24 15:31:02.788 Unable to connect to database!
> 2005-04-24 15:31:02.788 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on '192.168.10.55' (111)
> 
> 2005-04-24 15:31:02.788 Failed to init MythContext, exiting.
> 
> I look at the netstat data on the server and it's not looking good to me:
> 
> dragonfly ~ # netstat -apn | grep myth
> tcp        0      0 0.0.0.0:6543            0.0.0.0:*
> LISTEN      31921/mythbackend
> tcp        0      0 0.0.0.0:6544            0.0.0.0:*
> LISTEN      31921/mythbackend
> unix  3      [ ]         STREAM     CONNECTED     371642 31921/mythbackend
> unix  3      [ ]         STREAM     CONNECTED     371640 31921/mythbackend
> unix  3      [ ]         STREAM     CONNECTED     371638 31921/mythbackend
> dragonfly ~ #
> 
> Should those IP addresses be all 0's????
> 
> - Mark
> 

the guide on the gentoo-wiki has a section about using mythfrontend on
a seperate machine,  the key points seem to be giving the mysql user
access to connect from remote machines and making sure myth listens on
a accessible address (in mythsetup u don't want to use 127.0.0.1
anywhere).

Lucien


> 
> On 4/24/05, Lucien D. <[EMAIL PROTECTED]> wrote:
> > Yea, xvideo is definitely effected by graphics drivers and what not.
> > I know on my laptop I couldn't use xvideo on an external monitor until
> > this latest version of xorg.
> >
> > I do use nuvexport.  I just started using it a month or so ago.  I
> > remember having some issues installing, but I can't remember if it was
> > due to my own stupidity or what.  When you say wouuldn't run what do u
> > mean?
> >
> > On 4/24/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> > > Ah, OK, that I have loaded on both my machine that supports X-Video as
> > > well as the machine that says it doesn't so I think that's not it.
> > >
> > > Thanks for the idea though.
> > >
> > > One fellow from another list said that X-Video support is a function
> > > of the actually graphics adapter chip a machine has. That makes sense
> > > to me. However the machine I'm having trouble with is using an onboard
> > > (I think) Intel 82865G graphics chip. I'm not sure that I'm usign the
> > > right driver for it, or possibly there are some other things that have
> > > to be loaded to make it work.
> > >
> > > Anyway, as always, thanks for your help.
> > >
> > > BTW - have you tried nuvexport? I built it this morning. nuvinfo gives
> > > reasonable data but numexport wouldn't run for me. I wanted to convert
> > > the Myth recorded files to mpeg to see how they work.
> > >
> > > Take care,
> > > Mark
> > >
> > > On 4/24/05, Lucien D. <[EMAIL PROTECTED]> wrote:
> > > > Not a kernel module, its a X windows module.  for example, this is the
> > > > section from my /etc/X11/xorg.conf
> > > >
> > > > Section "Module"
> > > >
> > > >     Load        "dbe"   # Double buffer extension
> > > >     SubSection  "extmod"
> > > >       Option    "omit xfree86-dga"   # don't initialise the DGA 
> > > > extension
> > > >     EndSubSection
> > > >     Load        "type1"
> > > >     Load        "freetype"
> > > >
> > > > EndSection
> > > >
> > > >
> > > > On 4/24/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> > > > > Hi Lucien,
> > > > >    thanks. I don't seem to have that module right now:
> > > > >
> > > > > [EMAIL PROTECTED] ~ $ slocate extmod | grep modules
> > > > > /usr/lib/modules/extensions/libextmod.a
> > > > > [EMAIL PROTECTED] ~ $ slocate extmod | grep lib
> > > > > /usr/lib/modules/extensions/libextmod.a
> > > > > [EMAIL PROTECTED] ~ $
> > > > >
> > > > > Do you happen to know where it might be in make menuconfig? Or is it
> > > > > by chance coming from a package I need to emerge?
> > > > >
> > > > > Thanks,
> > > > > Mark
> > > > >
> > > > > On 4/24/05, Lucien D. <[EMAIL PROTECTED]> wrote:
> > > > > > I believe you have to have Load "extmod" in ur x config.  Mine was
> > > > > > there automatically after X -config, but I'm pretty sure thats the
> > > > > > module u need for xvideo.
> > > > > >
> > > > > > On 4/23/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> > > > > > > Hello again,
> > > > > > >
> > > > > > > SHORT FORM: What is 'Xv support' and how do I set it up? xvinfo 
> > > > > > > says
> > > > > > > 'screen #0  no adaptors present'. Thanks!
> > > > > > >
> > > > > > > BACKGROUND INFO:
> > > > > > >    I've done some more testing of the PVR-250 at the command line 
> > > > > > > and
> > > > > > > using all the /dev devices that seem to make sense. I recorded 1
> > > > > > > minute of video using all of the following devices and then 
> > > > > > > watched in
> > > > > > > mplayer. (if it worked...) Here's the results:
> > > > > > >
> > > > > > > Size            /dev/XXX               results
> > > > > > >
> > > > > > >   6.5MB   dev_video0.mpg         worked
> > > > > > > 82.5MB  dev_v4l_video.mpg
> > > > > > > 74.3MB  dev_v4l_video0.mpg    worked
> > > > > > > 11.4MB  dev_v4l_video24.mpg
> > > > > > > 83.8MB  dev_v4l_video32.mpg
> > > > > > >
> > > > > > > Of these only /dev/video0 and /dev/v4l/video0 produced mpeg 
> > > > > > > results
> > > > > > > that were playable by mplayer at the command line.
> > > > > > >
> > > > > > > Based on that info I set MythTV to record on /dev/v4l/video0. It
> > > > > > > recorded a half hour show. At this point I wanted to watch the 
> > > > > > > program
> > > > > > > but when I play it I get a black screen. In the terminal I see 
> > > > > > > this:
> > > > > > >
> > > > > > > 2005-04-23 16:52:46.487 All Programs
> > > > > > > 2005-04-23 16:52:50.501 Opening audio device '/dev/dsp'.
> > > > > > > 2005-04-23 16:52:50.501 Opening OSS audio device '/dev/dsp'.
> > > > > > > ***
> > > > > > > * Couldn't find Xv support, falling back to non-Xv mode.
> > > > > > > * MythTV performance will be much slower since color
> > > > > > > * conversion and scaling will be done in software.
> > > > > > > * Consider upgrading your video card or X server if
> > > > > > > * you would like better performance.
> > > > > > > X Error: XvBadPort 145
> > > > > > >   Major opcode:  139
> > > > > > >   Minor opcode:  15
> > > > > > >   Resource id:  0xffffffff
> > > > > > > X Error: XvBadPort 145
> > > > > > >   Major opcode:  139
> > > > > > >   Minor opcode:  14
> > > > > > >   Resource id:  0xffffffff
> > > > > > > 2005-04-23 16:52:50.511 Couldn't get the color key color, and we 
> > > > > > > need it.
> > > > > > > You likely won't get any video.
> > > > > > > 2005-04-23 16:52:50.606 Changing from None to WatchingPreRecorded
> > > > > > > 2005-04-23 16:52:50.607 Using realtime priority.
> > > > > > > 2005-04-23 16:52:50.608 Video timing method: RTC
> > > > > > > 2005-04-23 16:52:52.025 prebuffering pause
> > > > > > > 2005-04-23 16:52:52.494 prebuffering pause
> > > > > > > 2005-04-23 16:52:52.961 prebuffering pause
> > > > > > > ***
> > > > > > > * Your system is not capable of displaying the
> > > > > > > * full framerate at 1280x1024 resolution.  Frames
> > > > > > > * will be skipped in order to keep the audio and
> > > > > > > * video in sync.
> > > > > > > X Error: XvBadPort 145
> > > > > > >   Major opcode:  139
> > > > > > >   Minor opcode:  15
> > > > > > >   Resource id:  0xffffffff
> > > > > > > X Error: XvBadPort 145
> > > > > > >   Major opcode:  139
> > > > > > >   Minor opcode:  14
> > > > > > >   Resource id:  0xffffffff
> > > > > > > 2005-04-23 16:53:01.395 Couldn't get the color key color, and we 
> > > > > > > need it.
> > > > > > > You likely won't get any video.
> > > > > > > 2005-04-23 16:53:01.442 Changing from WatchingPreRecorded to None
> > > > > > > 2005-04-23 16:53:01.468 Changing from None to None
> > > > > > > dragonfly ~ #
> > > > > > >
> > > > > > > and...
> > > > > > >
> > > > > > > dragonfly ~ # xvinfo
> > > > > > > X-Video Extension version 2.2
> > > > > > > screen #0
> > > > > > >  no adaptors present
> > > > > > > dragonfly ~ #
> > > > > > >
> > > > > > > I've been wandering around for a while looking for info on this. 
> > > > > > > so
> > > > > > > for nothing quite makes sense. Is this some part of xorg-x11 that 
> > > > > > > I
> > > > > > > haven't configured? What do I do to get it working?
> > > > > > >
> > > > > > > man xvinfo says "xvinfo  prints  out  the capabilities of any 
> > > > > > > video
> > > > > > > adaptors associated with the display that are accesible through 
> > > > > > > the
> > > > > > > X-Video extension." so how do I turn X-Video extension on?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Mark
> > > > > > >
> > > > > > > --
> > > > > > > gentoo-user@gentoo.org mailing list
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > gentoo-user@gentoo.org mailing list
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > gentoo-user@gentoo.org mailing list
> > > > >
> > > > >
> > > >
> > > > --
> > > > gentoo-user@gentoo.org mailing list
> > > >
> > > >
> > >
> > > --
> > > gentoo-user@gentoo.org mailing list
> > >
> > >
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to