If you are sending it by RTP than also your video stream must be in some format. What is the format of your video stream?
Thanks, Dhaval On Wed, May 26, 2010 at 12:30 PM, Umakant Goyal <[email protected]> wrote: > I am taking raw data from Capture card, encoding it using libavcodec and > then sending it to VLC for play using RTP. > > > On Wed, May 26, 2010 at 10:01 AM, Dhaval Shah <[email protected]> wrote: > >> Which file format are you using? >> >> Thanks, >> Dhaval >> , >> On Wed, May 26, 2010 at 9:33 AM, Umakant Goyal <[email protected]> >> wrote: >> > Hi All, >> > >> > I am encoding raw data into H.263P using libavcodec >> (*avcodec_encode_video* >> > ). >> > But when i play the encoded data(stream) using VLC then VLC show >> following >> > error in log: >> > >> > *"Header Damaged >> > Bad Picture Start Code"* >> > >> > I am opening codec (*avcodec_open*) using following flags: >> > (*apContext)->flags|=CODEC_FLAG_NORMALIZE_AQP;//CODEC_FLAG_PASS1; // 1 >> > (*apContext)->flags|=CODEC_FLAG_H263P_UMV; >> > (*apContext)->flags|=CODEC_FLAG_4MV; >> > (*apContext)->flags|=CODEC_FLAG_AC_PRED; >> > >> > I googled lot to figure out the problem. But i did not succeed. >> > Please help me by telling the reason for the same. >> > >> > Thanks. >> > _______________________________________________ >> > 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 >> > _______________________________________________ > 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
