MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

Moose
Don't make me assume my ultimate form!
Reged: 05/03/04
Posts: 1483
Loc: Outback, Australia
Send PM
Re: Free tool to split MP4 files
03/18/15 01:15 AM


> > I'm going to have to check it out.
> >
> > The tool that I used has a weird side effect when splitting files. Sometimes, the
> > first few seconds of the split file has crazy colors like the palette is messed up
> or
> > something. I'm not sure what, exactly, is happening.
>
> There are certain frames where the whole picture is stored - called keyframes. The
> rest of the frames only store difference between the previous and the current frame.
> When you split a stream between two keyframes, the first frame is missing the
> previous frame to render correctly, thus the weird colours and stuff until the stream
> finds its first keyframe which renders correctly.
>
> Usually video editing programs have means to move between keyframes, or at least show
> that you're at one, so you can ensure that the first frame of your splitted vid is a
> keyframe.

If you are cutting the video between keyframes, it should be a fairly simple matter to roll back to the last keyframe and then construct a new keyframe (based on the data in all subsequent frames) and insert it into the current position - making the split frame a new key frame. It would mean that 2 keyframes are closer than normal together, but it should still play fine - and no ugly mess.


Moose







Entire thread
Subject Posted by Posted on
* Free tool to split MP4 files krick 02/12/12 08:00 PM
. * Re: Free tool to split MP4 files *DELETED* *DELETED* andagetil  03/16/15 11:39 AM
. * SPAM Pi  03/16/15 10:37 PM
. * Re: Free tool to split MP4 files krick  02/12/12 10:19 PM
. * Re: Free tool to split MP4 files Gemini  02/15/12 10:50 PM
. * Re: Free tool to split MP4 files krick  02/15/12 10:56 PM
. * Re: Free tool to split MP4 files Pi  02/15/12 11:52 PM
. * Re: Free tool to split MP4 files Moose  03/18/15 01:15 AM
. * Re: Free tool to split MP4 files Pi  03/18/15 05:03 PM
. * Re: Free tool to split MP4 files Moose  03/19/15 01:20 AM
. * Re: Free tool to split MP4 files redk9258  02/12/12 08:40 PM

Extra information Permissions
Moderator:  GatKong 
2 registered and 313 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2179