Infoseite // red lettering on a black problem with DV Codec



Frage von Markus Knapp:


Hello!

I'm just working on a logo in a video system. The logo
contains a red lettering and the background is black. If I
the save as uncompressed video, everything looks good, if I
However, a DV-avi (Microsoft DV codec, progressive, ie not
interlaced) draus do, Frans the red font. But only the red,
not the white.
Here is a frame from the uncompress video:
http://www.markus-knapp.de/uncomp.jpg
And now from the DV:
http://www.markus-knapp.de/msdv.jpg
Located on the codec?
What could be the other reason?
Anyone know a useful work-around?

Gruß,

Markus

--
Markus Knapp * * * http://www.markus-knapp.de video film *
"We should all care about the future, because we are the rest
spend our lives there. "[Charles F. Kettering]



Space


Antwort von Ottfried Schmidt:

Markus Knapp wrote:

> I'm working on a logo in a video system. The logo
> contains a red lettering and the background is black. If I
> the save as uncompressed video, everything looks good, if I
> However, a DV-avi (Microsoft DV codec, progressive, ie not
> interlaced) draus do, Frans the red font. But only the red,
> not the white.

Jo, very clear. You searched for the glaring weakness in the DV
use YV12 color space was discovered.
The white characters remain intact, as in the luma plane is located.
The red, however, lies in the chroma plane, and has only half the vertical
Resolution.
This is called a chroma upsampling error.

> Is this the codec?

No, the computer system as such. And some probably synonymous in the
Program, which you with the editing. DV is always interlaced
(in memory size), so it should be synonymous, the Picture will be stored.
That should help somewhat.



Space


Antwort von Lutz Bojasch:

Ottfried Schmidt wrote:

> ... Luma-Plane
> Chroma-Plane ..
> Chroma Upsampling Error ..

You can know things!
:-) Gruß Lutz


Space


Antwort von Heiko Nocon:

Markus Knapp wrote:

> Is this the codec?

Yes and no.

It is up to the fact that DV is not really for this type of material
created in Second synonymous but surely the fact that the used
Codec for this type material is sub-optimal, ie a result
achieved, what is worse than is possible within the standard
would be. It is therefore the material insufficiently adjust.

> White anybody a useful work-around?

The first possible way of course would be a better DV codec to
use. Before you ask: No, I do not know a free or
favorable, the much better creates.

The next way would be garkeinen DV codec to use, because, as I said,
for this type of material data is not really thought. Whether this way
Question depends, of course, depends on what the material with later
should happen. If the target nunmal DV format is of course no
Way to get around DV. Is the format but no first preference, I would HuffYUV as
Recommend codec. When this material is likely the compression rate
at least in the magnitude of DV is probably even more
better.

When None of the two routes in question, because the target format definitely
DV must be better and no DV codec is available, then there is
only one way: You have to modify the material so that it
Expectations of the codec is better. Dhin this case, specifically:
Blurring of the material. This verringerst you the bandwidth of the
Codec in its importance to the overall impression overvalued Y-channel
and leaving more bitrate for the color.

The result of this operation is of course that the whole picture blurred
effect. When playing on normal TVs but you will hardly be a
Difference in the sharpness note the block artifacts
however, are positive but very noticeable by their absence. Total
So it's getting better.

Lossy compression is the art of compromise to be found.



Space


Antwort von Wolfgang Hauser:

Nocon Heiko wrote:

> only one way: You have to modify the material so that it
> Expectations of the codec is better. Dhin this case, specifically:

I see as synonymous.

> Blur of the material.

Yes and no.

> The result of this operation is of course that the whole picture blurred
> works.

Reasoning: This is a logo can be inserted. It is sufficient if only
this will be reshaped.
Instead Blur could perhaps synonymous quite different
shape, for example with gray instead of red


Space


Antwort von Markus Knapp:

Wolfgang Hauser wrote:
> Heiko Nocon wrote:
>> only one way: You have to modify the material so that it
>> Expectations of the codec is better. Dhin this case, specifically:
> See, I so synonymous.
>> Blur of the material.
> Yes and no.
>> The result of this operation is of course that the whole picture blurred
>> works.
> Mistake: This is a logo can be inserted. It is sufficient if only
> This will be reshaped.
> Instead you could blur it maybe quite different synonymous
> Shape, for example with gray instead of red

DVD would be finished, that I must feed as encoder not necessarily DV
take. But as my raw material for the most part, from DV and consists only
A few such logos must strictly with, I would already like to thank DV
remain. It's more manageable than synonymous HuffYUV or a mix of
both.
Times I will ask if I change the colors in the logo may change,
that would be the simplest.

Thx and greetings in any event,

Markus

--
Markus Knapp * * * http://www.markus-knapp.de video film *
"Learn to listen, very cheap Gelegenheitenklopfenmanchmalnur
quietly at your door! "[Life's Little Instruction Book]



Space


Antwort von Ottfried Schmidt:

Markus Knapp wrote:

> DVD would be finished, that I must feed as encoder not necessarily DV
> take. But as my raw material for the most part, from DV and consists only
> A few with such logos must be pure, I would already like to thank DV
> remain. It's more manageable than synonymous HuffYUV or a mix of
> both.

DVD uses MPEG2, and MPEG-use procedures ebenfallsYUV4: 2:0
than space. In 4:2:0, it is almost impossible for the colors
Red or blue really clean edges to generate

> Times I will ask if I change the colors in the logo may change,
> that would be the simplest.

Would it. If red, then no pure red, but one that
brighter, so that the Y-synonymous Plane (Pure Brightness, if you so
want the S / W Picture) with the font contains. This helps in 'ne
Quantity.

It would help somewhat synonymous, incidentally, of a light white font
Outline to miss.



Space


Antwort von Markus Knapp:

Ottfried Schmidt wrote:
> Markus Knapp wrote:
>> DVD would be finished, that I must feed as encoder not necessarily DV
>> take. But as my raw material for the most part, from DV and consists only
>> A few with such logos must be pure, I would already like to thank DV
>> remain. It's more manageable than synonymous HuffYUV or a mix of
>> both.
> DVD uses MPEG2, and MPEG-use procedures ebenfallsYUV4: 2:0
> As a space. In 4:2:0, it is almost impossible for the colors
> Red or blue really clean edges to generate

I can not confirm. I have times when the logo HuffYUV-avi
saved and then chased by TMPGEnc. The red font, while
slightly blurred (blurred or more than, for example, white or gray), but it
looks much better than the DV.

>> Times I will ask if I change the colors in the logo may change,
>> that would be the simplest.
> Would it. If red, then no pure red, but one that
> Brighter, so that the Y-synonymous Plane (Pure Brightness, if you so
> Want the S / W Picture) with the font contains. This helps in 'ne
> Quantity.

I've tried, so times a fairly bright red made.
Result: green spots at the edges. Looks even worse than the
pure red.

> It would help somewhat synonymous, incidentally, of a light white font
> Outline to miss.

Also tested here synonymous green spots.

I've got now for me the following schedule:
Where I the logos as a stand-alone animations hab, mach ich
HuffYUV -> MPG2 if it somehow in video sequences is integrated,
I take a light gray.

Now, I'm still testing, as with red and white looks, the
I need to be synonymous.

Gruß,

Markus

--
Markus Knapp * * * http://www.markus-knapp.de video film *
"Music is the shorthand of emotion." [Leo Tolstoy]



Space


Antwort von Ottfried Schmidt:

Markus Knapp wrote:

> Can I can not confirm. I have times when the logo HuffYUV-avi
>, and then chased by TMPGEnc. The red font, while
> slightly blurred (blurred or more than, for example, white or gray), but it
> looks much better than the DV.

That is no surprise. Because it is about and an En -
Decoding problem.

> Yeah, I tried, so times a fairly bright red made.
> Result: green spots at the edges. Looks even worse than the
> pure red.

Green stains? There's now absolutely no reasonable explanation.
Decodes What?

> Also tested here synonymous green spots.

See next above. Green as a result is anything but normal.

Generally, such things I would never in a lossy
Format, including DV and so is. And especially
MS-DV fit absolutely nothing.
Good is HuffYUV - in this case, but only in RGB mode.
For decoding of the images is synonymous depending on the system to errors,
partially offset by DirectShow, partially offset by graphics card drivers,
partially synonymous with player / decoder.
YUV 4:2:0 and specifically YV12 is fairly difficult to handle, before
particular, if synonymous nor is interlaced.

General Tips:
* No MS-DV, but rather the codec of MainConcept or Canopus
use.
* RGB images, if possible, not compressed cache.
* Pure colors (red, green, blue) to avoid.
* Decoding of video images from only tools that are not
DirectShow / DirectX use.
* Logos and lettering after creation no longer resize.
* For only the logos and fonts to use pixel sizes which are exactly (!) By
2 (vertical) or 4 (horizontal) are divisible
* Logos and fonts only in positions, which by 2
(vertical) or 4 (horizontal) are divisible.



Space



Space


Antwort von Andre Beck:

Ottfried Schmidt writes:
>
> If red, then no pure red, but one that
> Brighter, so that the Y-synonymous Plane (Pure Brightness, if you so
> Want the S / W Picture) with the font contains. This helps in 'ne
> Quantity.

Eh as a false impression: Even "pure red" contains a
Quantity Y. Just as much as it is lighter than black. Were there no
Y, then you would not see the color. With this trick will be to
PALplus the Helperzeilen hidden in the bar: pure C, not Y,
and already you can see (almost) nothing more, even though since "data" are.

The tip, not a pure red to use, especially not a relatively dark
Vollrot to black, is definitely worth its weight in gold. You see only the
Warnings at the end of DVDs try the Menu button to
escape: Red title and white text on black. The over -
written uglier smears from. Or you can see the header
several films, which use red on black, IIRC something like "Blade".
Since one can hardly read. So at best, or at least
a pastel color out of it.

--
The _S_anta _C_laus _O_peration
or "how to turn a complete illusion into a neverending money source"

-> Andre "ABPSoft" Beck ABP-RIPE Dresden, Germany, Spacetime <--


Space





slashCAM nutzt Cookies zur Optimierung des Angebots, auch Cookies Dritter. Die Speicherung von Cookies kann in den Browsereinstellungen unterbunden werden. Mehr Informationen erhalten Sie in unserer Datenschutzerklärung. Mehr Infos Verstanden!
RSS Suche YouTube Facebook Twitter slashCAM-Slash