x264enc unexpected LOSS when recording video !

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

x264enc unexpected LOSS when recording video !


I recently implement a simple code that can record rtsp stream with changing
filesink location dynamically every 10 seconds by referencing  this tutorial

Rtsp stream example: rtsp://

However, when I tested an x264enc element, the result videos seems to loss
lots of frames.

When I open the recorded videos, they start at, for example, 00:07 instead
of 00:00.

This is my code....

test.cpp <http://gstreamer-devel.966125.n4.nabble.com/file/t378587/test.cpp>  

Compile:  g++ test.cpp -o test `pkg-config --cflags --libs gstreamer-1.0`

gstreamer version: 1.14.4
g++ version: 8.2.1

Could anybody help this issue ?

Sent from: http://gstreamer-devel.966125.n4.nabble.com/
gstreamer-devel mailing list
[hidden email]