Re: [Freevo-devel] kaa.popcorn design questions

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 17:42 +0100, Hans Meine wrote: > audio and video streams in different containers. Thinking about it, I'd say > let the backends deal with that diversity, have a proper default player > (which hopefully supports all formats) and automatically fall back on another > if that

Re: [Freevo-devel] Movie error

2006-12-01 Thread Andre Henrique Campos
On 12/1/06, Jason Tackaberry <[EMAIL PROTECTED]> wrote: > I guess you mean you'll have _no_ problems? Seeing as you're not > redistributing it... > Yes, sorry. ;) Cheers, André - Take Surveys. Earn Cash. Influence the Futur

Re: [Freevo-devel] Movie error

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 16:35 -0200, Andre Henrique Campos wrote: > It's being executed internally in the company. So, I think we'll have > problems with the GPL or lincencing at all. I guess you mean you'll have _no_ problems? Seeing as you're not redistributing it... > We will be happy to report

Re: [Freevo-devel] Movie error

2006-12-01 Thread Andre Henrique Campos
Hello, On 12/1/06, Dirk Meyer <[EMAIL PROTECTED]> wrote: > I wonder why people use kaa.canvas and other kaa modules. I don't mind > that you do, that is one reason why we created kaa and moved stuff out > of freevo, but it would be nice to know. Is it something similar to > Freevo? GPL or closed s

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Hans Meine
On Friday 01 December 2006 17:55, Jason Tackaberry wrote: > Notice that ... > > > function: u"Hans".encode("utf-8") will make it an 8 bit unicode string > > again, > > ... you also referred to an encoded utf8 sequence as a "unicode string." Oh you don't have to explain yourself, I know you know al

Re: [Freevo-devel] Autocrop needs more samples

2006-12-01 Thread Pierre Ossman
Duncan Webb wrote: > SourceForge.net wrote: > >> Message: >> Logged In: YES >> user_id=687084 >> Originator: YES >> >> We still need an addition to mplayer that does the work. >> >> As stated, I haven't gotten it to work with popen. Perhaps someone else >> can give it a try? >> >> > > W

Re: [Freevo-devel] Autocrop needs more samples

2006-12-01 Thread Duncan Webb
SourceForge.net wrote: > Feature Requests item #1591170, was opened at 2006-11-06 07:54 > Message generated for change (Comment added) made by dr7eus > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=446898&aid=1591170&group_id=46652 > > Please note that this messa

Re: [Freevo-devel] Movie error

2006-12-01 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-12-01 at 18:10 +0100, Dirk Meyer wrote: >> 1. Several people sent patches, I don't know about all of >>them. Keeping track of this wasn't on my list that days. > > Did you mention them in the cvs log? Maybe, I did not check because of the other deps. >>

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Duncan Webb
Duncan Webb wrote: > Dirk Meyer wrote: >> Jason Tackaberry wrote: >>> On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote: Unicode in Python sucks! >>> I wouldn't say it sucks. It has some warts, but overall I think it's >>> not bad. Why do you think it sucks? >> unicode('ö') always raises a

Re: [Freevo-devel] Movie error

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 18:10 +0100, Dirk Meyer wrote: > 1. Several people sent patches, I don't know about all of >them. Keeping track of this wasn't on my list that days. Did you mention them in the cvs log? > 2. We use EyeD3 and libdvdread, both GPL. The cddb code is also copied >from a

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 17:42 +0100, Dirk Meyer wrote: > unicode('ö') always raises an UnicodeDecodeError because I can't set > the default encoding, it is always ascii. Yes, fair enough. Although there is the reload hack to set the default encoding: import sys reload(sys)

Re: [Freevo-devel] Movie error

2006-12-01 Thread Dirk Meyer
Jason Tackaberry wrote: >> but maybe we want to use some information from kaa.metadata in the >> future which is GPL. Maybe the best way would be to move the movie >> stuff from canvas/candy to popcorn. > > I forget, why does kaa.metadata need to be GPL again? 1. Several people sent patches, I don

Re: [Freevo-devel] Movie error

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 17:48 +0100, Dirk Meyer wrote: > I wonder why people use kaa.canvas and other kaa modules. I don't mind > that you do, that is one reason why we created kaa and moved stuff out > of freevo, but it would be nice to know. Is it something similar to > Freevo? GPL or closed source

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 17:26 +0100, Hans Meine wrote: > But Duncan asked for Unicode strings, how can those be latin8 or utf-8? Well, there's an ambiguity there: unicode strings, or unicode objects? If he was asking about the internal representation of unicode objects, your answer is thorough. Inf

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Duncan Webb
Dirk Meyer wrote: > Jason Tackaberry wrote: >> On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote: >>> Unicode in Python sucks! >> I wouldn't say it sucks. It has some warts, but overall I think it's >> not bad. Why do you think it sucks? > > unicode('ö') always raises an UnicodeDecodeError bec

Re: [Freevo-devel] Movie error

2006-12-01 Thread Dirk Meyer
"Andre Henrique Campos" wrote: > Hello all, > > The code below doesn't work. > > test.py > - > import kaa.canvas > > canvas = kaa.canvas.X11Canvas((640,480)) > canvas_movie = kaa.canvas.Movie() > canvas.add_child(canvas_movie) > movie = 'abc6.avi' > c

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote: >> Unicode in Python sucks! > > I wouldn't say it sucks. It has some warts, but overall I think it's > not bad. Why do you think it sucks? unicode('ö') always raises an UnicodeDecodeError because I can't set the defau

Re: [Freevo-devel] kaa.popcorn design questions

2006-12-01 Thread Hans Meine
On Friday 01 December 2006 16:54, Dirk Meyer wrote: > Is there a way to detect that xine has no mp3 support? Next question: > can we play an avi? Yes we can if it has ac3 sound, no, we can't if it > is mp3. Gstreamer with all its plugins is even worse. The same question came up recently on kde-core

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Hans Meine
On Friday 01 December 2006 17:26, Hans Meine wrote: > I wonder if there should be an additional filename_to_unicode function > which uses sys.getfilesystemencoding() instead of strutils.ENCODING? > > def path_to_unicode(s): ..which I forgot to attach as patch, and also I wanted to post this link:

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Duncan Webb
Jason Tackaberry wrote: > On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote: >> Unicode in Python sucks! > > I wouldn't say it sucks. It has some warts, but overall I think it's > not bad. Why do you think it sucks? > > >>> First, when a string is a Unicode string does this mean that every >

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Duncan Webb
Dirk Meyer wrote: > Hi > > Duncan Webb wrote: >> I've a question about Python's Unicode handling and hope that someone >> can help. > > Unicode in Python sucks! Completely agree >> First, when a string is a Unicode string does this mean that every >> character is 2 or 4 bytes wide? > > No idea

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Hans Meine
On Friday 01 December 2006 16:46, Jason Tackaberry wrote: > On Fri, 2006-12-01 at 16:36 +0100, Duncan Webb wrote: > > First, when a string is a Unicode string does this mean that every > > character is 2 or 4 bytes wide? > > Not necessarily. Depends on the encoding. This isn't the case for > lati

Re: [Freevo-devel] Movie error

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 13:58 -0200, Andre Henrique Campos wrote: > The code below doesn't work. > > test.py > - > import kaa.canvas > > canvas = kaa.canvas.X11Canvas((640,480)) > canvas_movie = kaa.canvas.Movie() > canvas.add_child(canvas_movie) > mo

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote: > Unicode in Python sucks! I wouldn't say it sucks. It has some warts, but overall I think it's not bad. Why do you think it sucks? > > First, when a string is a Unicode string does this mean that every > > character is 2 or 4 bytes wide? >

[Freevo-devel] Movie error

2006-12-01 Thread Andre Henrique Campos
Hello all, The code below doesn't work. test.py - import kaa.canvas canvas = kaa.canvas.X11Canvas((640,480)) canvas_movie = kaa.canvas.Movie() canvas.add_child(canvas_movie) movie = 'abc6.avi' canvas_movie.open(movie) canvas_movie.play() kaa.main()

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Dirk Meyer
Jason Tackaberry wrote: > For purposes of displaying a filename you can then convert to unicode > for proper display. kaa.strutils.str_to_unicode attempts to do the > right thing when you don't know whether a string is encoded latin1 or > utf8. (kaa.strutils is in kaa.base, you can just copy that

[Freevo-devel] kaa.popcorn design questions

2006-12-01 Thread Dirk Meyer
Hi, I have something to discuss for kaa.popcorn and hope for some input. First of all, kaa.popcorn can use mplayer, xine and gstreamer as backend. But what is the best backend to use? How can we know if the player can handle the file? Right now, there is an incomplete list of extentions the backen

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Dirk Meyer
Hi Duncan Webb wrote: > I've a question about Python's Unicode handling and hope that someone > can help. Unicode in Python sucks! > First, when a string is a Unicode string does this mean that every > character is 2 or 4 bytes wide? No idea. > Second, file names from a fat system seem to be i

Re: [Freevo-devel] Unicode help

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 16:36 +0100, Duncan Webb wrote: > First, when a string is a Unicode string does this mean that every > character is 2 or 4 bytes wide? Not necessarily. Depends on the encoding. This isn't the case for latin1 and UTF8. > Second, file names from a fat system seem to be in la

[Freevo-devel] Unicode help

2006-12-01 Thread Duncan Webb
Hi all, I've a question about Python's Unicode handling and hope that someone can help. First, when a string is a Unicode string does this mean that every character is 2 or 4 bytes wide? Second, file names from a fat system seem to be in latin1 but on the ext2/3 are in utf8. How can they be proc

Re: [Freevo-devel] Separate packages for kaa modules

2006-12-01 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-12-01 at 11:59 +0100, Dirk Meyer wrote: >> Not each. Each module needs kaa.base, kaa.beacon needs >> kaa.metadata. But others like kaa.xine and kaa.imlib2 don't have a >> dependency to eachother. > > kaa.xine has a "soft" dependency on kaa.display -- that is,

Re: [Freevo-devel] Separate packages for kaa modules

2006-12-01 Thread Jason Tackaberry
On Fri, 2006-12-01 at 11:59 +0100, Dirk Meyer wrote: > Not each. Each module needs kaa.base, kaa.beacon needs > kaa.metadata. But others like kaa.xine and kaa.imlib2 don't have a > dependency to eachother. kaa.xine has a "soft" dependency on kaa.display -- that is, it will work without kaa.display

[Freevo-devel] [ freevo-Bugs-1606699 ] unichrome mpeg playback

2006-12-01 Thread SourceForge.net
Bugs item #1606699, was opened at 2006-12-01 12:22 Message generated for change (Comment added) made by duncanwebb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1606699&group_id=46652 Please note that this message will contain a full copy of the comment

[Freevo-devel] [ freevo-Bugs-1606699 ] unichrome mpeg playback

2006-12-01 Thread SourceForge.net
Bugs item #1606699, was opened at 2006-12-01 12:22 Message generated for change (Comment added) made by sijben You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1606699&group_id=46652 Please note that this message will contain a full copy of the comment thr

[Freevo-devel] [ freevo-Bugs-1606699 ] unichrome mpeg playback

2006-12-01 Thread SourceForge.net
Bugs item #1606699, was opened at 2006-12-01 12:22 Message generated for change (Comment added) made by duncanwebb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1606699&group_id=46652 Please note that this message will contain a full copy of the comment

[Freevo-devel] [ freevo-Feature Requests-1606737 ] Refresh image of game if item is selected

2006-12-01 Thread SourceForge.net
Feature Requests item #1606737, was opened at 2006-12-01 12:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446898&aid=1606737&group_id=46652 Please note that this message will contain a

[Freevo-devel] [ freevo-Bugs-1518333 ] Video ending and still black screen

2006-12-01 Thread SourceForge.net
Bugs item #1518333, was opened at 2006-07-06 20:57 Message generated for change (Comment added) made by sijben You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1518333&group_id=46652 Please note that this message will contain a full copy of the comment thr

[Freevo-devel] [ freevo-Bugs-1606699 ] unichrome mpeg playback

2006-12-01 Thread SourceForge.net
Bugs item #1606699, was opened at 2006-12-01 12:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1606699&group_id=46652 Please note that this message will contain a full copy o

Re: [Freevo-devel] Separate packages for kaa modules

2006-12-01 Thread Dirk Meyer
TC Wan wrote: > I can build them separately, as you describe. It's just a matter of > figuring out the individual module dependencies and putting them in > different SPEC files. Wish there was an easy way to create a meta-spec > file for the different modules though. Each module has a gentoo ebuil

[Freevo-devel] Separate packages for kaa modules

2006-12-01 Thread TC Wan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Evan, Which distro are you packaging for? I can build them separately, as you describe. It's just a matter of figuring out the individual module dependencies and putting them in different SPEC files. Wish there was an easy way to create a meta-spe