[Bug 722801] New: GstAppSrc fails to open files when type is RANDOM_ACCESS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 22 14:38:18 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722801
  GStreamer | gstreamer (core) | 0.10.36

           Summary: GstAppSrc fails to open files when type is
                    RANDOM_ACCESS
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: dantti12 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=267005)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=267005)
Test application

Hi,

I'm using gstreamer through QtMultimedia 5, and I feed Gstreamer with AppSrc
because my files although local are encrypted.

When I started the application I simply passed the file URL as it wasn't
encrypted yet, and so far all files were working, then when I started using
AppSrc some formats stopped working, after some digging I found out that making
Qt set GST_APP_STREAM_TYPE_STREAM instead of GST_APP_STREAM_TYPE_RANDOM_ACCESS
on some mp3 made them play fine. It was a ok workaround till last week when I
started testing with the 500GB of all sorts of files (it's an app for Jukebox
machines). Then even with GST_APP_STREAM_TYPE_STREAM lots of videos didn't play
well, so far I had even reported a bug in Qt about it but they were unable to
reproduce it.

I talked with some of you at IRC and __Tim suggested me to send a test app, so
I went on digging a simple app that didn't use Qt to try to see if Qt guys had
done something wrong, I found these:
https://source.ridgerun.net/svn/leopardboarddm365/sdk/trunk/fs/apps/gst-plugins-base-0.10.23/src/tests/examples/app/

And just found out that these simple examples had the same issues as my Qt
application, and I also found out that GST_APP_STREAM_TYPE_SEEKABLE is the type
that plays now close to 100% of the files, but that doesn't make much sense
according to the description as GST_APP_STREAM_TYPE_SEEKABLE vs
GST_APP_STREAM_TYPE_RANDOM_ACCESS seems to be more about deliver speed than
supporting formats.

I'm attaching a modified version that I played with (to make it look more like
the Qt source code) that fails to play this file for example:
http://goo.gl/WODLFF 

Thanks

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list