|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
wrong color count for subtitles.Folks,
While creating subtitles I found that some images are counting 1 too many colors. I create subtitles in QDVDAuthor and all of them have 3 colors but for some reason I get 4 colors counted when using spumux. See image below. It has only 3 colors but spumux reports 4 colors on my system. http://qdvdauthor.sf.net/b.png Now if I could solve this issue I could actually increase the color map to 4 colors total. Any help is appreciated. Varol :) Ps. I am using "Version: ImageMagick 6.2.5 04/09/06 Q16 http://www.imagemagick.org" PPs. mtpaint is a nice tool to check the color count. ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
|
|
Re: wrong color count for subtitles.On Mon, 2006-12-25 at 16:06 -0500, Varol wrote:
> Folks, > > While creating subtitles I found that some images are counting 1 too > many colors. > > I create subtitles in QDVDAuthor and all of them have 3 colors but for > some reason I get 4 colors counted when using spumux. Did you get dvdauthor from your distribution, from the Sourceforge release, or from the darcs repository? The Debian package includes a patch I made which will add transparency to the palette if it's not already included and if there's a spare palette entry. I don't remember whether this adds to the reported number of colours. > See image below. It has only 3 colors but spumux reports 4 colors on my > system. > http://qdvdauthor.sf.net/b.png > > Now if I could solve this issue I could actually increase the color map > to 4 colors total. Any help is appreciated. Is this an issue? Have you tried increasing the colour map to 4 colours yet? > Varol :) > Ps. I am using "Version: ImageMagick 6.2.5 04/09/06 Q16 > http://www.imagemagick.org" This isn't the version number of dvdauthor/spumux but of one of the libraries spumux uses. Ben. > PPs. mtpaint is a nice tool to check the color count. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong. ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
|
|
Re: wrong color count for subtitles.On 12/27/06, Ben Hutchings <ben@...> wrote:
> The Debian package includes a patch I made which will add transparency > to the palette if it's not already included and if there's a spare > palette entry. I don't remember whether this adds to the reported > number of colours. why did you do that? -- Scott ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
|
|
Re: wrong color count for subtitles.On Sun, 2007-01-07 at 11:35 -0800, Scott Smith wrote:
> On 12/27/06, Ben Hutchings <ben@...> wrote: > > The Debian package includes a patch I made which will add transparency > > to the palette if it's not already included and if there's a spare > > palette entry. I don't remember whether this adds to the reported > > number of colours. > > why did you do that? I found that my Panasonic standalone player and one of the software players (I forget which) would sometimes add a narrow strip of colour 0 along the bottom and right of subpictures. At a guess they may be padding to a multiple of 2 pixels. Usually colour 0 will be whatever colour is at the top left pixel of the subpicture and that's a border or background colour that's also present on the right and bottom edges, so this isn't noticeable. When that isn't the case, it becomes obvious. Ben. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong. ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
|
|
Re: wrong color count for subtitles.On 1/7/07, Ben Hutchings <ben@...> wrote:
> I found that my Panasonic standalone player and one of the software > players (I forget which) would sometimes add a narrow strip of colour 0 > along the bottom and right of subpictures. At a guess they may be > padding to a multiple of 2 pixels. Usually colour 0 will be whatever > colour is at the top left pixel of the subpicture and that's a border or > background colour that's also present on the right and bottom edges, so > this isn't noticeable. When that isn't the case, it becomes obvious. I have heard of the multiple-of-2 issue, but I haven't (yet) coded that in as a requirement (or a warning). Yeah, the specific colors have meaning, which spumux does not allow you to set. I always wondered if that mattered or not. Guess it does... -- Scott ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
|
|
Re: wrong color count for subtitles.On 1/7/07, Ben Hutchings <ben@...> wrote:
> I found that my Panasonic standalone player and one of the software > players (I forget which) would sometimes add a narrow strip of colour 0 > along the bottom and right of subpictures. At a guess they may be > padding to a multiple of 2 pixels. Usually colour 0 will be whatever > colour is at the top left pixel of the subpicture and that's a border or > background colour that's also present on the right and bottom edges, so > this isn't noticeable. When that isn't the case, it becomes obvious. I noticed my Pioneer will add a strip of color 0 if the bottom Y coordinate is odd. I just made it a warning if you use odd Y coordinates. I'm surprised about it happening on the right edge though. Can you test what happens if you make your X coordinates even? Does that cause the problem to go away? -- Scott ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dvdauthor-developer mailing list Dvdauthor-developer@... https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer |
| Free Forum Powered by Nabble | Forum Help |