Hi,
I am trying to capture a live H.264 stream from an IP Camera using ffmpeg through opal libraries. I am able to open the stream, get the information and decode it seems. However, to be able to display the frame, I need to convert the frame to YUV420P using sws_scale. If I put the parameter srcSliceY to 0, the function crashes. If I set it to 1 or anything higher, the function returns 0 (which is the height of the output, right?). Can anybody help me with this issue? I need to be able to display the frames, one at a time. Is there a different way of converting the format of the frame other than sws_scale? Thank you for the help! Candice _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
