i can see that codec->capabilities&CODEC_CAP_TRUNCATED return false could this be the problem ?
On Tue, Sep 7, 2010 at 7:19 PM, shachar binyamin <[email protected] > wrote: > Hey > > I went over the code again, the thing is that I use the same source code (C > code) > in my Windows project and it works fine - the only different is the > libraries files > > The Encoder runs on a windows system > and I want to decode on Linux machine (and as I said my "windows decoder > project" works fine) > could this be the issue ? windows -> linux > > In did the profile was set to "main", just for fun I tried "baseline" but > same result > > thanks > > > > On Tue, Sep 7, 2010 at 11:20 AM, Nhat Huy <[email protected]> wrote: > >> On Mon, Sep 6, 2010 at 1:08 AM, shachar binyamin < >> [email protected] >> > wrote: >> >> > Hey, >> > >> > Sorry for the late replay, the thing is I am able to decode the same >> data >> > on >> > my windows machine >> > but not on Linux... >> > >> > and more over I am getting errors on the SPS and PPS ("no frame!") -> >> this >> > is a very early phase >> > there are no frames yet, I think the decoder is trying to say he does >> not >> > support multi-slice >> > >> > Could be ? >> > >> > >> > >> > On Thu, Aug 26, 2010 at 3:30 AM, Nhat Huy <[email protected]> >> wrote: >> > >> > > On Wed, Aug 25, 2010 at 11:54 PM, shachar binyamin < >> > > [email protected]> wrote: >> > > >> > > > Hello, >> > > > >> > > > I am having trouble decoding an h264 picture with multi slice -> >> > picture >> > > is >> > > > blur for the whole session >> > > > >> > > > and I am getting all kind of error messages >> > > > like this: >> > > > [h264 @ 0xaa456c00]no frame! >> > > > on the first SPS / PPS packets >> > > > >> > > > and >> > > > Last message repeated 2 times >> > > > [h264 @ 0xaa456c00]concealing 2688 DC, 2688 AC, 2688 MV errors >> > > > >> > > > >> > > > when multi slice is off picture is fine, >> > > > I have tried this versions: >> > > > ffmpeg-checkout-2010-08-23 >> > > > ffmpeg-0.6 >> > > > ffmpeg-0.5.2 >> > > > ffmpeg-checkout-2010-03-02 >> > > > >> > > > should I configure somewhere in the code that I am using multi slice >> > ??? >> > > > beside choosing the h264 as a decoder >> > > > >> > > > thank you in advance >> > > > >> > > > Shachar Binyamin >> > > > >> > > > same result >> > > > _______________________________________________ >> > > > libav-user mailing list >> > > > [email protected] >> > > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > > > >> > > >> > > Hi, >> > > >> > > Your result is blur because FFmpeg have to conceal the picture. >> > > [h264 @ 0xaa456c00]concealing 2688 DC, 2688 AC, 2688 MV errors >> > > >> > > The input buffer bitstream does not contain the whole frame, thus >> FFmpeg >> > > will decode the first slice and conceal the rest of frame. >> > > Check data and length of input buffer before call av_decode_video or >> > > decode_frame. >> > > >> > > Huy. >> > > _______________________________________________ >> > > libav-user mailing list >> > > [email protected] >> > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > > >> > _______________________________________________ >> > libav-user mailing list >> > [email protected] >> > https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > >> >> >> H.264 decoder in FFmpeg supports the main profile, so it can decode the >> H.264 multi-sliced bit stream perfectly. I think that you have not used >> FFmpeg API correctly. You should check ffmpeg.c and apiexample.c to find >> out how to use FFmpeg API. >> _______________________________________________ >> libav-user mailing list >> [email protected] >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
