<div dir="ltr"><div>not audio lagging, indeed is the reverse.</div><div>I got audio ok. perfect pitch, no lagging. But is the video that seems quite be fast forwarded.</div><div><br></div><div>Test 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 ! autovideosink decode. ! audioconvert ! audio/x-raw, format=S32LE, channels=2 ! audioresample ! audio/x-raw, rate=48000 ! autoaudiosink</div><div><br></div><div>on this sample 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 class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 10 Jun 2019 at 13:59, Federico Allegretti <<a href="mailto:allegfede@gmail.com" target="_blank">allegfede@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for the kind answer.</div><div><br></div><div>I try:</div><div><br></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 <b>field-pattern=2</b> 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> gst-launch-1.0 uridecodebin uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4 name=decode decode. ! deinterlace ! autovideoconvert ! interlace<b> field-pattern=1</b> 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<br></div><div><br></div><div> gst-launch-1.0 uridecodebin uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4 name=decode decode. ! <b>deinterlace fields=2</b> ! 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<br></div><div><br></div><div>gst-launch-1.0 uridecodebin uri=file:///home/v1p3r/Video/temp/1080_stereo_59.940_interlaced.mp4 name=decode decode. ! <b>deinterlace fields=1</b> ! 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>always video speed is double than audio ....</div><div><br></div><div>instread:</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<b> fields=1</b>! 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<br></div><div><br></div><div>and also fileds=2 .. results in a pipeline error ....</div><div><br></div><div>where i have to put the "fields" switch?<br></div><div><br></div>-- <br><div dir="ltr" class="gmail-m_3280133308960288857gmail-m_6206641367652819300gmail_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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_3280133308960288857gmail_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>