VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Jul 2007
    Location
    Finland
    Search Comp PM
    Is there a program you can use to edit avi header file?

    I have some xvid avis that are c. 4 hours long but the header file says they are just 2h 45 min. I can watch the whole thing with VLC but if I transport the file to Zen Vision:M, I can only see the first 2h45min that the header file shows.

    Is there a way the edit the header file to match the true lenght of the movie? Reconverting doesn't work because all the programs I have used (Mediacoder, TMPGenc, WinAVI) copy the header information as is, and don't correct it.
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Try reindexing the file with mencoder like this

    mencoder -O "output.avi" -forceidx -oac copy -ovc copy "input.avi"

    I'm guessing your file is over 2GB in size and your portable player can't handle it. If it still doesn't work after reindexing, you'll have to split the file into 2 parts.
    Quote Quote  
  3. Member
    Join Date
    Jul 2007
    Location
    Finland
    Search Comp PM
    The files are about 1.3GB long and cutting won't help. But mencoder did help. Not quite like proposed but if I reconvert the file twice, fist the 2h45min and then on the other round the rest of the file, then I get the file right. Thanks.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!