One problem about gstreamer encoding.
surprised
1028554060 at qq.com
Tue Oct 22 01:31:01 UTC 2019
Hi,everyone. I'm trying to encode video to H265 bitstream with a YUV file
in Gstreamer,then I send the H265 bitstream through Local Area Network to
another host in this LAN and store them as a h265 file.In order to check
that how much frames are there in this file,I decoded this file to YUV
file,which can be calculated with the parameters of resolution ratio.I found
a phenomenon:The decoded YUV file contains less frames than the YUV file
before encoding(approximately dropped out 3 frames in each test). Why? I
konw that in FFMpeg, there is a function called "flush_encoder()" will be
invoked after encoding,which is used to output the remaining AVPacket in the
encoder. I want to konw if Gstreamer has some similar operations I didn't
use,which caused less frames than I expected. If hasn't, what's the reason
actually?
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191021/7d8162ee/attachment.html>
More information about the gstreamer-devel
mailing list