Different Video Length depending on the audio chosen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Thursday 20 November 2008 15:36:05 Khelben Blackstaff wrote:
> On Thu, 20 Nov 2008 15:26:34 +0100
>
> Nico Sabbi <Nicola.Sabbi at poste.it> wrote:
> > > Is this normal and why it is happening ?
> >
> > mostly, and mostly not (it's the usual black magick at work
> > when playing mpeg streams).
> >
> > You should rely on the data reported by -identify to get the
> > exact video duration, at least when playing dvds
>
> Thank you for replying so quickly.
>
> Both "mplayer -identify -frames 0 dvd://1 -aid 128" and
> "mplayer -identify -frames 0 dvd://1 -aid 137" report the
> following.
>
> ID_DVD_TITLE_1_LENGTH=6078.840
> ID_LENGTH=6078.84
>
> So, i guess the correct duration is 6078 seconds, but when mencoder
> finishes the transcoding the resulting file has 6078 secs if it has
> ac3 audio and 5971 if it has dts.

what are  the lengths reported if you run

$ mplayer -novideo -ao pcm:file=test.wav dvd://1 -aid 128 dvd://1
$ mplayer -identify test.wav

$ mplayer -novideo -ao pcm:file=test.wav dvd://1 -aid 137 dvd://1
$ mplayer -identify test2.wav


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux