public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ezequiel Tolnay <mail@etolnay.com.ar>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] DVD authoring and AV sync problems with mpeg2 source
Date: Tue, 18 Oct 2005 14:07:20 +1000	[thread overview]
Message-ID: <435474F8.5000403@etolnay.com.ar> (raw)
In-Reply-To: <434B16E4.8090505@etolnay.com.ar>

Ezequiel Tolnay wrote:

>    I was wondering if any of you has had a similar problem and figured 
> a way to maintain the AV in sync after converting an mpeg to AVI 
> format, or if any of you can give me any clues as to why is this 
> happening and a way to prevent/solve it.

After much fidling with it, I found a solution for it, and would like to 
share it with whoever has this problem in the future. The problem is 
basically that the mpeg2 source has repeated frames, and the transcode 
utility filters them without compensating with the audio, thus creating 
a synching issue. If the source is already mpeg2 for video and audio but 
the dvdauthor doesn't like it, that's because the video also needs to be 
built for DVD (some kind of meta information between frames, or 
something like that). The same for other formats such as SVCD.

    In my case the video had already the proper codecs (both mpeg2), the 
proper size (352x288 for PAL, which is fine), and the proper audio 
bitrate (224), but not formatted for DVD. To format it properly, use the 
following:

mencoder -oac copy -ovc copy -of mpeg -mpegopts format=dvd -vf harddup 
-o dvdformatted.mpg original.mpg

    Should your source be in a different format, mencoder can take care 
of the proper transformations, there is a tutorial and a series of 
examples about  it at 
www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html (the page takes an 
eternity to load, by the way...). To create the DVD I used qdvdauthor, 
which is quite primitive but gets the job done quite nicely.

Happy authoring!

Ezequiel
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2005-10-18  4:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11  1:35 [gentoo-user] DVD authoring and AV sync problems with mpeg2 source Ezequiel Tolnay
2005-10-18  4:07 ` Ezequiel Tolnay [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=435474F8.5000403@etolnay.com.ar \
    --to=mail@etolnay.com.ar \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox