GNOME Bugzilla – Bug 608945
avidemux: Doesn't handle files with large gaps between audio/video streams properly
Last modified: 2018-11-03 14:41:00 UTC
Open bug in lauchpad.net: https://bugs.edge.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/516832 loop in gstpad.c "$ LANGUAGE=C GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:2 totem 2> log 0:00:00.091962270 4404 0x99e0080 WARN pyplugin gstpythonplugin.c:343:plugin_init: Couldn't g_module_open libpython. Reason: /usr/lib/libpython2.6.so: cannot open shared object file: No such file or directory 0:00:00.092094409 4404 0x99e0080 WARN GST_PLUGIN_LOADING gstplugin.c:422:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstpython.so" failed to initialise 0:00:00.093664162 4404 0x99e0080 WARN GST_PLUGIN_LOADING gstplugin.c:422:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstladspa.so" failed to initialise (totem:4403): GLib-GObject-WARNING **: value "10752000" of type `guint' is invalid or out of range for property `connection-speed' of type `guint' 0:00:05.426087788 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:05.426199813 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:05.426238924 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:05.426270213 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:05.426303737 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:05.426333629 4403 0x99e0080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected ..."
Now load "libgstpython.so" https://bugs.edge.launchpad.net/gstreamer/+bug/516832/comments/2 New message: 0:00:00.052160278 2829 0x927c080 WARN GST_PLUGIN_LOADING gstplugin.c:422:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstladspa.so" failed to initialise (totem:2828): GLib-GObject-WARNING **: value "10752000" of type `guint' is invalid or out of range for property `connection-speed' of type `guint' 0:00:04.624021947 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631373163 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631441887 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631475690 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631512566 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631543855 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631579055 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631610344 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631645544 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631676554 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631711474 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631742484 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631777404 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631808693 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631843614 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631874623 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.631909823 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.631940833 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:04.636056441 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:04.636227971 2828 0x927c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected ~
Created attachment 153031 [details] $LANGUAGE=C GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:3 totem 2> GST_DEBUG-3.log I create log GST_DEBUG=4 and message: 0:00:05.949990858 2872 0x836c080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:05.950023264 2872 0x836c080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:05.950061258 2872 0x836c080 INFO default gsttypefindhelper.c:186:helper_find_peek: typefind function returned: unexpected 0:00:05.950137525 2872 0x836c080 DEBUG basesrc gstbasesrc.c:1881:gst_base_src_update_length:<source> reading offset 6360, length 4096, size 6360, segment.stop -1, maxsize 6360 0:00:05.950175518 2872 0x836c080 DEBUG basesrc gstbasesrc.c:2061:gst_base_src_get_range:<source> unexpected length 4096 (offset=6360, size=6360)
I create log GST_DEBUG=5 and message: 0:00:05.163686789 3110 0x8563080 WARN GST_SCHEDULING gstpad.c:4603:gst_pad_get_range:<source:src> getrange failed unexpected 0:00:05.163701596 3110 0x8563080 LOG GST_REFCOUNTING gstobject.c:324:gst_object_unref:<source:src> 0x86cde48 unref 3->2 0:00:05.163716123 3110 0x8563080 WARN GST_SCHEDULING gstpad.c:4715:gst_pad_pull_range:<decodebin20:sink> pullrange failed unexpected 0:00:05.163736516 3110 0x8563080 INFO default gsttypefindhelper.c:186:helper_find_peek: typefind function returned: unexpected 0:00:05.163750764 3110 0x8563080 LOG default gsttypefindhelper.c:99:helper_find_peek:<sink:proxypad4> 'audio/mpeg' called peek (6360, 1024) 0:00:05.163766688 3110 0x8563080 LOG GST_REFCOUNTING gstobject.c:297:gst_object_ref:<source:src> 0x86cde48 ref 2->3 0:00:05.163782053 3110 0x8563080 LOG GST_SCHEDULING gstpad.c:4543:gst_pad_get_range:<source:src> calling getrangefunc gst_base_src_pad_get_range, offset 6360, size 4096 0:00:05.163797697 3110 0x8563080 LOG GST_REFCOUNTING gstobject.c:297:gst_object_ref:<source> 0x8fac078 ref 2->3 0:00:05.163812783 3110 0x8563080 DEBUG basesrc gstbasesrc.c:1881:gst_base_src_update_length:<source> reading offset 6360, length 4096, size 6360, segment.stop -1, maxsize 6360 0:00:05.163835970 3110 0x8563080 DEBUG basesrc gstbasesrc.c:2061:gst_base_src_get_range:<source> unexpected length 4096 (offset=6360, size=6360) 0:00:05.163852453 3110 0x8563080 LOG GST_REFCOUNTING gstobject.c:324:gst_object_unref:<source> 0x8fac078 unref 3->2
Please stop pasting random log messages into bugzilla, it's not very helpful. Let's start the other way round: what are you trying to do and how does it fail? I gather you are trying to play a video, but it doesn't work? Do you get an error message? Does it crash? What happens? Can you make that video file available somewhere so we can have a look at it and try it ourselves?
Hello: Let's start the other way round: what are you trying to do and how does it fail? o Open video download of internet Open with Totem 2.28.2 of Ubuntu Karmic Koala I gather you are trying to play a video, but it doesn't work? o Yes Do you get an error message? o Not message of error Does it crash? Not Crash What happens? Don't play video Can you make that video file available somewhere so we can have a look at it and try it ourselves? http://thepiratebay.org/torrent/5312269/Avatar%282009%29TS_SHQ_720p-%5BSpanish_Sub%29-%5BESPADESCARGAS%5D Many Thanks and sorry for my english
Are you trying to play the video while it is still being downloaded? Does it happen only with this single video? Are you storing the video on your local harddrive or on some remote location?
(In reply to comment #6) > Are you trying to play the video while it is still being downloaded? Not. I download full video and play > Does it happen only with this single video? Yes > Are you storing the video on your local harddrive or on some remote location? I storing the video on Local harddrive
I open with VLC and view movie. http://www.romanescu.cl/bugs/Avatar(2009)TS%20SHQ%20720p-%5bSpanish+Sub)-%5bESDGAS%5d.avi
I can confirm that it doesn't work... but I get different errors than you. For me it simply deadlocks at some point and the debug logs complain about mp3parse not being able to find any sync codes. I'll try to debug this a bit more later...
Ok, with the file you uploaded the problem simply is, that there are very large gaps between the audio and video parts, at least 8 MB. The queues are simply too small for that to work.
My video en LP: https://bugs.edge.launchpad.net/ubuntu/+source/gst-plugins-good0.10/+bug/516832/comments/5
It works with the old playbin :-/
Problem still persists in 1.x File is available in above launchpad link
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/22.