Back to Home / #mythtv / 2002 / 09 / Next Day
#mythtv IRC Logs for 2002-09-30

12:32--> Youare now talking on #mythtv
12:54<Chutt>blah
13:38<vektor>sup
13:39<Chutt>some guy in england keeps sending me complete files instead of diffs
13:40<Chutt>and of course, the changes break things, too
13:41<vektor>Sucks to be you I guess. :(
13:41<Chutt>heh
13:41<Chutt>just annoying =)
14:02<TheFreak>Anybody awake?
14:03<Chutt>yup
14:03<TheFreak>Isac?
14:03<Chutt>yup
14:05<TheFreak>Great, i've thought of a thing that i'd like to run by you. I've got two features i need in mythtv, a radio tuner and a movie/dvd-viewer. basically they both consist of a list of items (radio channels/movies on hdd) from which to choose and an external program to run to make them play/sound. I could rip of some code from mythmusic, but wouldn't it be a nicer idea to add some kind of list feature to the mythfrontend, so that you could specify a lis
14:06<TheFreak>Basically, should I do a quick fix for me or rather hack around in the frontend for a more general solution...?
14:06<Chutt>wouldn't a radio tuner need more than just a list?
14:07<Chutt>seeing as it'd be kidna neat to do the whole pause/rewind/ff live radio, as well
14:08<Chutt>i'd prefer a more general piece of code, btw =)
14:08<TheFreak>Well, it would be kinda neat to ff between commercials, but that's the advanced way of doing it, the basic implementations involves invoking ./fm <freq> <on|off>
14:09<Chutt>heh
14:09<Chutt>well, really, whatever you want to do
14:09<TheFreak>No offence regarding the myth-music interface, but have you looked into making it themeable? (I'm new to qt right now so I haven't grasped all features, it looks like a good package though)
14:09<Chutt>well, how themeable?
14:09<Chutt>you can do quite a bit with just the qt stuff
14:10<Chutt>colors/backgrounds, etc
14:11<TheFreak>I donno exactly, but at one point you're browsing nice looking menues with shading and other effects, and then *bang* you're thrown into an ugly listbox, perhaps keeping top logo, make it more "transparent" and consistent with the nice looking parts :)
14:11<Chutt>ah
14:11<Chutt>well
14:11<Chutt>main thing is, i can't draw
14:12<TheFreak>who did the gfx?
14:12<Chutt>some random guy
14:12<Chutt>the guy that did the blue theme doesn't even use the program, he just emailed me outta the blue
14:12<TheFreak>that's too bad, then it will be rather hard adding consistent looking icons :)
14:12<Chutt>yeah
14:12<Chutt>have to go back to him for stuff
14:13<Chutt>and i kinda don't want to impose
14:13<Chutt>as for theming _everything_
14:13<Chutt>well, it could be done, if someone did the graphics
14:14<TheFreak>Two other practical questions, is thera a cvs-pserver where i can reach the code, right now i grab the tarballs, and that's rather impractical.
14:14<Chutt>yup
14:14<Chutt>i'd give you the link to the post in the mailing list archive, but that's down right now
14:15<Chutt>so
14:15<TheFreak>then i'll search the archives later.
14:15<Chutt>:pserver:mythtv@mythtv.org:/var/lib/cvs
14:15<Chutt>password is mythtv
14:15<TheFreak>aahh.. thats easier :)
14:15<Chutt>yeah
14:17<TheFreak>and the final question for now :), The tv-part of myth, i've got all kernel stuff upp running, i've gott mythfilldata to stop segfaulting (not your fault btw.) i've written a swedish grabber for xmltv, but how the heck do I configure the channels for the tuner-card? (wintv-pci) scantv? and how do I tell which channel has what name?
14:18<Chutt>ah
14:18<Chutt>in the us, with tv_grab_na, all that data's in the xmltv file
14:19<TheFreak>frequiezies too?
14:20<TheFreak>(nice spelling)
14:20<Chutt>frequencies are standard, so it just has channel numbers
14:20-!-FeeDBacK [andersa@62.79.45.201.adsl.rdo.worldonline.dk] has joined #mythtv
14:20<TheFreak>so it should be inserted into the channel table?
14:20<Chutt>does something like <channel id="3 FOO">
14:21<Chutt>so mythfilldatabase parses out the 3
14:21<Chutt>yeah
14:22<TheFreak>ok, then i've got to start there, i don't think you could trust those numbers in sweden, it depends if your using airborn or analog cable etc.
14:22<Chutt>ah
14:22<Chutt>well, which frequency table do you use in xawtv?
14:22<Chutt>and do you have to add extra frequencies, or use finetuning stuff?
14:23<TheFreak>I haven't really tuned everything in xawtv, just checked that it worked. In my xmltv i use the textual name of the channel as identifier
14:28<TheFreak>One thing, mythfilldata assumes that dumpfiles are in YYMMDDhhmmss format, when the DTD defines this much more loose, when the data is in some other format, like YYYYMMDDhhmm (without seconds) it will sigsegv... easy to fix though...
14:29<Chutt>heh
14:29<Chutt>i didn't really go through the dtd =) just made it parse what i got back from it
14:30<Chutt>if you feel like fixing things, just mail me a patch?
14:30<TheFreak>yepp, i've noticed that philosophy, and I must say that i'm not against that policy. I'll try to do something nice about the program/channel mapping and i'll send you a patch if i do something useful.
14:30<TheFreak>Have a nice evening.
14:31<Chutt>cool
14:31<Chutt>and, i do give out write access to the cvs tree
14:31<Chutt>once i see people's code
14:31<TheFreak>That's a good policy, if i commit much code, i need access, otherwise, it's just a pain in the ass with people breakting the tree
14:32-!-TheFreak [] has quit ["later..."]
15:10-!-davehunn [~david@81.99.60.156] has joined #mythtv
15:11<davehunn>hi all
15:11<Chutt>hi
15:12<davehunn>any one any ideas on why the audio gets really hissy after i change channel? it doesnt with xawtv?
15:12<Chutt>nope
15:12<davehunn>this is the last problem till i can use ythtv
15:12<Chutt>can't compare with xawtv, since xawtv doesn't touch the audio
15:14<davehunn>the problem is in the tuning code
15:15<davehunn>i connected the line out from the tv card direct to speakers
15:15<davehunn>in xawtv sound is fine
15:15<davehunn>in myth tv it is very faint with lots of hissing
15:15<davehunn>but if i tune in xawtv then exit then start ythtv
15:15<davehunn>the sound is ok until i change channel
15:16<davehunn>the recording bit of mythtv is fine its the channel change code not doing the audio correctly but i have not spotted the difference yet between mythtv and xawtv when they change channel :(
15:16<Chutt>xawtv isn't recording the audio
15:16<Chutt>heh
15:17<davehunn>yes i know
15:17<davehunn>the probelm isnt recording audio
15:17<davehunn>its tuning the tv card for audio
15:17<davehunn>the picture is fine
15:17<davehunn>its the audio that is wrong
15:18<FeeDBacK>Waazzuuuup..
15:18<davehunn>in mythtv i think that the tunner is re tunned but in xawtv i think the tuner is retunned + the audio on the sound card is turned off then on
15:19<Chutt>so try making it do that..
15:19<davehunn>i a trying to find the bit in tv.cpp that sets up the audio on the tvtuner card but i can not find it
15:20<Chutt>channel.cpp is where all that happens
15:20<davehunn>Chutt: thats what i am trying to do
15:20<davehunn>;)
15:21<Chutt>heh
15:22<davehunn>hm cant see uch here
15:23<davehunn> videofd = open(device.ascii(), O_RDWR);
15:23<Chutt>everything it does to change the channel, tuner card wise, is there
15:23<davehunn> if (videofd > 0)
15:23<davehunn>is the bit that opens the card no?
15:24<Chutt>well, only for the original open at the beginning
15:24<Chutt>when it actually changes the channel, it uses the recorder's already open file
15:24<Chutt>since you can't open the device twice
15:25<davehunn>obvisuly ;)
15:25<davehunn>ok i think i know what i want to do :)
15:26<davehunn>v4lconf sets the audio correct and after that mythtv can use the card correctly
15:27<davehunn>so .... i want to close the v4l device
15:27<davehunn>change channel using v4lconf
15:27<davehunn>then re open
15:27<Chutt>won't work
15:28<davehunn>why not?
15:29<Chutt>you'll have to completely tear down the recorder class to do that
15:29<Chutt>and i won't accept a patch that does that =)
15:29<davehunn>ah cos something else has the same device open at the same tie
15:29<davehunn>grrrrrrrrr
15:30<davehunn>hmm
15:30<davehunn>so any ideas why xawtv works and myth dont?
15:30<davehunn>its very very consitant failure
15:30<Chutt>nope
15:30<Chutt>works fine for me, obviously
15:31<davehunn>which is a shae as it does everything else that i want it to do ;)
15:31<davehunn>what card?
15:31<Chutt>an ati tv-wonder ve, and a hauppauge wintv radio
15:32<davehunn>bttv: driver version 0.7.91 loaded
15:32<davehunn>bttv: using 2 buffers with 2080k (4160k total) for capture
15:32<davehunn>bttv: Host bridge is Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller
15:32<davehunn>bttv: Bt8xx card found (0).
15:32<davehunn>bttv0: Bt878 (rev 2) at 00:0c.0, irq: 5, latency: 132, memory: 0xe0104000
15:32<davehunn>bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
15:32<davehunn>bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
15:32<davehunn>bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
15:32<davehunn>i2c-dev.o: Registered 'bt848 #0' as minor 0
15:32<davehunn>i2c-core.o: adapter bt848 #0 registered as adapter 0.
15:32<davehunn>bttv0: Hauppauge eeprom: model=61324, tuner=Philips FI1216 MK2 (5), radio=no
15:32<davehunn>bttv0: i2c: checking for MSP34xx @ 0x80... found
15:32<davehunn>i2c-core.o: driver i2c msp3400 driver registered.
15:32<davehunn>msp34xx: init: chip=MSP3410D-B4, has NICAM support
15:32<davehunn>msp3410: daemon started
15:32<davehunn>bttv0: i2c attach [client=MSP3410D-B4,ok]
15:32<davehunn>i2c-core.o: client [MSP3410D-B4] registered to adapter [bt848 #0](pos. 0).
15:32<davehunn>bttv0: i2c: checking for TDA9875 @ 0xb0... not found
15:32<davehunn>bttv0: i2c: checking for TDA7432 @ 0x8a... not found
15:32<davehunn>tvaudio: TV audio decoder + audio/video mux driver
15:32<davehunn>tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
15:32<davehunn>i2c-core.o: driver generic i2c audio driver registered.
15:33<davehunn>i2c-core.o: driver i2c TV tuner driver registered.
15:33<davehunn>tuner: probing bt848 #0 i2c adapter [id=0x10005]
15:33<davehunn>tuner: chip found @ 0xc2
15:33<davehunn>bttv0: i2c attach [client=Philips PAL,ok]
15:33<davehunn>i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos. 1).
15:33<davehunn>bttv0: registered device video1
15:33<davehunn>bttv0: registered device vbi0
15:33<davehunn>i2c-core.o: driver i2c ir driver registered.
15:33<davehunn>lirc_i2c: chip found @ 0x18 (Hauppauge IR)
15:33<davehunn>bttv0: i2c attach [client=Hauppauge IR,ok]
15:33<davehunn>i2c-core.o: client [Hauppauge IR] registered to adapter [bt848 #0](pos. 2).
15:33<davehunn>and to record sound are you using the btaudio driver or a sound card?
15:33<Chutt>both
15:33<davehunn>both hm
15:34<Chutt>the ati card doesn't support it
15:34<Chutt>the hauppauge does, obviously
15:35<Chutt>so to use both at the same time, one the btaudio driver, the other doesn't
15:35<davehunn>is the hauppage limited at all ?
15:35<davehunn>cos i could not get mythtv to use it?
15:36<Chutt>limited?
15:36<davehunn>btaudio: driver version 0.6 loaded [digital+analog]
15:37<davehunn>btaudio: Bt878 (rev 2) at 00:0c.1, irq: 5, latency: 64, memory: 0xe0105000
15:37<davehunn>btaudio: registered device dsp2 [digital]
15:37<davehunn>btaudio: registered device dsp3 [analog]
15:37<davehunn>so i want to use the analog no?
15:37<Chutt>you need to use a sampling rate of 32000
15:37<Chutt>and the digital device
15:37<davehunn>as in frequencies etv?
15:37<davehunn>etc even
15:37<Chutt>sampling rate == frequency
15:37<vektor>re
15:39<davehunn>ok that worked ;)
15:39<Chutt>pretty sure using the analog device only does mono, and that'd be why it fails to open
15:40<davehunn>it failed on them both i did not have the freq set
15:41<davehunn>but this is a big bonus ;) it eens i can remove the sound card and add another tv card :)
15:41<Chutt>well, the digital device only does stereo 32000, the analog only does 44100 mono, iirc
15:41<Chutt>both would fail if asked for the wrong stuff
16:30<davehunn>h this is odd
16:30<davehunn>i have data
16:30<davehunn>mysql> select * from channel;
16:30<davehunn>+---------+----------+------+------------------------------------------+--------+----------+----------+--------------+
16:30<davehunn>| channum | callsign | name | icon | chanid | sourceid | finetune | videofilters |
16:30<davehunn>+---------+----------+------+------------------------------------------+--------+----------+----------+--------------+
16:30<davehunn>| 32 | | NULL | /home/david/.mythtv/channels/logo-53.gif | 1 | 1 | NULL | NULL |
16:30<davehunn>| 22 | | NULL | /home/david/.mythtv/channels/logo-13.gif | 2 | 1 | NULL | NULL |
16:30<davehunn>| 24 | | NULL | /home/david/.mythtv/channels/logo-26.gif | 3 | 1 | NULL | NULL |
16:30<davehunn>| 30 | | NULL | /home/david/.mythtv/channels/logo-37.gif | 4 | 1 | NULL | NULL |
16:30<davehunn>+---------+----------+------+------------------------------------------+--------+----------+----------+--------------+
16:30<davehunn>4 rows in set (0.00 sec)
16:30<davehunn>but when i change channel up or down i get
16:30<davehunn>No Data
16:30<davehunn>then ythtv freezes
16:31<Chutt>run it in gdb
16:32<davehunn>ok
16:32<davehunn>No Data
16:32<davehunn>(no debugging symbols found)...[New Thread 6151 (LWP 5163)]
16:32<davehunn>only read 8192 from 32768 bytes from '/dev/dsp2'
16:32<davehunn>read audio: Interrupted system call
16:32<davehunn>VIDIOCSYNC0: Interrupted system call
16:32<davehunn>[New Thread 7176 (LWP 5164)]
16:32<davehunn>only read 8192 from 32768 bytes from '/dev/dsp2'
16:32<davehunn>read audio: Interrupted system call
16:32<davehunn>VIDIOCSYNC1: Interrupted system call
16:32<davehunn>Using XV port 63
16:32<davehunn>(gdb) bt
16:32<davehunn>#0 0x408ae991 in nanosleep () from /lib/libc.so.6
16:32<davehunn>#1 0x408d7a2a in usleep () from /lib/libc.so.6
16:32<davehunn>#2 0x0805e9c4 in NuppelVideoRecorder::doWriteThread ()
16:32<davehunn>#3 0x406cdfed in pthread_start_thread_event () from /lib/libpthread.so.0
16:33<davehunn>it works ok as long as i do not change channel
16:33<Chutt>does help to recompile it with debugging, of course
16:34<davehunn>ok
16:35<davehunn>is that an option in ake file?
16:35<davehunn>make file?
16:35<Chutt>other thing to check is to see if TV::CheckChannel is returning true
16:37<davehunn>is that in tv.cpp?
16:38<Chutt>yes
16:38<davehunn>hm
16:38<davehunn> if (!db_conn)
16:38<davehunn> return true;
16:40<Chutt>unless it's complaining about not being able to connect to the database
16:40<Chutt>that's nothing to do with you
16:40<davehunn>ok i get lots and lots of false;s
16:40<davehunn> if (ret)
16:40<davehunn> {
16:40<davehunn> printf("True\n");
16:40<davehunn> }
16:40<davehunn> else
16:40<davehunn> printf("False\n");
16:41<Chutt>well
16:41<davehunn> return ret;
16:41<Chutt>does it ever return true, right before it hangs?
16:41<davehunn>whys that then?
16:41<Chutt>or does it just continue to print false
16:41<Chutt>because hitting 'up' tells it to look for the next defined channel
16:42<davehunn>um not sure it printed lots and lots of falses when is was hung
16:42<davehunn>no
16:42<davehunn>no trues
16:42<davehunn>ah and it does not find any
16:43<davehunn>but how come the sql sees it ?
16:43<davehunn>ah the source id is wrong?
16:43<Chutt>something like that
16:44<Chutt>if the channel and the cardid and the sourceid don't match up
16:44<davehunn> QString thequery = QString("SELECT NULL FROM channel,capturecard,cardinput "
16:44<davehunn> "WHERE channel.channum = %1 AND "
16:44<davehunn> "channel.sourceid = cardinput.sourceid AND "
16:44<davehunn> "cardinput.inputname = \"%2\" AND "
16:44<davehunn> "cardinput.cardid = capturecard.cardid AND "
16:44<davehunn> "capturecard.videodevice = \"%3\";")
16:45<Chutt>yes, i wrote that line, i know what it says :p
16:46<davehunn>but if you see my sql
16:46<davehunn>| 32 | | NULL | /home/david/.mythtv/channels/logo-53.gif | 1 | 1 | NULL | NULL |
16:46<davehunn>sourceid =1
16:46<davehunn>so i ran setup wrong
16:46<davehunn>grrr
16:47<Chutt>no cardinput with that sourceid?
16:47<davehunn>select * from cardinput;
16:48<davehunn>ok i need an insert for cardinput no?
16:48<Chutt>yeah
16:48<Chutt>the setup program should've gotten all that
16:48<davehunn>do i need to run setup or can i do it straight from a insert?
16:49<Chutt>you can do it manually
16:49<Chutt>just look at how the setup program does it
16:49<davehunn>its ok i ran setup again
16:50<davehunn>i know what it is its when the setup prog asks for input i said 2 not 1
16:50<davehunn>ok i have another question while i go and download the channel data
16:50<davehunn>perl -pi -e s/"channel4.com"/32/g /tmp/tv.xml
16:50<davehunn>perl -pi -e s/"tttv.granadatv.co.uk"/30/g /tmp/tv.xml
16:50<davehunn>perl -pi -e s/"north-east.bbc2.bbc.co.uk"/24/g /tmp/tv.xml
16:50<davehunn>perl -pi -e s/"north-east.bbc1.bbc.co.uk"/22/g /tmp/tv.xml
16:50<davehunn>perl -pi -e s/"channel5.co.uk"/S41/g /tmp/tv.xml
16:51<davehunn>is my fix to get the channel nubers into ythtv
16:51<davehunn>but c5 S41 does not work why?
16:51<davehunn>(got data from xawtv)
16:51<davehunn>whats the numeric equiv of S41?
16:52<Chutt>how doesn't it work?
16:54<davehunn>it doesnt get inserted into the channel database
16:58<Chutt>ah
16:58<Chutt>filldata.cpp
16:58<Chutt>line 343 or so
16:59<Chutt>add \" \" around the first %s
16:59<Chutt>should fix that
17:00<davehunn>ok ill do that
17:01<davehunn>how about if the check cahnnel returns false more than a couple of ties exiting
17:01<davehunn>to avoid block
17:03<Chutt>and just leave it on an unknown channel?
17:03<davehunn>what about setup?
17:04<davehunn>ok imm not sure if it showed up ill have to check
17:05<davehunn>one of my channels (56)
17:05<davehunn>is the output from my digital tv box
17:05<davehunn>and can conaint one of many channels
17:06<davehunn>but the tv tuner should always be on the same channel i am just not sure howto 'fix' the xmltv file
17:14<Chutt>well
17:14<Chutt>i'd probably setup a different channel source for that
17:15<Chutt>and fix things so that it can use a specific channel on the card as an input device
17:15<davehunn>ah not a bad plan
17:47<davehunn>ok
17:48<davehunn>got all the channel data back and even though i use the bttv audio dev i get really hissy recording :(
17:49<davehunn>so if i use xawtv to tune the card audio is fine but ythtv does soething odd to the audio still :(
17:49<davehunn>grrr
17:51<davehunn>in xawtv.c
17:51<davehunn>void
17:51<davehunn>watch_audio(XtPointer data, XtIntervalId *id)
17:51<davehunn>{
17:51<davehunn> if (-1 != cur_sender)
17:51<davehunn> change_audio(channels[cur_sender]->audio);
17:51<davehunn> audio_timer = 0;
17:51<davehunn>}
17:52<davehunn>used to set the audio mode
17:52<davehunn> * mode = -1: check mode (just update the title)
17:52<davehunn> * mode = 0: set autodetect (and read back result)
17:52<davehunn> * mode > 0: set some mode
17:52<davehunn> */
17:53<davehunn>mythtv doesnt do this does it ?
17:54<davehunn>hm yes
17:58<davehunn>i want to try and ute then umute the audio device
17:58<davehunn>fro xawtv i found if (NULL != (attr = ng_attr_byid(attrs,ATTR_ID_VOLUME)))
17:58<davehunn> attr->write(attr,cur_attrs[ATTR_ID_VOLUME]);
17:58<davehunn> if (NULL != (attr = ng_attr_byid(attrs,ATTR_ID_MUTE)))
17:58<davehunn> attr->write(attr,cur_attrs[ATTR_ID_MUTE]);
18:11-!-FeeDBacK [] has quit ["KVIrc 3.0.0-beta1 "Eve's Avatar""]
18:34-!-You are now known as mdz-work-away
19:49-!-kleetus [] has quit [brunner.openprojects.net irc.openprojects.net]
19:49-!-TardisX [] has quit [brunner.openprojects.net irc.openprojects.net]
19:49-!-davehunn [] has quit [brunner.openprojects.net irc.openprojects.net]
19:50-!-Chutt [] has quit [brunner.openprojects.net irc.openprojects.net]
19:50-!-vektor [] has quit [brunner.openprojects.net irc.openprojects.net]
19:58-!-davehunn [~david@81.99.60.156] has joined #mythtv
19:58-!-kleetus [~kleetus@68.3.180.244] has joined #mythtv
19:58-!-TardisX [~justin@192.83.231.155] has joined #mythtv
19:58-!-Chutt [~bleh@dsl093-011-148.cle1.dsl.speakeasy.net] has joined #mythtv
19:58-!-vektor [~vektor@cauchy.theorem.ca] has joined #mythtv
19:58-!-brunner.openprojects.net gives channel operator status to Chutt
20:06-!-davehunn [] has quit [Read error: 104 (Connection reset by peer)]
22:04-!-bsiever [~bsiever@pkrh-dd-g9-as5300-async15.network.umr.edu] has joined #mythtv
22:04<bsiever>Hey
22:05<vektor>hey
22:06<bsiever>I was just wondering if anyone had any recommendations for a mythtv box?
22:06<bsiever>(i.e. what I should be looking for. Current plan is 7200 RPM hd, Athlon XP 1700 (or higher)
22:08<vektor>I'm not one to ask, unfortunately.
22:09<bsiever>Not using myth yet?
22:09<vektor>I tried to get it set up and working on my box, but gave up.
22:09<vektor>When I get more time I might try again.
22:09<bsiever>What was the problem?
22:10<vektor>Well if I knew then I would probably have it working ;-)
22:10<bsiever>:)
22:10<bsiever>No error messages/etc?
22:10<vektor>I think it may have to do with not setting up mysql properly.
22:10<bsiever>Ahhh...
22:10<vektor>I had no experience with databases before.
22:10<vektor>Like, never installed mysql etc.
22:10<bsiever>Yeah - I'm in the same spot.
22:10<vektor>So I spent like an hour or so trying to figure out how to add a user/set their permissions etc.
22:11<bsiever>O.k.
22:11<vektor>I thought it was all working ok. I didn't try like adding tables myself or anything, but 'mythfilldatabase' or whatever worked without errors.
22:11<vektor>However, none of the configuration seems to have made its way into the database, so none of the apps start correctly.
22:11<vektor>I thought it was that it could not find my settings file, but it was about at that point I gave up.
22:11<bsiever>O.k.
22:11<vektor>Maybe next weekend I'll give it another chance.
22:12<vektor>However, I'm rather interested in continuing my own PVR application.
22:12<vektor>There are some things about the 'architecture' or myth that don't jive with me. :)
22:12<bsiever>What's your PVR based on?
22:12<vektor>So, I'm right now going to try and put libNuppelVideo from myth into my project.
22:12<vektor>What do you mean 'based on'?
22:13<vektor>I wrote a video recorder app myself, and I also did my own lossless video code.
22:13<vektor>codec.
22:13<bsiever>O.k.
22:13<vektor>I'm not too interested in timeshifting really, so when I say PVR I say it loosely.
22:13<bsiever>How much space does your lossless codec require?
22:13<vektor>Really I just want a recorder with a nice UI that works on my TV-out with an OSD.
22:13<bsiever>O.k.
22:13<vektor>My lossless codec requires a ton of space, of course. ;-)
22:14<vektor>I get about 2:1 compression on average from uncompressed.
22:14<vektor>Unfortunately, uncompressed is massive.
22:14<bsiever>I'm actually interested in the time shifting and (hopefully) eventually archiving to VCD
22:14<vektor>VCD? Ugh.
22:14<vektor>That's a huge quality loss.
22:14<vektor>See, I care about quality ;-)
22:14<bsiever>:)
22:14<bsiever>Yeah - noticed.
22:14<bsiever>What techinques did you use in your lossless compression codec?
22:14<vektor>That doesn't mean I love my lossless codec.
22:15<vektor>I want to recompress to MPEG-2.
22:15<vektor>The point is to do expensive post-processing.
22:15<vektor>I wrote like an offline 3:2 pulldown detector that's pretty good.
22:15<vektor>So, the idea is, record high quality, then take a million years to recompress to a 'really nice' MPEG2.
22:15<vektor>My lossless codec is just a simple prediction scheme with a huffman code. I weighted my codes based on real data.
22:16<bsiever>O.k. - Offline time might as well be used doing something productive.
22:16<vektor>So, my huffman code is based on stats from a recording of 'austin powers'.
22:16<vektor>Seems to work ok.
22:16<vektor>By offline I just mean non-realtime.
22:16<bsiever>hehe...is austin powers really an "average" video sample?
22:16<bsiever> :)
22:16<bsiever>Yeah - I know
22:16<vektor>Well, it was one of my VHS tapes.
22:16<vektor>And the idea is to recompress VHS tapes.
22:17<bsiever>Any particular end goal, or just transfering your video to a digital format?
22:17<vektor>(and TV shows of course, but I want to start with tapes so I can have a static test sample I can keep re-encoding).
22:17<vektor>Yeah, of course.
22:17<vektor>I want to transfer my pile of VHS tapes to something good.
22:17<vektor>And not lose too much quality.
22:17<vektor>So, 1) record VHS tapes and preserve interlacing for full-framerate
22:17<bsiever>That's also one of my eventual goals (consolidation of ALL media types
22:17<vektor>2) do a reasonable downsample to make sure I get as much horizontal resolution as is available.
22:18<vektor>yeah.
22:18<vektor>But so many people do bad stuff like record VHS at like 352x240 and shit.
22:18<vektor>Ugh.
22:18<vektor>At least, that seems to be the mentality of most recording apps right now.
22:18<bsiever>I'm not a realy "quality" freak...(Bad eyes, and I just don't care/notice)
22:18<vektor>BTW, my code is at http://www.sf.net/projects/reetpvr/ but compared to mythtv it's a lame hack.
22:18<bsiever>Yeah - most apps are interested in real time compression though.
22:19<vektor>Yeah.
22:19<bsiever>Thanks - I'll take a look at it
22:19<vektor>cool.
22:19<bsiever>I actually like the idea of real time HQ capture and later off-line quality compression.
22:19<vektor>It's great as long as you don't want a timeshifting PVR.
22:19<vektor>Or you have a ton of disk-space. :)
22:19<bsiever>(I seldom even bother to record an hour a week, so I have plentiful "down" time)
22:19<vektor>I was doing like 20G/half hour recordings.
22:20<vektor>So, if I get this 120Gb new HD, that's only like 6 hours of recording time.
22:20<vektor>Not great for a PVR.
22:20<bsiever>Yeah - I would;ve guessed that losless wad pretty high data...
22:20<vektor>But not all that bad for the quality. ;-)
22:20<bsiever>:)
22:20<vektor>Actually, damn, I should just use that as my PVR format.
22:21<vektor>Would be pretty cool.
22:21<bsiever>:)
22:21<bsiever>And the HD companies would love it
22:21<vektor>hah.
22:21<vektor>Well, I must get some sleep.
22:21<vektor>Nice chatting with ya.
22:21<vektor>Good luck with your mythtv box.
22:21<bsiever>Thanks - good luck on your project as well.
22:21<bsiever>g'night
22:23-!-bsiever [] has quit ["Client Exiting"]
22:25<vektor>I feel like I'm peddling a shareware photo editor on an adobe help channel. I wonder why.
23:05<Chutt>heh