Force Index Creation for h264

Just have a drink and chat
JeffG
Blank Cone
Blank Cone
Posts: 26
Joined: 01 May 2012 02:03

Force Index Creation for h264

Postby JeffG » 31 Dec 2012 00:15

It is possible to add the same index rebuild function that exists for AVI to h264? If not, anyone know of a reliable MP4 reindexing utility that runs on Windows?

Lotesdelere
Cone Master
Cone Master
Posts: 10022
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Force Index Creation for h264

Postby Lotesdelere » 02 Jan 2013 09:32

Maybe MP4Box or L-SMASH are what you're looking for.
That won't rebuild the H.264 stream though, but only the MP4 container.

ivanferrer
New Cone
New Cone
Posts: 1
Joined: 10 Jul 2018 18:15

Re: Force Index Creation for h264

Postby ivanferrer » 10 Jul 2018 18:37

I was looking for the same. When I record part of a video with VLC's red button, some resulting mp4 videos played choppy.
Finally I used the fabulous ffmpeg to easilly reindex them.
I saved a BAT file to Shell:sendto so I can reindex files by right clicking them (one by one) then SendTo->reindex.bat.
You'll have to install ffmpeg or search for it in your system. Use the correct path in the code.
(this obvious code moves original file to TEMP, copies it with ffmpeg to original path, then deletes it from temp)

Code: Select all

set tempo=%temp%\%~xn1 move %1 "%tempo%" "path\to\ffmpeg\ffmpeg.exe" -i "%tempo%" -c copy %1 del "%tempo%
THANKS VLC's and ffmpeg's guys!!


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 45 guests