View Single Post
Old 18th June 2012, 06:59   #11333  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by Pat357 View Post
What exactly should I store in the container ? Does an .MPG container (or .VOB) even have a field to store it ?
What about MKVmerge (MKV) or MP4Box(MP4) ? Where can I put what information ?
Its simple MPEG2 video, you can store it in most containers available. MPEG-PS (.mpg/.vob) is one of the options, and it contains full timestamps which makes duration and seeking much easier. Of course you can also go with MKV or MP4 if you want.

The main problem with raw video (without a container around it) is that you can't know how many frames a file contains without counting them (or if you have CBR), so anything you try will be guesswork, accuracy depending on how much data/effort you put into it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote