Hi,

Im trying to decode a h264 stream from an IP camera. I have been able to use write a program in visual studio (im running on widows) to connect to my camera and play the stream using the current FFmpeg libraries, but its very badly artifacted. So after a bit of looking about i tried VLC. This seems to play the stream fine with no artifacts. I had a look into how this was done and it seems to use the live555 librarys for the RTP then decode using libavcodec. Ive managed to get the live555 libraries working and reached the point where i have a h264 encoded frame and no real understanding of how to decode it. Ive tried using avcodec_decode_video (with all the various setup) but only ever had -1 returned. The strange thing is that i can save off the streamed video to an mp4 file using my live555 and play that through my ffmpeg sample application with no artifacts. Its a bit of a pain since i cant debug the ffmpeg libraries or see how VLC is decoding it, to find out where its going wrong. I was wondering if anyone can give me some tips on how to procede further with this.

Thanks

Richard
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to