video speed doubled when apply deinterlace & interlace to already interlaced video (decklink)

Federico Allegretti allegfede at gmail.com
Mon Jun 10 11:59:12 UTC 2019


Thanks for the kind answer.

I try:

gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4
name=decode decode. ! deinterlace ! autovideoconvert ! interlace
*field-pattern=2* top-field-first=true allow-rff=true ! videoconvert !
video/x-raw,format=UYVY ! videoscale ! video/x-raw,width=720,height=576 !
videorate ! video/x-raw,framerate=25/1 ! autovideosink  decode. !
audioconvert !  audio/x-raw, format=S32LE, channels=2 ! audioresample !
audio/x-raw, rate=48000 ! autoaudiosink

 gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4
name=decode decode. ! deinterlace ! autovideoconvert ! interlace*
field-pattern=1* top-field-first=true allow-rff=true ! videoconvert !
video/x-raw,format=UYVY ! videoscale ! video/x-raw,width=720,height=576 !
videorate ! video/x-raw,framerate=25/1 ! autovideosink  decode. !
audioconvert !  audio/x-raw, format=S32LE, channels=2 ! audioresample !
audio/x-raw, rate=48000 ! autoaudiosink

 gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4
name=decode decode. ! *deinterlace fields=2* ! autovideoconvert ! interlace
field-pattern=2:2 top-field-first=true allow-rff=true ! videoconvert !
video/x-raw,format=UYVY ! videoscale ! video/x-raw,width=720,height=576 !
videorate ! video/x-raw,framerate=25/1 ! autovideosink  decode. !
audioconvert !  audio/x-raw, format=S32LE, channels=2 ! audioresample !
audio/x-raw, rate=48000 ! autoaudiosink

gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4
name=decode decode. ! *deinterlace fields=1* ! autovideoconvert ! interlace
field-pattern=2:2 top-field-first=true allow-rff=true ! videoconvert !
video/x-raw,format=UYVY ! videoscale ! video/x-raw,width=720,height=576 !
videorate ! video/x-raw,framerate=25/1 ! autovideosink  decode. !
audioconvert !  audio/x-raw, format=S32LE, channels=2 ! audioresample !
audio/x-raw, rate=48000 ! autoaudiosink

always video speed is double than audio ....

instread:
gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4
name=decode decode. ! deinterlace ! autovideoconvert ! interlace
field-pattern=2:2 top-field-first=true allow-rff=true* fields=1*!
videoconvert ! video/x-raw,format=UYVY ! videoscale !
video/x-raw,width=720,height=576 ! videorate ! video/x-raw,framerate=25/1 !
autovideosink  decode. ! audioconvert !  audio/x-raw, format=S32LE,
channels=2 ! audioresample ! audio/x-raw, rate=48000 ! autoaudiosink

and also fileds=2 .. results in a pipeline error ....

where i have to put the "fields" switch?

-- 
Sourceforge: https://sourceforge.net/u/allegfede/

YouTube Channel: https://www.youtube.com/c/v1p3rslab

VIMEO HD videos: http://www.vimeo.com/user1912745/videos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190610/6be3e8d6/attachment.html>


More information about the gstreamer-devel mailing list