[FFmpeg-devel] video corruption using h264 hw decoders
michaelni at gmx.at
Tue Nov 29 17:24:45 CET 2011
On Sat, Nov 26, 2011 at 12:30:37PM +0100, Joakim Plate wrote:
> On Wed, 23 Nov 2011 14:26:59 +0100, Michael Niedermayer wrote:
> > On Sun, Nov 06, 2011 at 01:24:59AM +0100, Joakim Plate wrote:
> >> [24 quoted lines suppressed]
> > this patch causes an interresting issue.
> > when the decoder is closed and opened again the
> > avcodec_set_dimensions() calls in avcodec_open2() change the width
> > which ends up causing ffprobe and ffmpeg to print differing widths
> > for http://panda-test-harness-videos.s3.amazonaws.com/panda.mp4
> > [... ]
> Didn't test the sample, but I'd assume it would happen if you reopen the
> codec without decoding anything. As soon as you decode, it should correct
> itself i think.
> Not sure how one would avoid that. But not calling set_dimensions on open
> without decoding is probably the only way.
yes, i havnt found anything better either, ill commit that solution
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel