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 674790 - flv seeking issues with indexless files and http
flv seeking issues with indexless files and http
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-25 12:37 UTC by Edward Hervey
Modified: 2018-05-04 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2012-04-25 12:37:25 UTC
(note/disclaimer : I am putting the example with youtube for simplicity of testing, but applies to any index-less flv file served over a http server that allows range requests).

How to test : Use totem with quvi support and point it to a youtube link (https://www.youtube.com/watch?v=dTUjcEDb6PQ) or use quvi command line tool to get the http address.

Try to : seek beyond buffered region

Problem : Can't figure out where to seek to in bytes.

gst_flv_demux_handle_seek_pull:<flvdemux0> delaying seek to post-scan;  index only up to 0:00:02.600000000

Due to the file not having an index, flvdemux needs to 'scan' the file to get to the requested position, and does so in an incremental fashion. While this works fine for local files ... it means one cannot seek beyond the buffered position for files stored remotely.

The problem is that, due to not having an index, we'd need to be able to 're-sync' on tag headers (what is present at the beginning of video/audio buffers). Maybe some system by which we scan for 3 consecutive tags that validate each other through tag_sizes and tag types.
Comment 1 Edward Hervey 2013-08-13 15:26:52 UTC
Someone knowledgeable about flv file format will need to tackle this. Moving to enhancement
Comment 2 Edward Hervey 2013-08-13 16:14:07 UTC
The FLV file format specs are in Annex E of http://download.macromedia.com/f4v/video_file_format_spec_v10_1.pdf
Comment 3 Edward Hervey 2018-05-04 12:28:25 UTC
Closing. Too niche and can be fixed by just remuxing.