Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-17 Thread Kirk Bocek
Thanks, Matt, I haven't had a chance yet to study Myth's database structure. This 
will help.


Kirk

Matt SF wrote:
...and then select using the names for the appearance settings from the 
table channel :


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-16 Thread Matt SF
Thanks, Niklas, Steve and Nick for responding.  Nice to actually get some 
feedback on the mythtv-users list :)


On Sat, Oct 15, 2005 at 08:13:18PM +0100, Nick wrote:
 On 15/10/05, Matt SF [EMAIL PROTECTED] wrote:
 
 No you are not. When trying to improve video capture quality, you
 first have to make sure you have turned off likely culprits like noise
 removal and have as clean a feed as possible. I would also suggest
 employing a test card to see exactly how much resolution the card can
 handle (you should expect S-Video to be better than composite for
 example). The 350 can _natively_ record in MPEG2 over a range of
 resolutions, from 480x480 up to 720x480.
 
 Nick


ah ok fair enough :)  I just wish these companies would print a spec sheet 
that's a bit more clear on the details.  lines like these...

MPEG record specifications:
* NTSC format at 29.97fps: Full D1: 720x480, MPEG1: 352x240
* PAL format at 25fps: Full D1: 720x576, MPEG1: 352x288

MPEG hardware player specifications:

* NTSC output: Full D1: 720x480, MPEG1: 352x240
* PAL output: Full D1: 720x576, MPEG1: 352x288

...are misleading with all the previous usage of the term MPEG2 in the 
same document.  A quick primer in their specs on D1 would have been 
helpful.  e.g.: this entry from DigitalFaq.com...

D-Values. Various resolutions are often referred to as D-values. Full D1 
video is 720x480. Cropped D1 is 704x480. Half D1 video is 352x480. Quarter 
D1 (actually SIF) video is 352x240. Two-Thirds D1 video is 480x480. DVB 
and DVD-VR use unusual MPEG resolutions, sometimes called Three-Fourths D1 
at 544x480.

re: quality issues, I found that tweaking the brightness, color, and 
contrast via ivtvctl did help improve the look of the 350's tv-out quite a 
bit.  A quick run through some MySQL commands and I had my channel 
appearance preferences installed across the entire range.  I did my best 
to match them up visually to my Avia-tuned Sony, just eyeballing it and 
switching back endlessly between TV and Video1  :)

Thanks again!
-Matt

-- 
-
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-16 Thread Kirk Bocek

Matt, where are the appearance settings located in Myth's MySQL database?

Kirk

Matt SF wrote:
A quick run through some MySQL commands and I had my channel
appearance preferences installed across the entire range.  


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-16 Thread Claude Gélinas agr.
Le dimanche 16 octobre 2005 à 13:29 -0700, Matt SF a écrit :
 Thanks, Niklas, Steve and Nick for responding.  Nice to actually get some 
 feedback on the mythtv-users list :)
 
 
 On Sat, Oct 15, 2005 at 08:13:18PM +0100, Nick wrote:
  On 15/10/05, Matt SF [EMAIL PROTECTED] wrote:
  
  No you are not. When trying to improve video capture quality, you
  first have to make sure you have turned off likely culprits like noise
  removal and have as clean a feed as possible. I would also suggest
  employing a test card to see exactly how much resolution the card can
  handle (you should expect S-Video to be better than composite for
  example). The 350 can _natively_ record in MPEG2 over a range of
  resolutions, from 480x480 up to 720x480.
  
  Nick
 
 
 ah ok fair enough :)  I just wish these companies would print a spec sheet 
 that's a bit more clear on the details.  lines like these...
 
 MPEG record specifications:
 * NTSC format at 29.97fps: Full D1: 720x480, MPEG1: 352x240
 * PAL format at 25fps: Full D1: 720x576, MPEG1: 352x288
 
 MPEG hardware player specifications:
 
 * NTSC output: Full D1: 720x480, MPEG1: 352x240
 * PAL output: Full D1: 720x576, MPEG1: 352x288
 
 ...are misleading with all the previous usage of the term MPEG2 in the 
 same document.  A quick primer in their specs on D1 would have been 
 helpful.  e.g.: this entry from DigitalFaq.com...
 
 D-Values. Various resolutions are often referred to as D-values. Full D1 
 video is 720x480. Cropped D1 is 704x480. Half D1 video is 352x480. Quarter 
 D1 (actually SIF) video is 352x240. Two-Thirds D1 video is 480x480. DVB 
 and DVD-VR use unusual MPEG resolutions, sometimes called Three-Fourths D1 
 at 544x480.
 
 re: quality issues, I found that tweaking the brightness, color, and 
 contrast via ivtvctl did help improve the look of the 350's tv-out quite a 
 bit.  A quick run through some MySQL commands and I had my channel 
 appearance preferences installed across the entire range.  I did my best 
 to match them up visually to my Avia-tuned Sony, just eyeballing it and 
 switching back endlessly between TV and Video1  :)
 

what are the setting you did in ivtvctl ?
-- 
-
Claude Gélinas agr., dta
Phyto Ressources inc.
==
Varennes, Québec, Canada   Tél.: (450) 652 9764,   Fax.:(450) 652 6182
 Des questions sur les insectes et maladies des plantes ornementales ?
 Want to know more about ornamental plant pest ?
http://www.phyto.qc.ca

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-16 Thread Matt SF
On Sun, Oct 16, 2005 at 03:24:54PM -0700, Kirk Bocek wrote:
 Matt, where are the appearance settings located in Myth's MySQL database?
 Kirk
 

when it comes to color, brightness, etc they all seem to live under 
the channel table.  if you go into the db instance...(assuming the 
defaults...) 

[EMAIL PROTECTED]:/tmp$ mysql -u mythtv -pmythtv mythconverg

...and then select using the names for the appearance settings from the 
table channel :


mysql select brightness,contrast,colour from channel where chanid=1053;
++--++
| brightness | contrast | colour |
++--++
|  35328 |40960 |  48578 |
++--++
1 row in set (0.01 sec)

...you can see your current settings (the defaults are 32768, in a range 
of 0-65535 (hopefully these numbers look familiar to you :) ))

I barely know SQL-fu so I just set them one line at a time...

mysql update channel set brightness=35328;
mysql update channel set contrast=40960;
mysql update channel set colour=48578;

of course, your mileage may vary.  and you should see something similar to 
this after each entry:

Query OK, 0 rows affected (0.02 sec)
Rows matched: 82  Changed: 0  Warnings: 0

then log out..
mysql quit
Bye

note that if you have the mythweb page open to the channel settings, I 
believe that just reloading the page could rewrite your settings.  so I
think it best to stop mythbackend for just a bit, prior to this operation.

note also, that the setting values for the PVR-350 are as follows (from 
ivtvctl -h):

brightness=# Picture brightness, or more precisely, the black level. [0 - 
255]
saturation=# Picture color saturation or chroma gain. [0 - 127]
contrast  =# Picture contrast or luma gain. [0 - 127]

and you can get the current settings with ivtvctl -Y (or test_ioctl for 
the older versions i think)

[EMAIL PROTECTED]:/tmp$ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 137
Contrast = 79
Saturation = 94
Hue = 0
Volume = 58950
Mute = 0

..and so need to be adjusted into the mythtv 16 bit values (0-65535).  

I remember reading that one of the developers planned to put a make these
settings the same for all channels button, but I'm not sure where they 
are on that.  Should make it a bit easier than the whoe conversion and 
MySQL dance.

hope this helps!
-matt
-- 
-
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-16 Thread Matt SF
On Sun, Oct 16, 2005 at 11:03:14PM -0400, Claude Gélinas agr. wrote:
 Le dimanche 16 octobre 2005 à 13:29 -0700, Matt SF a écrit :
 what are the setting you did in ivtvctl ?

Claude--

I hope my previous post was helpful.  you can get the range of commands 
available with ivtcvtl -h

an example might be:

[EMAIL PROTECTED]:/tmp$ ivtvctl -y contrast=78
ioctl VIDIOC_S_CTRL ok

then confirm the setting with:

[EMAIL PROTECTED]:/tmp$ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 137
Contrast = 78
Saturation = 94
Hue = 0
Volume = 58950
Mute = 0

bonne chance!
a bientot!

-- 
-
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-15 Thread Niklas Brunlid

On Sat, 15 Oct 2005 19:42:59 +0200, Matt SF [EMAIL PROTECTED] wrote:


wow I guess it pays to not only RTFM but RTFM very carefully :)
I spotted this old post in looking for ways to improve the image quality
of my PVR-350...

http://www.gossamer-threads.com/lists/mythtv/users/112094

note.. NTSC format at 29.97fps: Full D1: 720x480, MPEG1: 352x240

Sort of begs the question, just what is the MPEG-2 on the board used for?
I guess just for putting your home video etc. into the S-video input.

Am I to understand the PVR-350 takes the image from the TV tuner,
captures it at MPEG-1 and then converts it to MPEG-2 then outputs it?


It probably means that it will only record in MPEG-1 up to 352x240 (which  
IIRC is the max res for MPEG-1, but I could bw wrong), but MPEG-2 up to  
720x480.


/ Niklas
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-15 Thread Nick
On 15/10/05, Matt SF [EMAIL PROTECTED] wrote:
 wow I guess it pays to not only RTFM but RTFM very carefully :)
 I spotted this old post in looking for ways to improve the image quality
 of my PVR-350...

 http://www.gossamer-threads.com/lists/mythtv/users/112094

 note.. NTSC format at 29.97fps: Full D1: 720x480, MPEG1: 352x240

 Sort of begs the question, just what is the MPEG-2 on the board used for?
 I guess just for putting your home video etc. into the S-video input.

Recording directly into MPEG2 when using suitable resolutions.

 Am I to understand the PVR-350 takes the image from the TV tuner,
 captures it at MPEG-1 and then converts it to MPEG-2 then outputs it?

No you are not. When trying to improve video capture quality, you
first have to make sure you have turned off likely culprits like noise
removal and have as clean a feed as possible. I would also suggest
employing a test card to see exactly how much resolution the card can
handle (you should expect S-Video to be better than composite for
example). The 350 can _natively_ record in MPEG2 over a range of
resolutions, from 480x480 up to 720x480.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] PVR-350 only records TV at MPEG-1 ??

2005-10-15 Thread Steve Adeff
On Saturday 15 October 2005 14:13, Niklas Brunlid wrote:
 On Sat, 15 Oct 2005 19:42:59 +0200, Matt SF [EMAIL PROTECTED] wrote:
  wow I guess it pays to not only RTFM but RTFM very carefully :)
  I spotted this old post in looking for ways to improve the image quality
  of my PVR-350...
 
  http://www.gossamer-threads.com/lists/mythtv/users/112094
 
  note.. NTSC format at 29.97fps: Full D1: 720x480, MPEG1: 352x240
 
  Sort of begs the question, just what is the MPEG-2 on the board used for?
  I guess just for putting your home video etc. into the S-video input.
 
  Am I to understand the PVR-350 takes the image from the TV tuner,
  captures it at MPEG-1 and then converts it to MPEG-2 then outputs it?

 It probably means that it will only record in MPEG-1 up to 352x240 (which
 IIRC is the max res for MPEG-1, but I could bw wrong), but MPEG-2 up to
 720x480.

 / Niklas

also, i believe mpeg-1 is better suited for low resolution encoding than 
mpeg-2, which is why it defaults to mpeg-1 for those lower resolutions.

Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users