System Environment: ---------------------------------------- Platform: IVB Libva: staging branch 2b25c3439781f0b7162011627a8ad3bb6288d1bb Intel-driver: staging branch 5bd630d4ea732818728b0a464f45739c86e08be3 Gst-vaapi: 0.4 branch dd40042d447a0b696a75172bd3ed6cd1bad23377 Reproduce steps: --------------------------------- 1. xinit& ### change container ### 2. gst-launch-0.10 filesrc location=/home/gst-media/Stream/Sally.ts ! tsdemux ! vaapidecode ! vaapiencodeh264 rate-control=cqp init-qp=26 intra-period=30 b-frame-num=2 ! qtmux faststart=true ! filesink location=enc.mp4 ### dump yuv file ### 3. ffmpeg -i /home/gst-media/Stream/Sally.ts source.yuv 4. ffmpeg -i enc.mp4 enc.yuv Actually result: The source.yuv has 1822 frames, but the enc.yuv has 1820 frames. There is the same bug when change h264 to mp4.
This is a gst-vaapi related bug, please try the latest gst-vaapi. If you still experience this issue, please file a new bug against https://bugzilla.gnome.org/enter_bug.cgi?product=gstreamer-vaapi
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.