[MPlayer-dev-eng] [PATCH] Fix yuv4mpeg output, remove spurious first frame.

Linards Ticmanis ticmanis at gmx.de
Sat Jun 21 02:39:07 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

D Richard Felker III wrote:

> Yes, but I don't think you quite understand it right. The first blank
> frame mplayer gives you is not there in the source; it's caused by the
> way B frame decoding works. BUT (!!!) the later blank frames ARE
> actually there in the source. AVI and probably several other formats
> allow insertion of "blank" (0-byte-long) frames to indicate that the
> previous one should be repeated. If you just go removing these, A/V
> sync could break all over the place!!

I didn't plan on removing anything but the spurious first frame - an
only if and when it's spurious, which is not always the case as I now
learned.

> BTW, what do you mean by "I don't use mplayer for the sound"?? I'm not
> really familiar with this stuff and don't know what "Azid" is, but for
> DTS you should be piping it through mplayer with "hwac3" (which also
> does DTS passthru now, iirc) so that MPlayer knows about and can
> maintain a/v sync. Otherwise your only hope is that both programs
> start at the exact same time and neither ever gets stalled up -- quite
> a miracle if this works...

I was talking about using mplayer as a "frameserver" for the decoding
stage of transcoding. Audio and video are then multiplexed later, after
each has been encoded separately. Of course when I actually play
something for the purpose of watching it at that time, mplayer has to be
used for everything.

"Azid" is a Win32 command-line program that decodes the AC3 format to
WAV, with the option of producing a Dolby Surround-compatible downmix
that later allows a DVD player which plays the resulting SVCD or VCD to
separate the front and back channels, although there is only 1 back
channel with this method.

- --

Linards Ticmanis

 The Master said, "The business of laying on the colors follows the
preparation of the plain ground."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+86kqpXWZ5wbYWboRAtuGAJwMeSqPWH3WgpHE3i43t51HsvQF5gCeN/gg
kmWiAkLDXSRlEFmjI0mmAr0=
=z7aG
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list