After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796767 - vc1parse: error when seeking
vc1parse: error when seeking
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.12.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-09 02:19 UTC by Ung, Teng En
Modified: 2018-11-03 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
AVI vc1 video stream (11.16 KB, application/octet-stream)
2018-07-09 02:19 UTC, Ung, Teng En
Details
Simple seek test program. (2.08 KB, text/plain)
2018-07-31 09:08 UTC, Ung, Teng En
Details
Debug log informations. (1.01 MB, application/octet-stream)
2018-08-01 02:49 UTC, Ung, Teng En
Details

Description Ung, Teng En 2018-07-09 02:19:21 UTC
Created attachment 372974 [details]
AVI vc1 video stream

When using this pipeline :-
"filesrc location=./ogg_vc1_2ch_44100hz_1920x_1080y_no_audio.avi ! avidemux ! queue ! avdec_vc1 ! xvimagesink"

There is no error.

But when adding vc1parse into the pipeline, the seek just return error.
"filesrc location=./ogg_vc1_2ch_44100hz_1920x_1080y_no_audio.avi ! avidemux ! queue ! vc1parse ! avdec_vc1 ! xvimagesink"
Comment 1 Ung, Teng En 2018-07-31 09:08:18 UTC
Created attachment 373225 [details]
Simple seek test program.
Comment 2 Ung, Teng En 2018-07-31 09:13:30 UTC
Hi,

    That's a simple seek test source that used.


Thanks
Teng
Comment 3 Ung, Teng En 2018-08-01 01:53:55 UTC
Hi,

   And after some trace down the code.  Find that it lead to baseparse and call into this gst_base_parse_check_seekability() function.  I try to check for this function, it is checking the seek support from upstream (probably demuxer).  And since the demuxer cannot support the seek, it will return 0 (unsupported).

   So, it this the correct behavior?


Thanks
Teng
Comment 4 Nicolas Dufresne (ndufresne) 2018-08-01 02:05:28 UTC
Baseparse/vc1parse should still forward the seek event in the context, so no, it's not really the right behaviour. Though, this parser is not ranked, I don't know the history, but I suppose a parser is not requires for VC1. I believe this bug is not affecting much existing playback pipeline, but this looks valid.
Comment 5 Ung, Teng En 2018-08-01 02:49:34 UTC
Created attachment 373233 [details]
Debug log informations.
Comment 6 Ung, Teng En 2018-08-01 03:03:19 UTC
Hi,

     Thanks for your response.  Attached is the debug log print out baseparse messages.


Thanks
Comment 7 GStreamer system administrator 2018-11-03 14:27:27 UTC
-- 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-bad/issues/746.