@athoik
I put xvid avi to mp4 and to mov format, but in that process was fourcc changed from xvid to plain mpeg4, so no xvid caps were detected and playback of video was not smooth anymore because of mpeg4 streamtype.
This is completely logical, because when put into another container, the avi-specific workarounds are no longer applicable.
I cannot confirm the case with mkv container(video/x-matroska -> video/x-xvid).
GST_DEBUG="*dvbvideosink*:6" gst-launch-1.0 playbin uri=file:///file.mkv -v 2>&1 | grep "video/"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-matroska
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink.GstProxyPad:proxypad7: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad10: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:sink.GstProxyPad:proxypad8: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstIdentity:identity.GstPad:src: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:src: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
0:00:00.607000963 989 0x515d20 DEBUG dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1308:gst_dvbvideosink_set_caps:<dvbvideosink0> set_caps video/x-xvid, framerate=(fraction)24000/1001, width=(int)640, height=(int)272, pixel-aspect-ratio=(fraction)1/1
0:00:00.607190037 989 0x515d20 INFO dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1474:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/x-xvid -> VIDEO_SET_STREAMTYPE, 10
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad4: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ pixel-aspect-ratio\=\(fraction\)1/1"
mp4/mov/m4v etc (video/quicktime -> video/mpeg, mpegversion=4)
GST_DEBUG="*dvbvideosink*:6" gst-launch-1.0 playbin uri=file:///file.mp4 -v 2>&1 | grep "video/"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = "video/quicktime\,\ variant\=\(string\)iso"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink.GstProxyPad:proxypad7: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad10: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:sink.GstProxyPad:proxypad8: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstIdentity:identity.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
0:00:00.455323555 1046 0x515720 DEBUG dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1308:gst_dvbvideosink_set_caps:<dvbvideosink0> set_caps video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, profile=(string)advanced-simple, level=(string)5, codec_data=(buffer)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634, width=(int)640, height=(int)272, framerate=(fraction)24000/1001, pixel-aspect-ratio=(fraction)1/1
0:00:00.458506296 1046 0x515720 INFO dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1337:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/mpeg4 -> VIDEO_SET_STREAMTYPE, 4
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad4: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\ profile\=\(string\)advanced-simple\,\ level\=\(string\)5\,\ codec_data\=\(buffer\)000001b0f5000001b5090000010000000120088685770307d31404221463000001b244697658353033623133393370000001b25876694430303634\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
GST_DEBUG="*dvbvideosink*:6" gst-launch-1.0 playbin uri=file:///file.mov -v 2>&1 | grep "video/"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink.GstProxyPad:proxypad7: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:src: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:sink.GstProxyPad:proxypad8: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
0:00:00.550711111 1089 0x515720 DEBUG dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1308:gst_dvbvideosink_set_caps:<dvbvideosink0> set_caps video/mpeg, mpegversion=(int)4, width=(int)640, height=(int)272, framerate=(fraction)24000/1001, pixel-aspect-ratio=(fraction)1/1
0:00:00.550932481 1089 0x515720 INFO dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1337:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/mpeg4 -> VIDEO_SET_STREAMTYPE, 4
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad4: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad4: caps = "video/mpeg\,\ mpegversion\=\(int\)4\,\ width\=\(int\)640\,\ height\=\(int\)272\,\ framerate\=\(fraction\)24000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1"
Here is the original avi file (video/x-msvideo -> video/x-xvid)
GST_DEBUG="*dvbvideosink*:6" gst-launch-1.0 playbin uri=file:///file.avi -v 2>&1 | grep "video/"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink.GstProxyPad:proxypad7: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad10: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
0:00:00.722865778 1003 0x515ec0 DEBUG dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1308:gst_dvbvideosink_set_caps:<dvbvideosink0> set_caps video/x-xvid, framerate=(fraction)24000/1001, width=(int)640, height=(int)272
0:00:00.723025518 1003 0x515ec0 INFO dvbvideosink /opt/openpli/openpligst/build/tmp/work/formuler1-oe-linux/gstreamer1.0-plugin-dvbmediasink/1.0+gitAUTOINC+27b18f56cf-r69/git/gstdvbvideosink.c:1474:gst_dvbvideosink_set_caps:<dvbvideosink0> MIMETYPE video/x-xvid -> VIDEO_SET_STREAMTYPE, 10
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad4: caps = "video/x-xvid\,\ framerate\=\(fraction\)24000/1001\,\ width\=\(int\)640\,\ height\=\(int\)272"
So xvid seems to work just fine with avi and mkv container using 0001-Revert-video-x-xvid-video-mpeg-mpegversion-4.patch patch.
For mp4/mov/m4v (quicktime) formats xvid is not recognized.
Also with latest patch 0001-dvbmediasink-add-all-available-timestamps-DTS-PTS-to.patch xvid seems to work without problems any more
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916