[MPlayer-users] Re: mencoder *.avi ?

Steven M. Schultz sms at 2BSD.COM
Wed May 29 18:11:01 CEST 2002


Hello -

> From: Arpi <arpi at thot.banki.hu>
> > mplayer -dumpstream -dumpfile c2-4.vob -dvd 1 -chapter 2-4
> > mplayer -dumpstream -dumpfile c5.vob   -dvd 1 -chapter 5-5
> > mplayer -dumpstream -dumpfile c6.vob   -dvd 1 -chapter 6-6
> > cat c2-4.vob c5.vob c6.vob | mencoder -ovc lavc -lavcopts ...
> 
> good idea

	Indeed - thank you to everyone who replied.   I like the
	suggestion above.

> anyway, this is bug, and it should be fixed, but i cannot reproduce
> maybe it is bsd specific... maybe largefile problem?

	I do not _think_ it's a largefile problem because 'mplayer' works
	perfectly using "-chapter 2-6".

	My suspicion is that the DVD is somehow not mastered 100% correctly.
	How would that be 'proven' I wonder?

> i don't know if bsd honors the glibc style largefile defines:
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

	Not needed since _all_ files are "large".  As long as 'off_t' is used
	for the offset.  

	Ogle uses libdvdread and works fine (but alas, the audio is PCM and
	the Ogle folks have not added PCM audio support yet).  

> is your libdvdread compiled with largefile support enabled?

	Yes.  Or rather largefile support is automatic and does not depend
	on "_LARGEFILE_SOURCE" or "_FILE_OFFSET_BITS" (those can be defined
	but have no effect).

	Is there additional debug/verbose information available from the
	'navigation' logic?   It is really strange that mencoder stops
	processing after ~13000 frames when "-chapter 2-6" is used.  That is
	nowhere near 'largefile' size limits.  If "-chapter 2-4" is given then 
	80000+ frames are encoded.   What could cause 'mencoder' (but not
	'mplayer') to think it was at the end of file so early?

	Would the '.ifo' files be of value in debugging the problem?

	Thank you to all who responded with such useful ideas.

	Cheers,
	Steven Schultz
	sms at 2bsd.com




More information about the MPlayer-users mailing list