[mpeg2-dev] extract duration from MPEG files

2008-05-01 Thread Thomas Richards
Hello List, I'm attempting to write a small application that extracts the durations from MPEG2 files. I've been looking at the documentation and the samples, and have come up with a simple app that calls "mpeg2_parse()" until it returns "STATE_GOP", and when it does, looks at the "info->gop->*"

[mpeg2-dev] libmpeg-0.4.1: SEQUENCE_END missing -> dropping pictures.

2008-05-01 Thread Tomi Ollila
Hi I've noticed if input for libmpeg2 before EOF is missing SEQUENCE_END (00 00 01 b7) last 2 pictures do not come out from libmpeg2. This is usually not a problem as it is easy to provide that data when input source ends, but there are at least one other case as well... ... I have one m2v elem

Re: [mpeg2-dev] libmpeg-0.4.1: SEQUENCE_END missing -> dropping pictures.

2008-05-01 Thread Tomi Ollila
On Thu 01 May 2008 16:16, Tomi Ollila <[EMAIL PROTECTED]> writes: > Hi > > ... I have one m2v elementary stream recorded from DVB-T source and the > demuxed with ProjectX. Just after commercial break aspect ratio is changed > from 4:3 to 16:9. At this point libmpeg2 does not return last 2 4:3 fram

Re: [mpeg2-dev] extract duration from MPEG files

2008-05-01 Thread Keith Winstein
On Thu, 1 May 2008, Thomas Richards wrote: > I'm attempting to write a small application that extracts the durations > from MPEG2 files. I've been looking at the documentation and the > samples, and have come up with a simple app that calls "mpeg2_parse()" > until it returns "STATE_GOP", and when

[mpeg2-dev] Re: extract duration from MPEG files

2008-05-01 Thread Lionel Debroux
Hello Thomas, > I'm attempting to write a small application that extracts the durations > from MPEG2 files. I've been looking at the documentation and the > samples, and have come up with a simple app that calls "mpeg2_parse()" > until it returns "STATE_GOP", and when it does, looks at the > "info