Hello,
I produce a mpegts stream with the below command and the output stream is around 1500 kbit/s. I would expect it to be around 700kbits since I give the "bitrate=700" option. I tried removing the "mpegtsmux" option but the output stream dropped to 1300 kbit/s
Resolution is 720 x 576 and fps is 25
Can you please guide me about what I am doing wrong?
Below link is a picture of the vlc codec info output when I play the file. Note that the background is almost constant
gst-launch-1.0 imxv4l2src device=/dev/video0 ! \ imxvpuenc_h264 bitrate=700 ! \ h264parse ! mpegtsmux ! queue ! fdsink | pv > /dev/null
root@colibri-imx6:~# ./pv.sh 14MiB 0:00:07 [ 181kiB/s] [ ]
Here are the software versions
root@colibri-imx6:~# gst-launch-1.0 --version
gst-launch-1.0 version 1.12.2
GStreamer 1.12.2root@colibri-imx6:~# gst-inspect-1.0 imxv4l2src
====== IMXV4L2SRC: 4.3.1 build on Jul 3 2018 14:07:07. ======```root@colibri-imx6:~# gst-inspect-1.0 imxvpuenc_h264
Factory Details:
Rank primary + 1 (257)
Long-name Freescale VPU h.264 video encoder
Klass Codec/Encoder/Video
Description hardware-accelerated h.264 video encoding using the Freescale VPU engine
Author Carlos Rafael Giani <dv@pseudoterminal.org>Plugin Details:
Name imxvpu
Description video en- and decoder elements using the Freescale i.MX VPU
Filename /usr/lib/gstreamer-1.0/libgstimxvpu.so
Version 0.13.0
License LGPL
Source module gstreamer-imx
Binary package Unknown package release
Origin URL Unknown package origin```
Hi rifat
one can check mpegts tutorial on
GStreamer MPEG2 TS Pipelines | GStreamer mpegtsmux
or try with imx-gst1.0-plugins described in attached Linux Guide sect.7.3.13 RTP/UDP MPEGTS streaming.
Also one can open issue on gstreamer-imx forum
Issues · Freescale/gstreamer-imx · GitHub
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------