Using the following command lines:
number of buffers before EOF = 100
gst-launch mfw_v4lsrc num-buffers=100 capture-mode=4 ! queue ! vpuenc codec=6 ! matroskamux ! filesink location=test_h264_100.mkv
gst-launch mfw_v4lsrc num-buffers=100 capture-mode=4 ! queue ! vpuenc codec=0 ! matroskamux ! filesink location=test_mpeg4_100.mkv
number of buffers before EOF = 200
gst-launch mfw_v4lsrc num-buffers=200 capture-mode=4 ! queue ! vpuenc codec=6 ! matroskamux ! filesink location=test_h264_200.mkv
gst-launch mfw_v4lsrc num-buffers=200 capture-mode=4 ! queue ! vpuenc codec=0 ! matroskamux ! filesink location=test_mpeg4_200.mkv
number of buffers before EOF = 300
gst-launch mfw_v4lsrc num-buffers=300 capture-mode=4 ! queue ! vpuenc codec=6 ! matroskamux ! filesink location=test_h264_300.mkv
gst-launch mfw_v4lsrc num-buffers=300 capture-mode=4 ! queue ! vpuenc codec=0 ! matroskamux ! filesink location=test_mpeg4_300.mkv
I got the following results:
-rwxr-xr-x 1 root root 19.4M Sep 16 20:25 test_h264_100.mkv
-rwxr-xr-x 1 root root 38.8M Sep 16 20:24 test_h264_200.mkv
-rwxr-xr-x 1 root root 58.1M Sep 16 20:25 test_h264_300.mkv
-rwxr-xr-x 1 root root 531.1K Sep 16 20:25 test_mpeg4_100.mkv
-rwxr-xr-x 1 root root 1.0M Sep 16 20:25 test_mpeg4_200.mkv
-rwxr-xr-x 1 root root 1.5M Sep 16 20:26 test_mpeg4_300.mkv
I'm using this env:
Linux imx6qsabresd 3.0.35-4.1.0+yocto+gbdde708 #1 SMP PREEMPT Mon Sep 16 16:20:23 BRT 2013 armv7l GNU/Linux
U-Boot 2013.10-rc2 (Sep 16 2013 - 16:46:38)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Board: MX6-SabreSD
DRAM: 1 GiB
So, it's not an integration error, it's something related with MM plugins/encoders
karinavalencia, we need to escalate this bug to get fixed on next MM release. (or someone to explain why this is not a bug)
Deactivated user, include plain text is a pain!!!!!!!!!!!!!! :smileysad::smileycry: