[MPlayer-users] Mencoder doesn't create Index

Phil Oleynik Phil.Oleynik at mail.ioffe.ru
Fri Jan 14 18:07:07 CET 2005


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




More information about the MPlayer-users mailing list