for some time now i'm trying to change color depth of mpeg2 video while converting it to xvid. mencoder creates xvid file with 12bpp, but if i try to convert same mpeg2 video to divx (with lavc) mencoder creates divx with 24bpp (and the difference is significant). how do i change pixel color depth (bpp, biBitCount)? configuration info: MPlayer 1.0pre6-3.2.3 divx: "c:\Program Files\mplayer\mencoder" dvd://1 -dvd-device "H:/filmovi/movie" -oac lavc -ofps 25.000 -vf crop=704:576:8:0,hqdn3d=2:1:2,scale=528:432 -ovc lavc -lavcopts acodec=ac3:abitrate=96:vcodec=mpeg4:vbitrate=1059:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 -o h:/movie.avi xvid: "c:\Program Files\mplayer\mencoder" dvd://1 -dvd-device "H:/filmovi/movie" -oac lavc -ofps 25.000 -vf crop=704:576:8:0,hqdn3d=2:1:2,scale=528:432 -ovc xvid -lavcopts acodec=ac3:abitrate=96 -xvidencopts bvhq=1:vhq=4:hq_ac:trellis:gmc:qpel:me_quality=6:chroma_me:chroma_opt:bitrate=1059:pass=1 -o h:/movie.avi
On Sat, 5 Nov 2005 22:55:26 +0100 Aleksandar Uzelac <uzi@galeb.etf.bg.ac.yu> wrote:
mencoder creates xvid file with 12bpp, but if i try to convert same mpeg2 video to divx (with lavc) mencoder creates divx with 24bpp (and the difference is significant).
Really? How is it a significant difference, exactly?
how do i change pixel color depth (bpp, biBitCount)?
Really? How is it a significant difference, exactly?
when played with mplayer saturation is increased for divx type, makes the difference rather visible. mplayer reproduces xvid correctly (just like the original mpeg2). i would like to document this with images, but i cannot print screen for divx image (i get green chroma key instead, print screen for xvid works fine). when i use -vo png to extract frames, both divx and xvid images look like original mpeg2, so then i realised that problem is probably not with the mencoder, but with the mplayer (it playes divx video with increased saturation?). resulting png images are avilable for inspection, but since all of them are practicly the same, there is no reason to post them. if anyone knows how to extract frames while mplayer plays divx (like with print screen, the one that now returns green chroma key), that wold be worth posting.
ok, now i understand why i couldn't find how to change bpp...
when played with mplayer saturation is increased for divx type, makes the difference rather visible. mplayer reproduces xvid correctly (just like the original mpeg2).
check this out. usually i would play divx first and xvid second, and then compare results. moments ago i played xvid first and divx second - and got oposite results! xvid was played with more saturation, while divx video was reproduced ok. final test is to play two of a kind at the same time, which i did, and got expected results - the one played first was extra saturated. i ran this test on two divx, two xvid, two mpeg2. it's time for a new topic on mplayer list...
Hi Aleksandar Uzelac! On 2005.11.06 at 23:13:51 +0100, Aleksandar Uzelac wrote next:
when played with mplayer saturation is increased for divx type, makes the difference rather visible. mplayer reproduces xvid correctly (just like the original mpeg2).
check this out. usually i would play divx first and xvid second, and then compare results. moments ago i played xvid first and divx second - and got oposite results! xvid was played with more saturation, while divx video was reproduced ok. final test is to play two of a kind at the same time, which i did, and got expected results - the one played first was extra saturated. i ran this test on two divx, two xvid, two mpeg2.
Hm. You sure you aren't using "pp" filter (both in mencoder and mplayer), are you? pp=al is turned on by default, and any saturation comparsion is useless if brightness and contrast float through the video. -- Vladimir
Hm. You sure you aren't using "pp" filter (both in mencoder and mplayer), are you? pp=al is turned on by default, and any saturation comparsion is useless if brightness and contrast float through the video.
no, i checked, and double checked. it must be up to the player. here is my config file: vo=directx ao=win32 double=yes font="c:/Program Files/mplayer/font/font.desc" autosync=100 framedrop=no quiet=no ffactor=0.75 #adapter=2
On Sunday 06 November 2005 19:56, Aleksandar Uzelac wrote:
i cannot print screen for divx image (i get green chroma key instead, print screen for xvid works fine).
Make sure you are using the same vo for both, give it explicitly on the command line.
Monday, November 7, 2005, 2:10:23 AM, you wrote:
Make sure you are using the same vo for both, give it explicitly on the command line.
you got it! although vo is directx in both cases, here is what mplayer reports in the same line: for the first-played video: VO: [directx] 720x576 => 768x576 Planar YV12 for the second-played video: VO: [directx] 720x576 => 768x576 BGRA and here is the reason why (not that i get it): for first-played: Starting playback... VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [directx] 720x576 => 768x576 Planar YV12 A: 50.6 V: 50.6 A-V: 0.029 ct: 0.106 122/122 1% 0% 1.9% 0 0 for second-played: Starting playback... VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. SwScaler: using unscaled Planar YV12 -> BGRA special converter VO: [directx] 720x576 => 768x576 BGRA A: 0.9 V: 0.9 A-V: -0.002 ct: 0.050 24/ 24 6% 5% 0.0% 0 0 since i went this far, i took trouble to photograph two images from the movie, they can be found here: http://galeb.etf.bg.ac.yu/~uzi/slike/first-played.jpg http://galeb.etf.bg.ac.yu/~uzi/slike/second-played.jpg now what?
On Monday 07 November 2005 05:27, Aleksandar Uzelac wrote:
VO: [directx] 720x576 => 768x576 Planar YV12
Hardware accelerated.
VO: [directx] 720x576 => 768x576 BGRA
Not hardware accelerated. You'll usually only have one hardware accelerated surface available. The accelerated surface might also be set to different brightness and constrast than the non-accelerated surface, which would account for any brightness differences. The scaling might also be of different quality.
VO: [directx] 720x576 => 768x576 Planar YV12
Hardware accelerated.
VO: [directx] 720x576 => 768x576 BGRA
Not hardware accelerated.
off topic, but isn't GL_BGRA suppose to be the only hardware accelerated fixed point type (like in PBO extension)? or acceleration is not related to texture dowload?
You'll usually only have one hardware accelerated surface available. The accelerated surface might also be set to different brightness and contrast than the non-accelerated surface, which would account for any brightness differences. The scaling might also be of different quality.
i went to Video Overlay Settings dialog, and there it was, saturation was set to 114%. i reduced it to 100% and both videos look alike now. tnx for everything.
Hi, On 11/5/05, Aleksandar Uzelac <uzi@galeb.etf.bg.ac.yu> wrote:
for some time now i'm trying to change color depth of mpeg2 video while converting it to xvid. mencoder creates xvid file with 12bpp, but if i try to convert same mpeg2 video to divx (with lavc) mencoder creates divx with 24bpp (and the difference is significant).
Rule of thumb #1: in lossless encoding trust your eyes, not what a program full of easter eggs tell you ;-P Rule of thumb #2: saying that lavc generates divx files if not very respectful of the work done by lavc devs, please bear in mind divx is just a bastardised MPEG-4 ASP when lavc really does conform to the norm. Guillaume -- Reading doesn't hurt, really! -- Dominik 'Rathann' Mierzejewski
Rule of thumb #2: saying that lavc generates divx files if not very respectful of the work done by lavc devs, please bear in mind divx is just a bastardised MPEG-4 ASP when lavc really does conform to the norm.
point taken (i only addopted mplayer term in brackets [DIVX]).
On Sun, Nov 06, 2005 at 07:02:01PM +0100, Aleksandar Uzelac wrote:
Rule of thumb #2: saying that lavc generates divx files if not very respectful of the work done by lavc devs, please bear in mind divx is just a bastardised MPEG-4 ASP when lavc really does conform to the norm.
point taken (i only addopted mplayer term in brackets [DIVX]).
This means you're using an ancient version of mplayer/mencoder. Please upgrade! Rich
On Sun, 6 Nov 2005 14:33:05 +0100 Guillaume POIRIER <poirierg@gmail.com> wrote:
Rule of thumb #1: in lossless encoding trust your eyes, not what a program full of easter eggs tell you ;-P
I assume by "lossless" you mean "not lossless" :-)
On Sat, Nov 05, 2005 at 10:55:26PM +0100, Aleksandar Uzelac wrote:
for some time now i'm trying to change color depth of mpeg2 video while converting it to xvid. mencoder creates xvid file with 12bpp, but if i try to convert same mpeg2 video to divx (with lavc) mencoder creates divx with 24bpp (and the difference is significant).
No it does not. This 12/24 bpp crap in the header means absolutely nothing. Ignore it. BTW it's a bug that divx labels it 24bpp. The quality difference is presumably because you're using bad encoding options. Rich
On Sat, Nov 05, 2005 at 10:55:26PM +0100, Aleksandar Uzelac wrote:
for some time now i'm trying to change color depth of mpeg2 video while converting it to xvid. mencoder creates xvid file with 12bpp, but if i try to convert same mpeg2 video to divx (with lavc) mencoder creates divx with 24bpp (and the difference is significant).
how do i change pixel color depth (bpp, biBitCount)?
configuration info:
MPlayer 1.0pre6-3.2.3
divx: "c:\Program Files\mplayer\mencoder" dvd://1 -dvd-device "H:/filmovi/movie" -oac lavc -ofps 25.000 -vf crop=704:576:8:0,hqdn3d=2:1:2,scale=528:432 -ovc lavc -lavcopts acodec=ac3:abitrate=96:vcodec=mpeg4:vbitrate=1059:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 -o h:/movie.avi
xvid: "c:\Program Files\mplayer\mencoder" dvd://1 -dvd-device "H:/filmovi/movie" -oac lavc -ofps 25.000 -vf crop=704:576:8:0,hqdn3d=2:1:2,scale=528:432 -ovc xvid -lavcopts acodec=ac3:abitrate=96 -xvidencopts bvhq=1:vhq=4:hq_ac:trellis:gmc:qpel:me_quality=6:chroma_me:chroma_opt:bitrate=1059:pass=1 -o h:/movie.avi
one more thing... this IS NOT DIVX!!! it's lavc's mpeg4 encoder. and you have to specify proper -lavcopts... at the very least do both passes. rich
The quality difference is presumably because you're using bad encoding options.
you stand corrected;)
you have to specify proper -lavcopts... at the very least do both passes.
i don't get it, can you specify which -lavcopts is not proper? don't worry about second pass.
point taken (i only adopted mplayer term in brackets [DIVX]).
This means you're using an ancient version of mplayer/mencoder. Please upgrade!
as i stated in my initial post, i'm using MPlayer 1.0pre6-3.2.3 i will upgrade when "pre" is removed from distribution name. tnx for suggestion.
On Monday 07 November 2005 05:43, Aleksandar Uzelac wrote:
i will upgrade when "pre" is removed from distribution name. tnx for suggestion.
I'll suggest dropping "pre" from the versioning the next time it's being argued ;)
On Mon, 7 Nov 2005 04:43:57 +0100 Aleksandar Uzelac <uzi@galeb.etf.bg.ac.yu> wrote:
i'm using MPlayer 1.0pre6-3.2.3 i will upgrade when "pre" is removed from distribution name.
I know "pre" makes it sound like it's a beta, or something like that, but it's really not the case. This is just the crazy version system MPlayer users. "pre" is basically just another "."
Aleksandar Uzelac wrote:
you have to specify proper -lavcopts... at the very least do both passes.
i don't get it, can you specify which -lavcopts is not proper? don't worry about second pass.
"Proper" can vary considerably depending on the specific case at hand, but as he points out, using two-pass encoding can potentially produce a vast improvement in quality even with no other change.
point taken (i only adopted mplayer term in brackets [DIVX]).
This means you're using an ancient version of mplayer/mencoder. Please upgrade!
as i stated in my initial post, i'm using MPlayer 1.0pre6-3.2.3 i will upgrade when "pre" is removed from distribution name. tnx for suggestion.
(I'd be rather surprised if it had been intended as a "suggestion", rather than as a "if you don't do this, don't expect us to help you". Though I'll admit that I've been surprised before.) First: As other people have pointed out, "pre" in MPlayer version numbers does not mean what it might readily be expected to mean (in point of fact, the only time I remember seeing a less sane version numbering system being used was in ADoM - which at one point had an '0.9.9 gamma 16 prerelease 2' as its long-term, stable release version). Second: There is in fact a noticeably more recent, if still quite outdated, release version available, albeit with the "pre" still present: 1.0pre7 (the other numbers are package-specific, and not actually related to the MPlayer project itself). Third: Much of the time, people who *are* using the most recent release version are *still* told to upgrade - to the current CVS version. Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times. Using any significantly outdated version is almost never advisable. Fourth: There have been a number of changes to the capabilities of MEncoder since 1.0pre6. The people on this list are going to be currently familiar with either the usage of the most recent release version, pre7, or the current CVS version (which is actually far more recent than pre7); likewise, most of the available documentation other than the (release package's version of the) man page covers versions later than the one you're asking about. The odds that people will be even *able*, much less willing, to easily give you advice diminishes - sometimes sharply - the older the version you're using is. Fifth: Coming to ask for help, but refusing to follow advice without giving a Very Good Reason for it (and "I don't want to use a pre-release version" is not an especially good reason in this case) - well, I can respect the position, since I myself hold quite adamantly to a philosophy of "who are *you* to tell me what to do?", but it's still decidedly arrogant... and thus not conducive to getting people to actually *want* to help you. This may be more of a rant than is remotely warranted, but there it is anyway. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
you have to specify proper -lavcopts... at the very least do both passes.
i don't get it, can you specify which -lavcopts is not proper? don't worry about second pass.
"Proper" can vary considerably depending on the specific case at hand, but as he points out, using two-pass encoding can potentially produce a vast improvement in quality even with no other change.
issues above might be a cultural thing, but the thing is that i considered all three posts from Rich to be very rude. i tried to answer as polite as i could, given the circumstances. if one bothers to take a look at his posts, one could see that Rich stated (on more that one occasion, in several posts) that "bad encoding options" are presumably the cause of the problem, but refused to state which precisely (since i listed all options in the first post). i don't get this second pass issue; i thought that stating vpass=1 is sufficient enough for everybody to understand that there is a second pass coming after (otherwise vpass=1 would not be stated at all). i took some time and trouble to write a good introductory post (short, concise, with keywords and configuration), and i thought that would be appriciated. here is an argument to end this issue: vpass=<1-3> Activates internal two (or three) pass mode, only specify if you wish to use two (or three) pass encoding. 1 first pass (also see turbo) 2 second pass 3 Nth pass (second and third passes of three pass encoding)
Fifth: Coming to ask for help, but refusing to follow advice without giving a Very Good Reason for it (and "I don't want to use a pre-release
there is a very good reason, but it will probably be misunderstood. i work on a highly conservative platform where only a couple of installations (not that mplayer needs to be installed) are allowed during the year. target number is zero changes per year. so, i only change something if something must be changed to provide new required functionality (which is not the case here). at last, i would like to thank everyone once again for the help provided.
Aleksandar Uzelac wrote:
i don't get it, can you specify which -lavcopts is not proper? don't worry about second pass.
"Proper" can vary considerably depending on the specific case at hand, but as he points out, using two-pass encoding can potentially produce a vast improvement in quality even with no other change.
issues above might be a cultural thing, but the thing is that i considered all three posts from Rich to be very rude. i tried to answer as polite as i could, given the circumstances.
It is always possible to be entirely polite even if the other person is being rude. Yes, Rich is known as perhaps the hardest member of the development team to get along with (except for one former member who shows up to be an ass from time to time), but the reason he's tolerated despite that is that he does usually know what he's talking about.
if one bothers to take a look at his posts, one could see that Rich stated (on more that one occasion, in several posts) that "bad encoding options" are presumably the cause of the problem, but refused to state which precisely (since i listed all options in the first post).
This could easily enough be seen as a matter of general aggravation, since "inappropriate options" is just about the most common type of problem asked about, and I imagine that re-explaining much the same thing can get rather tiring after a while. There is at least one alternative explanation which doesn't look bad, but I'm having a hard time expressing what it would be. It is also entirely posible, however, that he was just being - "lazy" isn't quite the right word, since he's certainly under no obligation to help out, but it's the only one which springs to mind.
i don't get this second pass issue; i thought that stating vpass=1 is sufficient enough for everybody to understand that there is a second pass coming after (otherwise vpass=1 would not be stated at all).
No, the mere presence of "vpass=1" does not automatically signal to people that you are going to do a second pass. It's not unheard of for some people to put that in there anyway, under the mistaken impression that it's necessary in order to tell the program to do only one pass, or to have it in from a two-pass setup and not bother to remove it. The standard practice, if one is doing a two-pass encode, is to do one of three things: list both command lines (especially advisable if some options are different between passes, which is occasionally a good idea), say something like "vpass=[12]", or explicitly state that you're doing two passes.
i took some time and trouble to write a good introductory post (short, concise, with keywords and configuration), and i thought that would be appriciated. here is an argument to end this issue:
vpass=<1-3> Activates internal two (or three) pass mode, only specify if you wish to use two (or three) pass encoding.
If everyone were fully competent and guaranteed to have read the man page in detail and made proper use of it, then this would indeed almost certainly suffice to end the issue. Since that isn't the case, however...
Fifth: Coming to ask for help, but refusing to follow advice without giving a Very Good Reason for it (and "I don't want to use a pre-release
there is a very good reason, but it will probably be misunderstood. i work on a highly conservative platform where only a couple of installations (not that mplayer needs to be installed) are allowed during the year. target number is zero changes per year. so, i only change something if something must be changed to provide new required functionality (which is not the case here).
Okay, yes, that's a good enough reason - in fact, exactly the kind of reason I was thinking of. Carry on. (Though you might want to wrap your outgoing messages at no more than 80 columns, and separate paragraphs by a blank line... the fact that you don't probably derives from the fact that you apparently send out HTML mail, judging by the other copy of this message I received.) -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story... I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov. Every other date I'd use wouldn't even get that far, because mplayer compilation would fail from some other bug before it got to the libtheora code... Now, maybe I was just really, really unlucky in the dates I used, and just happened to hit the only 4 serious compilation failures in Oct, but that's obviously unlikely. I don't understand why everyone else thinks CVS is as stable as releases. Those are only the compilation errors, who knows how often it has segfaults.
On Mon, Nov 07, 2005 at 12:08:19PM -0800, RC wrote:
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story...
I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov.
Every other date I'd use wouldn't even get that far, because mplayer compilation would fail from some other bug before it got to the libtheora code... Now, maybe I was just really, really unlucky in the dates I used, and just happened to hit the only 4 serious compilation failures in Oct, but that's obviously unlikely.
I don't understand why everyone else thinks CVS is as stable as releases. Those are only the compilation errors, who knows how often it has segfaults.
You must be doing something really strange, because no one else I know has encountered such a problem. Rich
Rich Felker wrote:
On Mon, Nov 07, 2005 at 12:08:19PM -0800, RC wrote:
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story...
I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov.
You were doing a binary search? Wow, that's efficient, or so I hear. I would have just looked here: http://mplayerhq.hu/pipermail/mplayer-cvslog/
On Mon, Nov 07, 2005 at 05:12:09PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
On Mon, Nov 07, 2005 at 12:08:19PM -0800, RC wrote:
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story...
I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov.
You were doing a binary search? Wow, that's efficient, or so I hear.
I would have just looked here:
Huh? Wtf are you talking about? I get the feeling you don't know what binary search means.. :) Rich
Rich Felker wrote:
On Mon, Nov 07, 2005 at 05:12:09PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
On Mon, Nov 07, 2005 at 12:08:19PM -0800, RC wrote:
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story...
I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov.
You were doing a binary search? Wow, that's efficient, or so I hear.
I would have just looked here:
Huh? Wtf are you talking about? I get the feeling you don't know what binary search means.. :)
This is what it means to me: http://www.nist.gov/dads/HTML/binarySearch.html It means something else to you?
On Mon, Nov 07, 2005 at 09:33:44PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
On Mon, Nov 07, 2005 at 05:12:09PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
On Mon, Nov 07, 2005 at 12:08:19PM -0800, RC wrote:
On Mon, 07 Nov 2005 12:41:49 -0500 The Wanderer <inverseparadox@comcast.net> wrote:
Unlike many projects, MPlayer's CVS is intended to be stable and usable at almost all times.
Not to flame anyone, but that brings up an interesting recent CVS story...
I was doing a binary CVS search, trying to locate a change that caused CVS to be unable to compile (libtheora problem) which was sometime between the end of Sep and the Begining of Nov.
You were doing a binary search? Wow, that's efficient, or so I hear.
I would have just looked here:
Huh? Wtf are you talking about? I get the feeling you don't know what binary search means.. :)
This is what it means to me:
http://www.nist.gov/dads/HTML/binarySearch.html
It means something else to you?
No, I guess I'm just totally confused about what you meant by your email then.. Rich
Rich Felker wrote:
On Mon, Nov 07, 2005 at 09:33:44PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
Huh? Wtf are you talking about? I get the feeling you don't know what binary search means.. :)
This is what it means to me:
http://www.nist.gov/dads/HTML/binarySearch.html
It means something else to you?
No, I guess I'm just totally confused about what you meant by your email then..
My guess is that he meant that performing a binary search on a CVS tree to track down the cause of a breakage is inefficient, because of the time needed to compile and test each new candidate manually (and I can testify to the same, having done a few on the Wine tree) and/or the bandwidth necessary to jump back and forth in the CVS timeline; I understood him as saying that since in this case the nature of the problem was known, it would have been better to look in the CVS-log mailing list for commits which could have caused that problem and then just test those. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
The Wanderer wrote:
Rich Felker wrote:
On Mon, Nov 07, 2005 at 09:33:44PM -0800, Phil Ehrens wrote:
Rich Felker wrote:
Huh? Wtf are you talking about? I get the feeling you don't know what binary search means.. :)
This is what it means to me:
http://www.nist.gov/dads/HTML/binarySearch.html
It means something else to you?
No, I guess I'm just totally confused about what you meant by your email then..
My guess is that he meant that performing a binary search on a CVS tree to track down the cause of a breakage is inefficient, because of the time needed to compile and test each new candidate manually (and I can testify to the same, having done a few on the Wine tree) and/or the bandwidth necessary to jump back and forth in the CVS timeline; I understood him as saying that since in this case the nature of the problem was known, it would have been better to look in the CVS-log mailing list for commits which could have caused that problem and then just test those.
bingo.
On Mon, 7 Nov 2005 17:12:09 -0800 Phil Ehrens <phil@slug.org> wrote:
You were doing a binary search? Wow, that's efficient, or so I hear.
Uses up some CPU cycles, but not much bandwidth, and it's doesn't take-up much of my time. So it's plenty effecient, in every way that matters. Better than trying to manually reverse each change from CVS-log, IMHO.
On Mon, 7 Nov 2005 20:13:28 -0500 Rich Felker <dalias@aerifal.cx> wrote:
You must be doing something really strange,
Doesn't seem at all strange to me: ./configure --confdir=/etc/mplayer --disable-debug --enable-largefiles --enable-jpeg --enable-png --enable-vorbis --enable-xvmc --with-toolamedir=/usr/local/include/libtoolame --enable-theora --enable-live --with-livelibdir=/usr/lib/live --enable-libdts && make
because no one else I know has encountered such a problem.
And I'm sure you have every single bugreport from last month memorized...
On Tue, Nov 08, 2005 at 04:53:41AM -0800, RC wrote:
On Mon, 7 Nov 2005 20:13:28 -0500 Rich Felker <dalias@aerifal.cx> wrote:
You must be doing something really strange,
Doesn't seem at all strange to me:
./configure --confdir=/etc/mplayer --disable-debug --enable-largefiles --enable-jpeg --enable-png --enable-vorbis --enable-xvmc --with-toolamedir=/usr/local/include/libtoolame --enable-theora --enable-live --with-livelibdir=/usr/lib/live --enable-libdts && make
Using any --enable option is just begging for compile errors! Rich
On Tue, 8 Nov 2005 10:41:29 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Using any --enable option is just begging for compile errors!
I prefer errors when something breaks, rather than silently being compiled lacking needed functionality. All those libs ARE properly installed and working (at least with the less-buggy versions of mplayer) , so there's no reason enabling them should cause a problem.
On Wednesday 09 November 2005 02:05, RC wrote:
All those libs ARE properly installed and working (at least with the less-buggy versions of mplayer) , so there's no reason enabling them should cause a problem.
Yet another good reason why they should all be renamed into --force-foo rather than --enable-foo, since enable is the default anyway :)
On Wed, 09 Nov 2005 02:18:57 +0200 Jan Knutar <jknutar@nic.fi> wrote:
Yet another good reason why they should all be renamed into --force-foo rather than --enable-foo, since enable is the default anyway :)
Sorry, but I seem to have missed the reason you are referring to.
Jan Knutar wrote:
On Wednesday 09 November 2005 02:05, RC wrote:
All those libs ARE properly installed and working (at least with the less-buggy versions of mplayer), so there's no reason enabling them should cause a problem.
Yet another good reason why they should all be renamed into --force-foo rather than --enable-foo, since enable is the default anyway :)
No, enable is not the default; autodetection is the default. We've been over this argument multiple times. There has, IIRC, been at least one proposal of an alternate system of configure option names which I would not have severe objections to, but nothing ever actually got committed (or, that I recall, even submitted). Please don't keep bringing it up to no good purpose. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
participants (8)
-
Aleksandar Uzelac -
Guillaume POIRIER -
Jan Knutar -
Phil Ehrens -
RC -
Rich Felker -
The Wanderer -
Vladimir Mosgalin