PDA

View Full Version : Framecount within a VC1/m2ts file ?


agressiv
29th May 2008, 06:05
Anyone know a quick way to a framecount of a VC1 stream within an m2ts file? I know EVODemux can do it, (had it been an .EVO file) but I'm obviously out of luck there.

Right now the only way I can tell is if I demux the whole video with something like eac3to, which can take a while :)

Couldn't find a good forum for this, move where applicable.

Thanks!

agressiv

agressiv
30th May 2008, 16:07
Found that demuxing the audio stream, which doesn't take nearly as long, produces the total frame count of the video stream. 6 minutes that I would have to do anyways is better than 60 that I otherwise wouldn't :) (I was using TSMuxerGUI before, using eac3to now)

MickJT
2nd June 2008, 12:29
AviSynth, DirectShowSource() and VirtualDubMod / File Information.

Probably easier ways to do it. I don't know why you don't just see how long the movie goes for, and what the framerate is, and calculate it yourself, unless you need absolute exact figures and can't be a few frames out.

agressiv
2nd June 2008, 15:16
I'm using the Framecount information to feed DirectShowSource() itself, because I have to use GraphEdit as my source.

Apparently its really picky and wants the exact count, so until I can move away from GraphEdit I don't want to re-do a 2-day long encode :)

VirtualDubMod barfed on those files. (VC-1 stream in an m2ts transport stream)

agressiv