GNOME Bugzilla – Bug 796767
vc1parse: error when seeking
Last modified: 2018-11-03 14:27:27 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"
Created attachment 373225 [details] Simple seek test program.
Hi, That's a simple seek test source that used. Thanks Teng
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
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.
Created attachment 373233 [details] Debug log informations.
Hi, Thanks for your response. Attached is the debug log print out baseparse messages. Thanks
-- 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.