[mythtv] Myth .nuv MPEG4 format portability
madsend at myrealbox.com
Thu Feb 27 19:36:06 EST 2003
Yes, you are correct in your assumption. mencoder does something different
while handling the data than mplayer does. Either mencoder is chopping out
some of the audio or reproducing some of the dropped frames (more likely)
and mplayer doesn't do this when used in the yuv4mpeg output method
I think one of the main reasons that shell scripts and pipes are still being
used is the old idea of people not wanting to reinvent the wheel. Someone
has already done this or that so we'll just pipe over o this other program
which will do what we want. The script actually works quite well despite
all the many different programs involved. It'll even burn it straight to CD
for you if you drop a blank in your drive, as long as you have configured it
correctly of course.
----- Original Message -----
From: "Matt Zimmerman" <mdz at debian.org>
To: "Development of mythtv" <mythtv-dev at snowman.net>
Sent: Thursday, February 27, 2003 7:22 PM
Subject: Re: [mythtv] Myth .nuv MPEG4 format portability
> On Wed, Feb 26, 2003 at 10:28:22PM -0700, David Madsen wrote:
> > transcode the .nuv file to a .avi file using this step.
> > 1. mencoder -voc copy -aoc copy <filename>
> I assume this step is necessary because mencvcd uses mplayer to decode the
> stream, and mplayer will not insert duplicate frames in the output to make
> up for the drops (while mencoder, in this context at least, will). If you
> can find a way to change this behaviour, we might be able to eliminate
> > 2. mencvcd <outfile> -abr 224 -asr 44100 -mpgonly -noburn -vbr 1150 -vfr
> > 4 -vnorm n test.avi
> > that will encode the created AVI to a VCD formatted mpeg file that can
> > burned to a cd. or you can remove the command line options to have the
> > script do it for you.
> > This has worked fine for me. The resulting mpeg file can be edited with
> > utilities to cut commercials etc. without losing audio sync as well.
> Thanks for pointing out mencvcd; I didn't realize that it existed.
> Of course, I'm still left wondering why tools for such tasks still tend to
> be all shell scripts and named pipes...
> - mdz
> mythtv-dev mailing list
> mythtv-dev at snowman.net
More information about the mythtv-dev