19:04
I'm implementing a real-time screen streaming application using FFmpeg's libraries (libavcodec, libavformat) with H.264 encoding and UDP transport. While I have basic low-latency settings in place, I'm looking to minimize latency as much as possible while maintaining reasonable quality.
Here's my current encoder configuration:
// Configure codec for low latency
codecContext->width = WIDTH;
codecContext->height = HEIGHT;
codecContext->time_base = AVRational1, FPS;
codecContext->framerate = AVRationalFPS, 1;
codecContext->pix_fmt = (...)
15:23
I am trying to create a video editing tool in HTML/CSS and PHP. For the video editing, I am using ffmpeg. Now, the file upload and the general editing works pretty well, but I have a problem. I would like to preview the final result inside an HTML video-tag. Thus, wenn I upload 4 clips and then select seconds 5 to 10 to be cut out, I'd like to immediately view the result so I can decide whether I want to keep it or not. Does FFmpeg support something like this? If not, what would be the best solution? (...)