hello. I need to play back video trough black magick boards and i noticed that if i handle some kind of video i got problems. if you use this clip: and try to run this pipeline: 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 ! 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 you will notice that video was reproduced quicker than audio. the pipeline, modded like that: 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 ! 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 reproduce the problem also in a "normal" enviroment (desktop pc). Seems the "problem" is the binding of DE-Interlace AND interlace fiters, because if i run progressive clips, removing the de-interlace filter,: gst-launch-1.0 uridecodebin uri=file:///home/v1p3r/Video/temp/1080_stereo_29.97_variable_progressive.mp4 name=decode decode. ! 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 ! decklinkvideosink mode=3 decode. ! audioconvert ! audio/x-raw, format=S32LE, channels=2 ! audioresample ! audio/x-raw, rate=48000 ! decklinkaudiosink everything seems ok PS: i try to playback the INTERLACED video without the DEINTERLACE and INTERLACE filters: gst-launch-1.0 uridecodebin uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4 name=decode decode. ! 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 I suppose, that i need interlaced video to consume on decklink so i'll pass just that interlace file, but got e pipeline error: Impostazione della pipeline a PAUSED ... La pipeline è in PREROLLING ... Ridistribuzione latenza... Ridistribuzione latenza... ERRORE: dall'elemento /GstPipeline:pipeline0/GstURIDecodeBin:decode/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: Internal data stream error. Informazioni di debug aggiuntive: qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:decode/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: streaming stopped, reason not-negotiated (-4) ERRORE: la pipeline non vuole fare il preroll. Impostazione della pipeline a NULL ... Esecuzione di free sulla pipeline... Any hint? -- Sourceforge: https://sourceforge.net/u/allegfede/ YouTube Channel: https://www.youtube.com/c/v1p3rslab VIMEO HD videos: http://www.vimeo.com/user1912745/videos _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
This post was updated on .
sets "fields" of interlace to 1 or 2 to half the framerate
-- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list gstreamer-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Federico Allegretti
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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
What exactly you mean by Video speed is double than audio ??
Is it audio lagging ?? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Federico Allegretti
not audio lagging, indeed is the reverse. I got audio ok. perfect pitch, no lagging. But is the video that seems quite be fast forwarded. Test this pipeline: 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 ! 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 on this sample clip: On Mon, 10 Jun 2019 at 13:59, Federico Allegretti <[hidden email]> wrote:
-- Sourceforge: https://sourceforge.net/u/allegfede/ YouTube Channel: https://www.youtube.com/c/v1p3rslab VIMEO HD videos: http://www.vimeo.com/user1912745/videos _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |