GNOME Bugzilla – Bug 796952
Missing workaround for http streams in qtdemux
Last modified: 2018-11-03 15:32:29 UTC
I have one MP4 file that plays fine when being played from the local harddrive but gstreamer fails to play it when it is being streamed from an http server (simple http download). qtdemux gives me a "This file is invalid and cannot be played" error in that case. The file plays fine in all players i have tried so far but it's possible that the file is broken because it does not happen with other files i have. However, someone added a workaround to qtdemux that makes this file playable from the harddrive. This is the place where the workaround has been added for local files. The comment suggests that it might be related to broken tags https://github.com/GStreamer/gst-plugins-good/blob/1.12.4/gst/isomp4/qtdemux.c#L743 This is the place where the error message is coming from when trying to play the file from the web https://github.com/GStreamer/gst-plugins-good/blob/1.12.4/gst/isomp4/qtdemux.c#L6505 When i apply the workaround from the upper link also to the code from the lower link playback works for local and http files. I know it's a minor issue but IMO the behaviour should be the same for local and http files.
Without a file to reproduce, there is very little we can do. Are you able to share something to use ?
Here is a link to the file https://www.nix-worx.de/http_fail.mp4
-- 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/498.