Hi piperak,
Besides, I tried to run with x264enc and the result also looks wrong. Have you also tried x264enc?
The pipeline:
Using launch string: videotestsrc is-live=true ! video/x-raw, width=800, height=600, format=(string)I420 ! x264enc ! video/x-h264, stream-format=(string)byte-stream ! h264parse config-interval=1 ! splitmuxsink location=/home/nvidia/test-%02d.avi muxer=avimux max-files=5 max-size-time=10000000000
nvidia@tegra-ubuntu:~$ exiftool test-00.avi
ExifTool Version Number : 10.10
File Name : test-00.avi
Directory : .
File Size : 6.6 MB
File Modification Date/Time : 2018:09:17 03:30:20+00:00
File Access Date/Time : 2018:09:17 03:36:18+00:00
File Inode Change Date/Time : 2018:09:17 03:30:20+00:00
File Permissions : rw-rw-r--
File Type : AVI
File Type Extension : avi
MIME Type : video/x-msvideo
Frame Rate : 30
Max Data Rate : 4.219e+04 kB/s
Frame Count : 802
Stream Count : 1
Stream Type : Video
Video Codec : H264
Video Frame Rate : 30
Video Frame Count : 802
Quality : 0
Sample Size : Variable
Image Width : 800
Image Height : 600
Planes : 1
Bit Depth : 24
Compression : H264
Image Length : 480000
Pixels Per Meter X : 0
Pixels Per Meter Y : 0
Num Colors : Use BitDepth
Num Important Colors : All
Total Frame Count : 802
Software : x264
<b>Duration : 26.73 s</b>
Image Size : 800x600
Megapixels : 0.480
I think for ‘max-size-time=10000000000’, the duration should be 10 second. Is my understanding correct?