dts is less than pcr pid: 49 dts: 1763201100 pcr: 2199796500

82 views
Skip to first unread message

Federico Allegretti

unread,
Jul 19, 2018, 9:59:26 AM7/19/18
to obe-discuss
Hello.

I'm using tmux instead of screen, but i suppose is quite the same.

Cloning the simple example script i run this one:

#!/bin/bash

tmux new-session -d -s obe-session
sleep 1
tmux select-pane -t "obe-session"

tmux send "obecli" C-m
sleep 1
tmux send "set input decklink" C-m
tmux send "set input opts video-format=pal" C-m
tmux send "probe input" C-m
sleep 3
tmux send "set stream opts 0:vbv-maxrate=384,vbv-bufsize=1000,bitrate=384,threads=3,format=avc" C-m
tmux send "set stream opts 1:bitrate=192,format=mp2" C-m
tmux send "set muxer opts ts-muxrate=576000,ts-type=generic" C-m
tmux send "set outputs 1" C-m
tmux send "set output opts 0:target=udp://239.1.1.1:5000?ttl=5" C-m
tmux send "start" C-m

echo "encoder started"


but with a lot of errors like this:
 
dts is less than pcr pid: 49 dts: 1763201100 pcr: 2199796500 .... etc ...

seems problem is in the ts-muxrate .... if i change the script like this:

#!/bin/bash

tmux new-session -d -s obe-session
sleep 1
tmux select-pane -t "obe-session"

tmux send "obecli" C-m
sleep 1
tmux send "set input decklink" C-m
tmux send "set input opts video-format=pal" C-m
tmux send "probe input" C-m
sleep 4
tmux send "set stream opts 0:vbv-maxrate=384,vbv-bufsize=2000,bitrate=350,threads=3,format=avc" C-m
tmux send "set stream opts 1:bitrate=192,format=mp2" C-m
#mux rate e' in bit non kilobit (fono a 1 megabit 1000000 non ho avuto problemi)
tmux send "set muxer opts ts-muxrate=900000,ts-type=generic" C-m
tmux send "set outputs 1" C-m
tmux send "set output opts 0:target=udp://LocalPublicIP:5000?ttl=5" C-m
tmux send "start" C-m

echo "encoder started"


seems going well (no errors).

Federico Allegretti

unread,
Jul 19, 2018, 12:31:53 PM7/19/18
to obe-discuss
do not know hot to exacly calc, but for that low bitrate, bitrate less than 700000 is problematic
Reply all
Reply to author
Forward
0 new messages