I am not very proficient with C programming and working on live streaming using FFMPEG. Basically, I want to put a watermark on a live streaming video.
Using FFMPEG, I have been able to record a video from webcam, encode it and send to some ip:port using UDP. Now, my receiver(written in Java) is receiving the data in packets but I don't know how to decode it for editing or play it. If I use ffplay, it plays it automatically. I referred some links:
Similar Question
Decoding Encoding Example
Could anyone please tell, how can I proceed for the solution. Any hints would be appreciable.
ffmpeg -f dshow -i video="Integrated Webcam" -c:v rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
在Windows上,此FFMPEG命令对我有效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.