Relative Content

Tag Archive for ffmpeg

FFmpeg leaves green pixels in a simple video

I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?

FFmpeg leaves green pixels in a simple video

I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?

FFmpeg leaves green pixels in a simple video

I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?

FFmpeg leaves green pixels in a simple video

I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?

FFmpeg leaves green pixels in a simple video

I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?

writing jpg images from ffmpeg pipe

Using php to read an rtsp stream from an ffmpeg command utilizing image2pipe, I’m finding the images are truncated in some manner and only display a partial image. My task is to write unique jpg filenames at 30fps. Below is the php code. I’ve simplified the filename structure in this example for clarity. The script performs as expected with no obvious errors writing out 30fps consistently. I can’t figure out what extraneous or missing information in the content is causing the output images to appear corrupt.

writing jpg images from ffmpeg pipe

Using php to read an rtsp stream from an ffmpeg command utilizing image2pipe, I’m finding the images are truncated in some manner and only display a partial image. My task is to write unique jpg filenames at 30fps. Below is the php code. I’ve simplified the filename structure in this example for clarity. The script performs as expected with no obvious errors writing out 30fps consistently. I can’t figure out what extraneous or missing information in the content is causing the output images to appear corrupt.

Stream a video file via RTSP in FFmpeg C++

Good afternoon, I want to stream a video file to a PC via RTSP using the C++ language and the FFmpeg library, but my program freezes at the avformat_write_header stage (line 192), I don’t understand why