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 637060 - matroskademux: errors out on 13MB blocks when streaming
matroskademux: errors out on 13MB blocks when streaming
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.26
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-11 23:10 UTC by Arnaud Vrac
Modified: 2010-12-29 23:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnaud Vrac 2010-12-11 23:10:05 UTC
Hi,

matroskademux cannot demux the following file in push mode:

gst-launch-0.10 playbin2 uri='http://absolut.zogzog.org/k/share/[Mazui]_Katanagatari_-_12_[32DE9A50].mkv'

The command fails because of the following error:

matroska-demux.c:5462:gst_matroska_demux_check_read_size:<matroskademux0> error: reading large block of size 13835111 not supported; file might be corrupt.

The file plays fine in pull mode.
Comment 1 Sebastian Dröge (slomo) 2010-12-12 10:42:30 UTC
This check exists to prevent playbin2 from doing nothing until the complete file was downloaded in push mode if the file is corrupt. It currently refuses to read blocks that are larger than 10MB

Not sure if there's anything useful we could do about this
Comment 2 Arnaud Vrac 2010-12-12 16:48:45 UTC
The file plays perfectly well if I remove this limit, so I guess I will use my patched version of matroskademux...
Comment 3 Tim-Philipp Müller 2010-12-29 23:41:30 UTC
Well, the 10M limit is a bit arbitrary anyway, and was just meant as a general sanity check IIRC. May just as well increase it to 15M now that there's a file that has such large blocks.

 commit 3a6682908724f25f0f604fe0c5b1a8609d2325b4
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Wed Dec 29 23:38:18 2010 +0000

    matroska-demux: increase allowed max. block size for push mode from 10M to 15M
    
    It was an arbitrary limit from the start, meant as a basic sanity check,
    so may just as well increase it a little. Would be good to provide
    progress reporting while completing the block in any case..
    
    https://bugzilla.gnome.org/show_bug.cgi?id=637060