[MPlayer-users] Mencoder doesn't create Index

Giacomo Comes comes at naic.edu
Fri Jan 14 19:08:01 CET 2005


On Fri, Jan 14, 2005 at 07:09:18PM +0100, Nick wrote:
> Phil Oleynik wrote:
> 
> >Nick wrote:
> >
> >>phil.oleynik wrote:
> >>
> >>>Nick wrote:
> >>>
> >>>>
> >>>>Hi,
> >>>>
> >>>>I've encoded several DVD's with the following command:
> >>>>
> >>>>mencoder -dvd-device VIDEO_TS dvd://1 -aid 128 -oac copy -vf 
> >>>>crop=x:x:x:x,scale=x:x -ovc xvid -xvidencopts 
> >>>>pass=1:bitrate=9999:autoaspect -o "movie.avi"
> >>>>mencoder -dvd-device VIDEO_TS dvd://1 -aid 128 -oac copy -vf 
> >>>>crop=x:x:x:x,scale=x:x -ovc xvid -xvidencopts 
> >>>>pass=2:bitrate=9999:autoaspect -o "movie.avi"
> >>>>
> >>>>Almost every movie plays fine, exept for Hero and Fahrenheit 9/11 
> >>>>where it is impossible to seek in the avi file.
> >>>>Mplayer displays the following output when I try to seek in one of 
> >>>>the avi's:
> >>>>
> >>>>Cannot seek in raw AVI streams. (Index required, try with the -idx 
> >>>>switch.)
> >>>>
> >>>>I tried the -idx switch but it's still impossible to seek. Can 
> >>>>someone tell me why mencoder doesn't create an index while encoding 
> >>>>certain movies?
> >>>>
> >>>>Regards,
> >>>>Nick
> >>>
> >>>
> >>>
> >>>
> >>>Hello!
> >>>
> >>>Can you tell me the size of resulting movie? AVI 2.0 standart does 
> >>>not assume that file might be over 4G. With your bitrate setting, it 
> >>>could be too large for 4-byte pointer to where in the file an index 
> >>>lies. This pointer is placed in AVI head.
> >>>
> >>>Phil
> >>>
> >>>_______________________________________________
> >>>MPlayer-users mailing list
> >>>MPlayer-users at mplayerhq.hu
> >>>http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >>>
> >>Hi,
> >>
> >>The files are all far below the 4G limit.
> >>Hero = 2231 MB
> >>Fahrenheit 911 = 2065 MB
> >>
> >>I've think the problem has to do with files that are larger that 2048 
> >>MB.
> >>I've also encoded Once Upon A Time In Mexico which is 2071 MB and 
> >>gives the same problem.
> >>The Butterfly Effect which is just below the 2G limit (2033 MB) gives 
> >>no problem.
> >>
> >Ha-ha-ha!!!
> >
> >I like it! I like when a field with meaning "lenght" or "byte count" 
> >has signed type.
> >As though, somebody will need negative file length...
> >Thanks for note about critical size.
> >
> >Phil
> >
> >_______________________________________________
> >MPlayer-users mailing list
> >MPlayer-users at mplayerhq.hu
> >http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> Hi Phil,
> 
> Could be me, but I don't have a clue about what you'r saying in your 
> last reply :)
> More important, do you know how I can fix this problem?

Are you using MPlayer 1.0pre4 or earlier?
Since 1.0pre5 MPlayer has ODML support and you should not have
such a problem.

If you have 1.0pre5/6 then I think there is some sort of bug somewhere.

And when MPlayer says:
>Cannot seek in raw AVI streams. (Index required, try with the -idx 
>switch.)
You should try -forceidx instead.

If -forceidx works, then you can use -saveidx and -loadidx too.

Giacomo




More information about the MPlayer-users mailing list