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 !

Eric
Hi,

I recently implement a simple code that can record rtsp stream with changing
filesink location dynamically every 10 seconds by referencing  this tutorial
<https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html#changing-elements-in-a-pipeline>
.

Rtsp stream example: rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov


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]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel