Any MEncoder experts? Chroma in wrong field...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Any MEncoder experts? Chroma in wrong field...

B.P.
I posted this question on the MEncoder users list, but because ffmpeg
and MEncoder are similar, and since this list seems to have many more
users, I thought I'd mention it here too.

http://lists.mplayerhq.hu/pipermail/mencoder-users/2007-December/007655.html

I'll monitor both lists and my e-mail address for replies.  Thanks!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Any MEncoder experts? Chroma in wrong field...

Rich Felker
On Fri, Dec 14, 2007 at 03:57:03AM -0800, B.P. wrote:
> I posted this question on the MEncoder users list, but because ffmpeg
> and MEncoder are similar, and since this list seems to have many more
> users, I thought I'd mention it here too.
>
> http://lists.mplayerhq.hu/pipermail/mencoder-users/2007-December/007655.html
>
> I'll monitor both lists and my e-mail address for replies.  Thanks!

You need to use the interlaced option to the scale filter for
converting from RGB (png) to YUV. Read the man page for details.

Rich
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Any MEncoder experts? Chroma in wrong field...

B.P.
Rich Felker wrote:

> On Fri, Dec 14, 2007 at 03:57:03AM -0800, B.P. wrote:
>> I posted this question on the MEncoder users list, but because ffmpeg
>> and MEncoder are similar, and since this list seems to have many more
>> users, I thought I'd mention it here too.
>>
>> http://lists.mplayerhq.hu/pipermail/mencoder-users/2007-December/007655.html
>>
>> I'll monitor both lists and my e-mail address for replies.  Thanks!
>
> You need to use the interlaced option to the scale filter for
> converting from RGB (png) to YUV. Read the man page for details.

If you mean 'ilaced' in
"-vf scale[=w:h[:ilaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]",
then yes, I tried it (with "scale=704:480:1:0").  While that solved the
problem for playback in standard hardware DVD players, it caused the problem
to begin appearing in software players like VLC, MPC, and WMP (whereas before,
with only "scale=704:480", the problem didn't occur in those software players,
but only with standard hardware DVD players).

So rather than solving the issue, ":1:0" just causes it to occur elsewhere,
apparently.  I can only assume that if I were doing proper encodings, the
issue wouldn't appear anywhere, ever.

Note: when viewing the material in question with MPC/VLC/WMP/etc., I always
size the window 1:1 with the video so no re-scaling occurs, and I also set
the player to not average the interlacing - like by using 'weave'.  So, for
the moment, I'm assuming that the players themselves are not re-scaling or
otherwise 'processing' the playback itself ... and that therefore, if I see
a problem, it's native to the MPEG encoding and not a result of the player.)
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Any MEncoder experts? Chroma in wrong field...

Rich Felker
On Fri, Dec 14, 2007 at 06:27:57PM -0800, B.P. wrote:

> Rich Felker wrote:
> > On Fri, Dec 14, 2007 at 03:57:03AM -0800, B.P. wrote:
> >> I posted this question on the MEncoder users list, but because ffmpeg
> >> and MEncoder are similar, and since this list seems to have many more
> >> users, I thought I'd mention it here too.
> >>
> >> http://lists.mplayerhq.hu/pipermail/mencoder-users/2007-December/007655.html
> >>
> >> I'll monitor both lists and my e-mail address for replies.  Thanks!
> >
> > You need to use the interlaced option to the scale filter for
> > converting from RGB (png) to YUV. Read the man page for details.
>
> If you mean 'ilaced' in
> "-vf scale[=w:h[:ilaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]",
> then yes, I tried it (with "scale=704:480:1:0").  While that solved the
> problem for playback in standard hardware DVD players, it caused the problem
> to begin appearing in software players like VLC, MPC, and WMP (whereas before,
> with only "scale=704:480", the problem didn't occur in those software players,
> but only with standard hardware DVD players).
>
> So rather than solving the issue, ":1:0" just causes it to occur elsewhere,
> apparently.  I can only assume that if I were doing proper encodings, the
> issue wouldn't appear anywhere, ever.

The ilaced=1 is absolutely required. This is unquestionable. You
should also use the right interlaced options to the codec when
encoding. As for players displaying it incorrectly, there's really no
correct way to display interlaced content. MPlayer certainly will not
do an acceptable job.

> Note: when viewing the material in question with MPC/VLC/WMP/etc., I always
> size the window 1:1 with the video so no re-scaling occurs, and I also set
> the player to not average the interlacing - like by using 'weave'.  So, for
> the moment, I'm assuming that the players themselves are not re-scaling or
> otherwise 'processing' the playback itself ... and that therefore, if I see
> a problem, it's native to the MPEG encoding and not a result of the player.)

It's a result of the player. Try -vf ilpack to reduce it somewhat. But
ultimately the answer is that interlaced video sucks and no one should
be doing it anymore (nor should they ever have started).

Rich
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user