[ogg-dev] How to fix broken ogg/theora files

Conrad Parker conrad at metadecks.org
Wed Dec 10 16:17:33 PST 2008


2008/12/11  <yorn at gmx.net>:
> Hi there,
>
> I haven't been on this list until now, so I wasn't aware of this problem until last night ;-) - sorry for that.

Hey yorn! welcome :-)

> I am working on a patch for oggCut for that issue (looks good actually but I would like to do some testing befor I can release a patch.)

great :)

It might be good if you test the output with oggz-validate, which
checks the page ordering etc.

> BTW oggCut cuts at keyframes, if you want to cut a video 100% perfect, I would suggest to use a video cut program.

If you add a skeleton track which describes the cut that the user
asked for, then it can be rendered properly. Basically all you need to
do is put the time of the start of the cut that the user requested in
the "presentation time" field, then a player that understands skeleton
(eg. firefox) will know not to render any frames before that time.

http://wiki.xiph.org/OggSkeleton

Conrad.


More information about the ogg-dev mailing list