[Bug 754768] Matroska streaming and GStreamer 1.5.x failing - reading large block and other errors

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 9 07:28:10 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754768

--- Comment #3 from Peter Maersk-Moller <pmaersk at gmail.com> ---
Adding a matroskaparse element to the encoding script makes the encoding script
it self fail with the large block error. That ought to make it easier to track
down the error.

The script has been cleaned a bit compared to first version and a queue extra
after the aacparse was added along with the matroskaparse element.

#!/bin/bash
width=1280
height=720
framerate="30/1"
audiorate=44100
channels=2
socket=/tmp/snowmixdummy
AUDIOFORMAT='audio/x-raw,format=S16LE,channels='$channels',layout=interleaved,rate='$audiorate
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                        !\
        queue                           !\
        matmux.                          \
        videotestsrc is-live=true       !\
        $VIDEOFORMAT,framerate=30/1     !\
        queue leaky=2                   !\
        videoconvert                    !\
        $X264ENC                        !\
        $ENCVIDEO                       !\
        h264parse                       !\
        queue                           !\
        matroskamux streamable=1 name=matmux    !\
        matroskaparse                   !\
        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