[MPlayer-dev-eng] Patch to fix seeking in H264 TS
Nico Sabbi
Nicola.Sabbi at poste.it
Sat Feb 16 12:48:11 CET 2008
Il Saturday 16 February 2008 00:04:20 Nico Sabbi ha scritto:
> Il Saturday 16 February 2008 00:07:25 Ian Rickards ha scritto:
> > > Il Friday 15 February 2008 23:34:17 Loren Merritt ha scritto:
>
> > >> 1: normal slice
> > >> 2: slice with data partitioning (3 and 4 are also for data partitioning,
> > >> but 2 comes first in the bitstream)
> > >> 5: IDR slice
> > >>
> > >> --Loren Merritt
> > >
> > > well, in this case that patch doesn't look correct to me: seeking
> > > must find a seekable (IDR) slice, right?
> >
> >
> > Its true I do get some video corruption on a seek, so its not finding a
> > reference frame with my attempt at a patch.
> >
> > Here's a log of the verbose output from the current mplayer code which hangs
> > forever. I put a debugging printf in the while loop waiting for NAL unit
> > 05 - as you can see it gets 09 + 06 + 01 types, but never 05, interleaved
> > with PARSE_PAT, FILL_PMT, PARSE_PMT. I could upload a sample ts somewhere?
>
> ftp://upload.mplayerhq.hu/MPlayer/incoming/ (it's write only)
> _______________________________________________
the sample in question is seektest.ts.
I fixed it stopping the search of the startcode at an IDR slice || SPS,
but I'm not completely sure that my fix is correct: that H264 pdf
I have is one of the most confusing thing I ever read
More information about the MPlayer-dev-eng
mailing list