[Bug 754768] New: Matroska streaming and GStreamer 1.5.x failing - reading large block and other errors
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 9 03:35:05 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754768
Bug ID: 754768
Summary: Matroska streaming and GStreamer 1.5.x failing -
reading large block and other errors
Classification: Platform
Product: GStreamer
Version: 1.5.90
OS: All
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: pmaersk at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I'm been having a bit of a problem with Matroska streaming ever since 1.5.x.
Now using 1.5.90.
The same pipeline report differently depending on when to start the pipeline.
Here is the first example:
gst-launch-1.0 tcpclientsrc host=stream01 port=5010 ! decodebin name=dec !
autovideosink dec. ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element
/GstPipeline:pipeline0/GstDecodeBin:dec/GstMatroskaDemux:matroskademux0: Could
not demultiplex stream.
Additional debug info:
matroska-demux.c(4004): gst_matroska_demux_check_read_size ():
/GstPipeline:pipeline0/GstDecodeBin:dec/GstMatroskaDemux:matroskademux0:
reading large block of size 135481368 not supported; file might be corrupt.
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
[01:16:10.943] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not
select and open decoder instance) at
/SourceCache/CoreMedia_frameworks/CoreMedia-1562.235/Sources/VideoToolbox/VTDecompressionSession.c
line 1181
Freeing pipeline ...
Here is another example of output:
gst-launch-1.0 tcpclientsrc host=stream01 port=5010 ! decodebin name=dec !
autovideosink dec. ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
[01:19:42.317] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not
select and open decoder instance) at
/SourceCache/CoreMedia_frameworks/CoreMedia-1562.235/Sources/VideoToolbox/VTDecompressionSession.c
line 1181
ERROR: from element /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2943): void gst_base_src_loop(GstPad *) ():
/GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
A serving pipeline could look something like this:
----------------------------
#!/bin/bash
width=1280
height=720
framerate="30/1"
audiorate=44100
channels=2
socket=/tmp/snowmixdummy
SHMSIZE='shm-size='`echo "$width * $height * 4 * 34"|bc`
SHMOPTION="wait-for-connection=0 sync=true"
SHMSINK1="shmsink socket-path=$socket $SHMSIZE $SHMOPTION"
AUDIOFORMAT='audio/x-raw,format=S16LE,channels='$channels',layout=interleaved,rate='$audiorate
#VIDEOFORMAT='video/x-raw,format=BGRA,width='$width',height='$height',framerate='$framerate
VIDEOFORMAT='video/x-raw,format=BGRA,width='$width',height='$height'
ENCAUDIO='audio/mpeg,mpegversion=4,stream-format=raw'
ENCVIDEO='video/x-h264,alignment=au,stream-format=byte-stream,profile=main'
VIDEOSRC='shmsrc socket-path='$socket' do-timestamp=true is-live=true'
AAC_ENC='avenc_aac bitrate=128000 compliance=-2'
X264ENC='x264enc bitrate=4000 speed-preset=2 tune=zerolatency key-int-max=60
bframes=0'
gst-launch-1.0 -v \
audiotestsrc is-live=true !\
$AUDIOFORMAT !\
queue leaky=2 !\
audiorate !\
audioconvert !\
$AAC_ENC !\
$ENCAUDIO !\
aacparse !\
matmux. \
videotestsrc is-live=true !\
$VIDEOFORMAT,framerate=30/1 !\
queue leaky=2 !\
videoconvert !\
$X264ENC !\
$ENCVIDEO !\
h264parse !\
queue !\
matroskamux streamable=1 name=matmux !\
queue !\
tcpserversink host=0.0.0.0 port=5010 sync-method=2
recover-policy=keyframe
----------------------------
--
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