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): 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[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 |
media info returns those info: General Complete name
: spot_i_miei_diritti_video_accelerato.mpg THIS IS THE ONE WITH FASTER VIDEO Format : MPEG-PS File size : 30.4 MiB Duration : 42 s 264 ms Overall bit rate mode : Variable Overall bit rate : 6 041 kb/s
Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings : BVOP Format settings, BVOP : Yes Format settings, Matrix : Default Format settings, GOP : Variable Duration : 42 s 200 ms Bit rate mode : Variable Bit rate : 5 697 kb/s Maximum bit rate : 9 500 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : Bottom Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.549 Time code of first frame : 00:00:00:00 Time code source : Group of pictures header GOP, Open/Closed : Closed Stream size : 28.7 MiB (94%)
Audio ID : 192 (0xC0) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 42 s 264 ms Bit rate mode : Constant Bit rate : 224 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Frame rate : 41.667 FPS (1152 SPF) Compression mode : Lossy Stream size : 1.13 MiB (4%) and this for the correct playback video:
General Complete name : spot_linea_verde_febbraio_2014_ok.mpg Format : MPEG-PS File size : 25.3 MiB Duration : 35 s 784 ms Overall bit rate mode : Variable Overall bit rate : 5 934 kb/s
Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings : BVOP Format settings, BVOP : Yes Format settings, Matrix : Default Format settings, GOP : M=3, N=12 Duration : 35 s 720 ms Bit rate mode : Variable Bit rate : 5 592 kb/s Maximum bit rate : 9 500 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : Bottom Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.539 Time code of first frame : 00:00:00:00 Time code source : Group of pictures header GOP, Open/Closed : Closed Stream size : 23.8 MiB (94%)
Audio ID : 192 (0xC0) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 35 s 784 ms Bit rate mode : Constant Bit rate : 224 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Frame rate : 41.667 FPS (1152 SPF) Compression mode : Lossy Stream size : 978 KiB (4%) seems the only substantiial differences are the Format settings, GOP : M=3, N=12 FOR THE OK FILE AND for the faster video playback file:
Format settings, GOP : Variable On Wed, 17 Apr 2019 at 18:54, 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 |