I'm recording a video from an application that sends a stream of jpeg images. The problem is that the app only sends new frames when there are changes (like vnc for example). I've got kind of working video, but it plays very fast when no new frames arrived to the fluent-ffmpeg end. This app can send up to 30 fps, but it also can send one frame each 30 seconds if nothing changes in the image. So, if the original stream had a duration of 30 seconds I'd like to obtain a 30 seconds video.
Do you know if fluent-ffmepg can "fill" the gaps. I don't mind about file size, because I understand that by repeating frames you'll get a bigger output video file.
Version information
fluent-ffmpeg version: 2.1.2
ffmpeg version: ffmpeg version 2.8.11-0ubuntu0.16.04.1
[x] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place) --> Not really, because I cannot attach directly to the stream source, since it provides a non-standard jpeg headers, and it's inside a protocol I must "clean-up" before getting the jpeg data. This is the reason for using fluent-ffmepg and not using ffmepg cli directly.
[x] I have included full stderr/stdout output from ffmpeg --> Sorry, but I just couldn't due to the previous comment.
Sorry to ask here, I don't know how to properly ask to ffmpeg directly, and maybe some of you know hot to achieve this.
I still have a fast video playback when there's a low framerate input, but I close the issue because it was more a question than an issue. Keep rocking!
Hi all,
I'm recording a video from an application that sends a stream of jpeg images. The problem is that the app only sends new frames when there are changes (like vnc for example). I've got kind of working video, but it plays very fast when no new frames arrived to the fluent-ffmpeg end. This app can send up to 30 fps, but it also can send one frame each 30 seconds if nothing changes in the image. So, if the original stream had a duration of 30 seconds I'd like to obtain a 30 seconds video.
Do you know if fluent-ffmepg can "fill" the gaps. I don't mind about file size, because I understand that by repeating frames you'll get a bigger output video file.
Version information
This is what I've tried so far:
Code to reproduce
(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
If the original stream lasted for 30 seconds, I'd like to have a 30 seconds output video.
Observed results
If the original stream was 30 seconds with little changes in the actual images, the output video can be only of 5 seconds (this is just an example).
Checklist
Sorry to ask here, I don't know how to properly ask to ffmpeg directly, and maybe some of you know hot to achieve this.
Thanks for your help and your awesome project.