interlace field-pattern=2:2 renders faster video than audio

Federico Allegretti allegfede at gmail.com
Wed Apr 17 16:54:28 UTC 2019


just to test without a decklink board, this is the modified command thant
still renders faster video than audio:
gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/spot_i_miei_diritti_video_accelerato.mpg
name=decode decode. ! deinterlace ! 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

removing the interlace filter with this other command:
gst-launch-1.0 uridecodebin
uri=file:///home/v1p3r/Video/temp/spot_i_miei_diritti_video_accelerato.mpg
name=decode decode. ! deinterlace ! autovideoconvert  ! 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

renders a perfect clip on desktop, but i need it exiting from composite
video out of decklink cards :D



On Tue, 16 Apr 2019 at 19:13, Federico Allegretti <allegfede at gmail.com>
wrote:

> hello, i have some videos that have strange behaviour.
>
> the command i use to render those clips on am intensity pro is:
>
>  gst-launch-1.0 uridecodebin
> uri=file:///home/v1p3r/Video/temp/spot_i_miei_diritti_video_accelerato.mpg
> name=decode decode. ! deinterlace ! autovideoconvert ! interlace
> field-pattern=2:2 ! videoconvert ! video/x-raw,format=UYVY ! videoscale !
> video/x-raw,width=720,height=576 ! videorate ! video/x-raw,framerate=25/1 !
> decklinkvideosink mode=3 decode. ! audioconvert !  audio/x-raw,
> format=S32LE, channels=2 ! audioresample ! audio/x-raw, rate=48000 !
> decklinkaudiosink
>
> but some of them (the one of the example) results in video rendered faster
> than audio (that is ok in pitch and duration).
>
> it do not depends if original footage is interlaced or not:
> spot_linea_verde_febbraio_2014_ok.mpg is rendered perfect
> spot_i_miei_diritti_video_accelerato.mpg is faster video than audio ....
> spot_avis_video_accelerato.mpg is interlaced .... faster video than audio
> ....
>
> those clips are in my mega account if you want to test on your systems (my
> mega account):
> https://mega.nz/#F!4pMXmARI!f1DI_GskcknQhs2ZSSTcRg
>
>
> Do someone have an idea of what is appening?
> I suspect is the interlace field-pattern=2:2 .... but how i can bypass it
> and still render to the decklink sink?
>
> thanks a lot,
>
> Federico
> --
> Sourceforge: https://sourceforge.net/u/allegfede/
>
> YouTube Channel: https://www.youtube.com/c/v1p3rslab
>
> VIMEO HD videos: http://www.vimeo.com/user1912745/videos
>


-- 
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/20190417/fcbaaebf/attachment.html>


More information about the gstreamer-devel mailing list