x264enc unexpected LOSS when recording video !

Eric st0502123 at gmail.com
Tue Dec 11 06:29:57 UTC 2018


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/


More information about the gstreamer-devel mailing list