Re: [Freevo-users] audio behind on tv recordings

2006-12-27 Thread Elizabeth Dodd
On Wednesday 20 December 2006 7:57 pm, [EMAIL PROTECTED] wrote:
 Duncan Webb wrote ..

  [EMAIL PROTECTED] wrote:
   mike lewis wrote ..
  
   On 12/18/06, Elizabeth Dodd [EMAIL PROTECTED] wrote:
   Using mencoder to record my tv i have a variable lag for the audio.
 
  At
 
   the
  
   beginning it may be a few seconds behind and then appear to catch up
  
   later.
  
   I thought that the cpu load was to blame and reduced the recording
 
  video
 
   size
  
   but it doesn't seem to be any better.
  
   i had a cx-88 but took it out for the saa7134 as i though it was a
   better
 
  card
 
   So, what is your mencoder command?
  
   mencoder -tv
   driver=v4l2:chanlist=australia:volume=100:width=352:height=288
 
  tv://28 -ovc lavc -oac lavc -lavcopts
  acodec=ac3:vcodec=mpeg4:vbitrate=4000 -endpos 60 -noskip -o
  /tmp/record.avi
 
 
  I think acodec=ac3 is your problem, I have used in the past this
  mencoder command, but I'm not sure if it still works :(
 
  /usr/bin/mencoder tv://\
   -tv driver=v4l2\
 
  :input=0\
  :norm=pal\
  :channel=K32\
  :chanlist=switzerland\
  :width=320\
  :height=240\
  :outfmt=yuy2\
  :device=/dev/video0\
  :alsa\
  :adevice=hw.0,0\
  :amode=1\
  :audiorate=32000\
  :forceaudio\
  :forcechan=1\
  :buffersize=64\
 
   -ovc lavc\
   -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30\
   -oac mp3lame\
   -lameopts br=128:cbr:mode=3\
   -ffourcc divx\
   -endpos 1819\
   -o /tmp/test.avi
 
  Duncan

 I'll try this later, remotely, as I am 500km from the box and not sure how
 I can manage to view the recorded files yet. Besides, it's tea time.


still no joy, the audio just lags behind, until it finishes about 5 minutes 
after the video on a 45 min recording.

i'm considering the suggestion of record now and encoding later


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc slow response

2006-12-27 Thread Jaap Struyk
Op wo 27-12-2006, om 12:34 schreef Stephen Rowles:

 Oh, one other thing... is it possible to configure the  Live TV, DVD 
 etc buttons to jump straight to those things in freevo? It would be 
 really nice to jump straight to the TV guide using the Guide button on 
 the remote, Videos using the DVD Menu button etc.

You can add:
EVENTS['menu']['TV'] = Event(MENU_GOTO_TV)
EVENTS['menu']['VIDEOS'] = Event(MENU_GOTO_VIDEOS)
EVENTS['menu']['MUSIC'] = Event(MENU_GOTO_MUSIC)
EVENTS['menu']['PICTURES'] = Event(MENU_GOTO_IMAGES)  
EVENTS['menu']['GUIDE'] = Event(MENU_GOTO_TVGUIDE)
EVENTS['menu']['RADIO'] = Event(MENU_GOTO_RADIO)
to your local_conf.py
-- 
Groetjes Japie



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo crash on audio cd

2006-12-27 Thread Jaap Struyk
I tryed to debug any further:

(Pdb) n
 /usr/bin/mminfo(89)?()
- medium = kaa.metadata.parse(file)
(Pdb) n
python: stack smashing attack in function PyEval_EvalFrame()
Aborted

So that didn't help, back to adding print statements to audioinfo.py
At the bottom I added:

mediainfo.EXTENSION_DEVICE  gives:  device
mediainfo.TYPE_AUDIOgives:  1
AudioDiscInfo   gives:  kaa.metadata.disc.audioinfo.AudioDiscInfo

I have no idea or this is good or not but mminfo didn't crash, so it has
to be somewhere in processing/formatting the returned info.
Am I doomed to rip cd's on my workstation and upload mp3's to my freevo
box forever, or dump grsec/pax? ;-)
-- 
Groetjes Japie


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Picture quality with xine and DVB-T broadcasts

2006-12-27 Thread Stephen Rowles
Hi all,

sorry I seem to be asking a lot of questions recently.

Picture quality on my xine playback of digital TV broadcasts has always 
been a bit rubbish. Lots of motion blur etc.

Now until I get my DVB card actually working, I cannot record TV, and 
pause in xine doesn't seem to work. I was looking at the xine command 
and discovered that it is using post processing with  
--post=pp:quality=10.

Increasing the number seems to improve the quality, but takes more CPU 
time up.

However I am already streaming a reasonable MPEG2 stream out of the DVB 
usb tuner, which is designed to be watched on my standard TV (which my 
media centre plugs into). so I wondered what would happen if I just 
removed the pp post module altogether.

Early tests seem to show less CPU, and much better picture quality, and 
much smoother playback.

Can anyone confirm that I am correct / wrong in my assumption, and if 
these is really a sensible thing to do?

cheers

:)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Direct record

2006-12-27 Thread Evan Hisey
Pascal-
  I do not believe VCR like recording is supported at the moment. I
am adding a feature request for this myself. Hopefully our
ivtv_/xine_tv wizard will be able to hook this up to :)

Evan

On 12/14/06, Pascal Schirrmann [EMAIL PROTECTED] wrote:
 Hi,

 Using freevo 1.7rc1 (probably the same with freevo 1.6.1), with an
 hauppauge PVR-350, the xine-tv plugin is great to pause a program, go
 back and forward during live show. Really nice, thanks !

 But a dumb question ?

 I would have a way to do a 'direct record', that is, I'm showing a very
 good show, and want to record it on the fly. On a 'legacy scope' I just
 would press the record button. And now, freevo is recording everything I
 watch on my screen (funny to do a run in a zapping sequence - I think
 'zapping' is a french word, that is ' a heavy use of the remote between
 every channel'  :-) ), but I'm unable to store this record ?

 To be complete, it would be great to have the ability to set a stop
 timer (that is : record for 1 hour and stop)

 This is maybe only a bad configuration (I hope so !)

 Thanks,

 --
 Pascal Schirrmann


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc slow response

2006-12-27 Thread Stephen Rowles

Evan Hisey wrote:

Stephen-
  Looks like you found something I haven't been able to. What is the
format for the repeat option ? I am hoping it will solve my lage
issues also.

Evan
  
I have random other lag problems with my new 2.6.19.1 kernel, hoping a 
rebuild with some options for debugging turned off will help


For reference I have attached my /etc/freevo/lircrc

Hope it helps


begin
prog   = freevo
button = Blue
config = BLUE
repeat = 3
end
begin
prog   = freevo
button = Yellow
config = YELLOW
repeat = 3
end
begin
prog   = freevo
button = Green
config = GREEN
repeat = 3
end
begin
prog   = freevo
button = Red
config = RED
repeat = 3
end
begin
prog   = freevo
button = Teletext
config = DISPLAY
repeat = 3
end
begin
prog   = freevo
button = Radio
config = RADIO
repeat = 3
end
begin
prog   = freevo
button = Print
config = PRINT
repeat = 3
end
begin
prog   = freevo
button = Videos
config = VIDEOS
repeat = 3
end
begin
prog   = freevo
button = Pictures
config = PICTURES
repeat = 3
end
begin
prog   = freevo
button = RecTV
config = RECTV
repeat = 3
end
begin
prog   = freevo
button = Music
config = MUSIC
repeat = 3
end
begin
prog   = freevo
button = TV
config = TV
repeat = 3
end
begin
prog   = freevo
button = Guide
config = GUIDE
repeat = 3
end
begin
prog   = freevo
button = LiveTV
config = LIVETV
repeat = 3
end
begin
prog   = freevo
button = DVD
config = DVD
repeat = 3
end
begin
prog   = freevo
button = Back
config = EXIT
repeat = 3
end
begin
prog   = freevo
button = OK
config = SELECT
repeat = 3
end
begin
prog   = freevo
button = Right
config = RIGHT
repeat = 3
end
begin
prog   = freevo
button = Left
config = LEFT
repeat = 3
end
begin
prog   = freevo
button = Down
config = DOWN
repeat = 3
end
begin
prog   = freevo
button = Up
config = UP
repeat = 3
end
begin
prog   = freevo
button = Star
config = STAR
repeat = 3
end
begin
prog   = freevo
button = Hash
config = HASH
repeat = 3
end
begin
prog   = freevo
button = Replay
config = REPLAY
repeat = 3
end
begin
prog   = freevo
button = Skip
config = SKIP
repeat = 3
end
begin
prog   = freevo
button = Stop
config = STOP
repeat = 3
end
begin
prog   = freevo
button = Pause
config = PAUSE
repeat = 3
end
begin
prog   = freevo
button = Record
config = REC
repeat = 3
end
begin
prog   = freevo
button = Play
config = PLAY
repeat = 3
end
begin
prog   = freevo
button = Rewind
config = REW
repeat = 3
end
begin
prog   = freevo
button = Forward
config = FFWD
repeat = 3
end
begin
prog   = freevo
button = ChanDown
config = CH-
repeat = 3
end
begin
prog   = freevo
button = ChanUp
config = CH+
repeat = 3
end
begin
prog   = freevo
button = VolDown
config = VOL-
repeat = 3
end
begin
prog   = freevo
button = VolUp
config = VOL+
repeat = 3
end
begin
prog   = freevo
button = More
config = MORE
repeat = 3
end
begin
prog   = freevo
button = Mute
config = MUTE
repeat = 3
end
begin
prog   = freevo
button = Home
config = MENU
repeat = 3
end
begin
prog   = freevo
button = Power
config = POWER
end
begin
prog   = freevo
button = Enter
config = ENTER
repeat = 3
end
begin
prog   = freevo
button = Clear
config = CLEAR
repeat = 3
end
begin
prog   = freevo
button = Nine
config = NINE
repeat = 3
end
begin
prog   = freevo
button = Eight
config = EIGHT
repeat = 3
end
begin
prog   = freevo
button = Seven
config = SEVEN
repeat = 3
end
begin
prog   = freevo
button = Six
config = SIX
repeat = 3
end
begin
prog   = freevo
button = Five
config = FIVE
repeat = 3
end
begin
prog   = freevo
button = Four
config = FOUR
repeat = 3
end
begin
prog   = freevo
button = Three
config = THREE
repeat = 3
end
begin
prog   = freevo
button = Two
config = TWO
repeat = 3
end
begin
prog   = freevo
button = One
config = ONE
repeat = 3
end
begin
prog   = freevo
button = Zero
config = ZERO
repeat = 3
end
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list

Re: [Freevo-users] Unicode musings

2006-12-27 Thread Pascal Schirrmann
harri a écrit :
 Not all of it is yet in svn, sitecustomize.py is not in 8812, which may be 
 the 
 reason for your problems below.

   
Thanks a lot, Harry,

I just installed the svn version 8832 (But I'm pretty sure that I had a 
sitecustomize.py file before ?)
I also did a freevo cache --rebuild with all freevo services stopped (by 
the way, it's very common on my system that freevo webserver stop 
doesn't actually stop the webserver. In fact, a kill is not enough, I 
must do a kill -2).

What is better : The message Désolé,  ce programme n'a pas de 
description  is now correctly printed.
Also, its now possible to do a manual record a 31 !
What didn't change :
The message 'no such resource' is still here. Also, I think that I 
should have a picture now in the web server, the same as the capture in 
the main panel ? That doesn't work, too.
Lastly, there are stil no link in the Recorded TV page.
What I just found out :
In the Tv_program page, if I choose a category for program filtering, 
the web server crash . Here is the message :
-
/usr/share/freevo/htdocs/genre.rpy, line 109 in _render
107bforcell=''
108acelltime=mfrnextguide + 60
109aftercell='nbsp;nbsp;nbsp;a href=genre.rpy?stime=%i%s'\
110  +'img src=images/RightArrow.png alt=right border=0//a'\
*Locals*
stime   ''
bforcell''
acelltime   |1167260405.0|
mfrnextguide|1167260345.0|

exceptions.TypeError: not all arguments converted during string formatting
-

(Not sure at all that this did work in earlier version !)



On my 'iso-8859-1' box, I  changed  the  default encoding from utf-8 to 
iso-8859-15, and this works also, GREAT !

Still, I'm amazed by the work !

Many many thanks for all !


-- 
Pascal Schirrmann


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Unicode musings

2006-12-27 Thread harri
On Wednesday 27 December 2006 21:31, Pascal Schirrmann wrote:
 harri a écrit :
  Not all of it is yet in svn, sitecustomize.py is not in 8812, which may
  be the reason for your problems below.

 Thanks a lot, Harry,

 I just installed the svn version 8832 (But I'm pretty sure that I had a
 sitecustomize.py file before ?)
 I also did a freevo cache --rebuild with all freevo services stopped (by
 the way, it's very common on my system that freevo webserver stop
 doesn't actually stop the webserver. In fact, a kill is not enough, I
 must do a kill -2).

Are you running a multi cpu kernel by any chance?  What does 
cat /proc/cpuinfo 
say?

 The message 'no such resource' is still here. 

Put these to your local_conf.py:

DEBUG = 1
CHILDAPP_DEBUG = 1

There is no such string as No such resource in freevo that I can find 
anyway, so I suspect your player config is bad.  The above debug will perhaps 
give you something useful in the freevo log directory.

 Also, I think that I 
 should have a picture now in the web server, the same as the capture in
 the main panel ? That doesn't work, too.

I have no idea what you are talking about here...  I don't have any pictures 
myself, nor do I see where these should go.

 What I just found out :
 In the Tv_program page, if I choose a category for program filtering,
 the web server crash . Here is the message :
 -
 /usr/share/freevo/htdocs/genre.rpy, line 109 in _render
 107bforcell=''
 108acelltime=mfrnextguide + 60
 109aftercell='nbsp;nbsp;nbsp;a href=genre.rpy?stime=%i%s'\
 110  +'img src=images/RightArrow.png alt=right border=0//a'\
 *Locals*
 stime ''
 bforcell  ''
 acelltime |1167260405.0|
 mfrnextguide  |1167260345.0|

 exceptions.TypeError: not all arguments converted during string formatting

It's a new problem.  I've submitted a patch to fix this.


-Harri

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Thoughts on recording / viewing multiple channels at once. (DVB)

2006-12-27 Thread Alberto Hernando
El Miércoles, 27 de Diciembre de 2006 23:24, Stephen Rowles escribió:
 dvbstream can be used to multicast out the all the pids on given frequency.

 Could the record sub-system be changed instead of recording using
 mplayer to dump one channel, dvbstream could be used to tune to the
 requested frequency (look this up in the channels.conf file). And then
 use dumprtp | ts2ps vpid apid  record.ts to record the channel in
 question.

 Once this is running, the other channels on the frequency could also be
 dumped to disk at the same time, provided your CPU can handle it. They
 could also be watched by using a similar command and piping the result
 into mplayer. These channels could be highlighted in a 2nd colour to
 indicate that you could record them too, or watch them.With a good
 network connection these channels could also be watched elsewhere in the
 house.


Hi.

I think that this will be posible in freevo2. Search older posts from Dischi, 
here or in the devel list.

Alberto

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users