Thanks for the reply. I enabled VUI and it does seem to have added FPS information in the stream, but its still recording at 30fps.
Case 1:
VUI Enabled, and recording at 30fps. The playback works fine, there is no difference here whether VUI is enabled or not.
Case 2:
VUI enabled and recording at 60fps.
To play I use command
gst-launch-1.0 filesrc location=/home/omer/output60vui.h264 ! video/x-h264 ! h264parse ! avdec_h264 ! videoconvert ! videorate ! video/x-raw,framerate=60/1 ! autovideosink
The video plays 2x faster and a 10 second video ends in 5 seconds
if I give the framerate=30/1, the video seems to be be skipping frames but still ends in 5 seconds
Case 3:
VUI not enabled and recording at 60fps.
To play I use command
gst-launch-1.0 filesrc location=/home/omer/output60.h264 ! video/x-h264 ! h264parse ! avdec_h264 ! videoconvert ! videorate ! video/x-raw,framerate=60/1 ! autovideosink
The video plays 2x faster and a 10 second video ends in 5 seconds
if I give the framerate=30/1, the video plays exactly as if it was recorded at 30 fps, and runs for 10 seconds.
TLDR: So inserting vui has just added fps information to video, but its still recording at 30fps. What am I missing
Hi,
The issue is not in encoding but in the source. It does not output in 60fps. Please check if you correctly run the source in 60fps. Probably you don’t set to the correct mode or miss some setting to Argus.
----------- Element = renderer0 -----------
Total Profiling time = 9.93072
Average FPS = 59.5123
Total units processed = 592
Num. of late units = 168
-------------------------------------