diff --git a/src/Lib/Video.cc b/src/Lib/Video.cc
index 467d562cdd252a3ed3f2c8807084c9d36eb3ddd1..e6b9a07022e0e77f352b5a90e664ea2111c9d882 100644
--- a/src/Lib/Video.cc
+++ b/src/Lib/Video.cc
@@ -31,3 +31,27 @@ VideoContext::getElementName() const noexcept
 {
     return "Video" + Super::getElementName();
 }
+
+int
+VideoStream::getWidth() const noexcept
+{
+    return codecContext->width;
+}
+
+int
+VideoStream::getHeight() const noexcept
+{
+    return codecContext->height;
+}
+
+qint64
+VideoStream::getDuration() const noexcept
+{
+    return dataFormat->duration;
+}
+
+double
+VideoStream::getFramesPerSecond() const noexcept
+{
+    return av_q2d(stream->r_frame_rate);
+}
diff --git a/src/Lib/Video.hh b/src/Lib/Video.hh
index 3f52495f6546043f08fce389a8db244f2c94dde1..2d3c60549582f4db661fc8b54f0545288961ef87 100644
--- a/src/Lib/Video.hh
+++ b/src/Lib/Video.hh
@@ -17,10 +17,10 @@ public:
     VideoStream(AVCodec *, AVFormatContext *, AVStream *, int index);
     ~VideoStream() noexcept override = default;
 
-    size_t getWidth() const noexcept;
-    size_t getHeight() const noexcept;
-    size_t getDuration() const noexcept;
-    size_t getFramesPerSecond() const noexcept;
+    int getWidth() const noexcept;
+    int getHeight() const noexcept;
+    qint64 getDuration() const noexcept;
+    double getFramesPerSecond() const noexcept;
 
     QJsonObject getProperties() const noexcept override;