Question about mencoder and indexing



I'm combining several .mov files into a single .mov file using mencoder
in a shell script like this:

mencoder -oac pcm -ovc copy $* -o combined.mov


However, when using mplayer to play the combined.mov file, I cannot fast
forward or rewind the video. Someone suggested using the -forceidx, so I
tried creating combined.mov like this:

mencoder -forceidx -oac pcm -ovc copy $* -o combined.mov

However, when I play combined.mov using mplayer, I get these messages,
and cannot fast forward or rewind:

Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)
Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)
Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)

What I can to is play the combined.mov file passing mplayer the -idx
switch like:

mplayer -idx combined.mov


I can then rewind and fast forward through the .mov file, but mplayer has
to build the indexes first. It seems as thought mencoder should build the
indexes though, according to the man page. Any ideas?

-Thanks

.



Relevant Pages

  • Re: [SLE] Re: what could have happened to audio?
    ... Mplayer works in some places, not in others, amarok can't see audio ... cd's, nor can juk or real player, but kscd does just fine. ... kaffeine can "see" dvd's but one can play some, ... RealPlayer10Gold can play. ...
    (SuSE)
  • Re: Totem=noshow
    ... I'm plumb out of patience with its I can't play this messages ... Copyright 2006 by Maurice Eugene Heskett, ... For youtube and google video you need the flash player. ... like CNN, mplayer works beautifully. ...
    (Fedora)
  • Re: RealPlayer 10 in FC6: Sound, But No Picture
    ... When I download a "test video" from Real.com, I get sound, but no picture. ... When I go to play certain videos, ... Either sound, but no picture, or else mplayer tries ... There are loads of them, including one ending in .rm, which is the realmedia one, and is an earlier version of realplayer. ...
    (Fedora)
  • Re: RealPlayer 10 in FC6: Sound, But No Picture
    ... Just installed RealPlayer 10. ... When I download a "test video" from Real.com, I get sound, but no picture. ... When I go to play certain videos, ... Either sound, but no picture, or else mplayer tries ...
    (Fedora)
  • Re: Totem=noshow
    ... I'm plumb out of patience with its I can't play this messages ... Copyright 2006 by Maurice Eugene Heskett, ... like CNN, mplayer works beautifully. ... media unless you were in windows. ...
    (Fedora)