-
Notifications
You must be signed in to change notification settings - Fork 169
Segmented video #571
Comments
Hi @mwbanks , yes there is. We happen to use SVT-HEVC in similar way in one project. I could not share the code since it is not open sourced. |
Thank you for your response. So when I'm looping and want to flush a complete gop for packaging, I can just do a normal flush like so?
This is how I'm currently running the app, and I'm getting a segfault from one of the library threads after outputting 2 segments. |
If you init encoder once, then encode different input yuv files in a loop. You can NOT flush by sending EOS after each gop. Encoder will perform some finalization internally when it sees |
I'm actually attempting to use the library in the application we use to encode, our pattern with other codecs is to put a gop in, encode and flush it, package it, and then put another gop in. So do you flush a gop that is in the library by sending a new IDR frame in? Is this the only way? What method can I use for determining if I have received a full GOP from the library? |
Okay, I thought you are modifying based on SVT sample app. You already have an application that integrates svt library. |
Ok, so with my latest attempt I put the frames for the gop I want to encode in, then put a "flush" IDR frame in to get the encoded segment out. This didn't work. Do I just need to keep putting frames in until I get the original gop out? If I attempt to flush on EbH265GetPacket it hangs unless I send the eos frame, even if I've sent an IDR |
Do I just need to keep putting frames in until I get the original gop out? |
Is there a prescribed way of using this library with segmented video without having to reallocate the buffers? My current usage is passing in a gop, flushing it, and then passing in another gop, but I'm getting a segfault from the next segment.
The text was updated successfully, but these errors were encountered: