[Bug 754768] matroskademux: Streaming via tcpserversink fails - reading large block not supported
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Sep 10 01:00:35 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754768
--- Comment #9 from Peter Maersk-Moller <pmaersk at gmail.com> ---
Here is the correct script for tcpserversink. There was a "'" too much.
#!/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