MPlayer Total Length in Slave Mode

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

 



Anyone else got any guidance they can lend on this?

-- 
Dominic Driver
Engineer
Paragon Electronic Design Limited
Level 2 21-23 Andrews Avenue
ANZ House
PO Box 30-449, Lower Hutt
New Zealand

Direct: +64 4 5703892
Fax: +64 4 5703 871
mailto:dominic.driver at paragon.co.nz
http://www.paragon.co.nz

----- Original Message -----
From: "Dominic Driver" <dominic.driver at paragon.co.nz>
To: "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Sent: Tuesday, December 8, 2009 4:01:32 PM (GMT+1200) Auto-Detected
Subject: Re: MPlayer Total Length in Slave Mode

I'm launching MPlayer with:

mplayer -slave -quiet -nocache -input file=ControlFile dvdnav:// -dvd-device <location>

where <location> is either /dev/scd0 or the HDD directory containing the authored files.

If I use identify, I have to specify the actual file VTS_01_1.VOB instead of the directory. In this case, I get the following:

ID_LENGTH=29.91

I don't have a value for ID_DVD_TITLE_1_LENGTH, it doesn't appear in any mplayer output.

When I then launch MPlayer using the line above, the responses to the following commands are:

get_time_length : ANS_LENGTH=27.08
get_property time_pos : ANS_time_pos=<position in time within the original mpeg file>

When playback transitions from the original mpeg 1 to the second mpeg 2, the total time length doesn't change.

However, responses to time_pos are relative to the start of the original second mpeg file.
i.e. if I were to continually poll using the time_pos command, I'd see values:


     Original MPEG 1               | Original MPEG 2
Play ... 0.0 ... 10.0 ... 22.7 ... 0.0 .... 1.0 ... 2.0 ... Stop

I expected output to be from 0.0 -> <total title length> in an uninterrupted way. Is my assumption correct?

What am I missing here?

Thanks,

Dom




----- Original Message -----
From: "Reimar D?ffinger" <Reimar.Doeffinger at gmx.de>
To: "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Sent: Sunday, December 6, 2009 8:22:42 AM (GMT+1200) Auto-Detected
Subject: Re: MPlayer Total Length in Slave Mode

On Fri, Dec 04, 2009 at 08:35:38AM +1300, Dominic Driver wrote:
> However, I'm also using MPlayer to playback the authored files/Burned DVD using slave mode.

How, with which command?

> 2) get_time_length - This gets the total title length
> 
> However, the response to 2) above seems to give me the total length of the original mpeg file which is currently playing, even though it's supposedly been amalgamated into the DVD-style movie title.

Does the get_time_length result differ from what you get after
ID_DVD_TITLE_1_LENGTH=
if you start MPlayer with -identify?
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



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