[Bug 781069] postproc: framerate should not be always duplicated
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Apr 16 23:00:52 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=781069
--- Comment #13 from Benjamin <ben at setplex.com> ---
I have used this as source for all my tests
http://albcast.tv/vaapi/source_raw.ts
I noticed that frame doubling happens only with Gstreamer's deinterlace element
and VAAPI and the deinterlace is bad shaky video.
then I tried avdeinterlace element from gst-libav and Gstreamer-MSDK and the
video was good and framerate stayed the same as source please see pipelines
below with downloadable output file.
gst-launch-1.0 filesrc location="source_raw.ts" ! tsdemux ! queue
max-size-buffers=1200 max-size-buffers=0 max-size-time=0 ! h264parse !
avdec_h264 ! deinterlace method=6 ! x264enc pass=0 bitrate=1700 ! mpegtsmux !
filesink location="avdec264_deintelace_6.ts" -v
Output 50 FPS (not deinterlacing properly shaky video)
http://albcast.tv/vaapi/avdec264_deintelace_6.ts
gst-launch-1.0 filesrc location="source_raw.ts" ! tsdemux ! queue
max-size-buffers=1200 max-size-buffers=0 max-size-time=0 ! h264parse !
avdec_h264 ! avdeinterlace ! x264enc pass=0 bitrate=1700 ! mpegtsmux !
filesink location="avdech264_avdeintelace.ts" -v
! avdec_h264 ! avdeinterlace ! x264enc pass=0 bitrate=1700 !
Output 25 FPS (GOOD video results)
http://albcast.tv/vaapi/avdech264_avdeintelace.ts
gst-launch-1.0 filesrc location="source_raw.ts" ! tsdemux ! queue
max-size-buffers=1200 max-size-buffers=0 max-size-time=0 ! h264parse !
vaapih264dec ! vaapipostproc deinterlace-method=1 ! vaapih264enc
rate-control=2 bitrate=1700 ! mpegtsmux ! filesink
location="vaapih264dec_deintelace_1.ts"
Output 50 FPS (not deinterlacing properly shaky video)
http://albcast.tv/vaapi/vaapih264dec_deintelace_1.ts
gst-launch-1.0 filesrc location="source_raw.ts" ! tsdemux ! queue
max-size-buffers=1200 max-size-buffers=0 max-size-time=0 ! h264parse !
mfxh264dec ! mfxvpp deinterlace-mode=1 ! mfxh264enc rate-control=1 bitrate=1700
! mpegtsmux ! filesink location="mfxh264dec_deinterlace_1.ts"
Output 25 FPS (GOOD Video Results)
http://albcast.tv/vaapi/mfxh264dec_deinterlace_1.ts
Also I tried FFmpeg with deinterlacing it didn't double the framerate and no
shaky video.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list