<div dir="ltr"><div>hello.</div><div><br></div><div>I need to play back video trough black magick boards and i noticed that if i handle some kind of video i got problems.</div><div><br></div><div>if you use this clip:</div><div><a href="https://www.hdpvrcapture.com/hdpvrcapture/samples/20090227_235906-H.264.m2ts.mp4">https://www.hdpvrcapture.com/hdpvrcapture/samples/20090227_235906-H.264.m2ts.mp4</a></div><div><br></div><div>and try to run this pipeline:</div><div>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</div><div><br></div><div>you will notice that video was reproduced quicker than audio.<br></div><div><br></div><div>the pipeline, modded like that:</div><div>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</div><div><br></div><div>reproduce the problem also in a "normal" enviroment (desktop pc).</div><div><br></div><div>Seems the "problem" is the binding of DE-Interlace AND interlace fiters, because if i run progressive clips, removing the de-interlace filter,:</div><div><br></div><div>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</div><div><br></div><div>everything seems ok<br></div><div><br></div><div><br></div><div>PS: i try to playback the INTERLACED video without the DEINTERLACE and INTERLACE filters:</div><div>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</div><div><br></div><div>I suppose, that i need interlaced video to consume on decklink so i'll pass just that interlace file, but got e pipeline error:</div><div>Impostazione della pipeline a PAUSED ...<br>La pipeline è in PREROLLING ...<br>Ridistribuzione latenza...<br>Ridistribuzione latenza...<br>ERRORE: dall'elemento /GstPipeline:pipeline0/GstURIDecodeBin:decode/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: Internal data stream error.<br>Informazioni di debug aggiuntive:<br>qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:decode/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:<br>streaming stopped, reason not-negotiated (-4)<br>ERRORE: la pipeline non vuole fare il preroll.<br>Impostazione della pipeline a NULL ...<br>Esecuzione di free sulla pipeline...<br></div><div><br></div><div>Any hint?<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sourceforge: <a href="https://sourceforge.net/u/allegfede/" target="_blank">https://sourceforge.net/u/allegfede/</a><br><div><br>YouTube Channel: <a href="https://www.youtube.com/c/v1p3rslab" target="_blank">https://www.youtube.com/c/v1p3rslab</a><br><br>VIMEO HD videos: <a href="http://www.vimeo.com/user1912745/videos" target="_blank">http://www.vimeo.com/user1912745/videos</a></div></div></div></div></div></div></div></div></div>