RTP from MPTS File
ht techdev
ht.techdev at gmail.com
Mon Aug 29 19:30:49 UTC 2016
Hi
On gstreamer 1.4.5, running on Centos 7, I would like to send mpts files,
i.e., multi pid mpeg2 transport streams, as rtp using udpsink. I know that
filesrc does not provide a clock source, unlike videotest src, when
is-live=true, so tried to generate one using multiqueue. Here is my
pipeline:
Chunk=$(echo "$BlkSize *10^9*$Duration/$FileSize" | bc)
filesrc location=$IN_FILE_NAME blocksize=$BlkSize do-timestamp=true !
multiqueue max-size-time=$Chunk max-size-bytes=$BlkSize
use-buffering=true low-percent=0 high-percent=100 sync-by-running-time=true
! \
tsparse ! \
udpsink port=$LOCAL_PORT host=$IP
The assumption is that over small time periods all pids behave are CBR, and
duration of total file read + queue should be the length of the longest
video pid, as specified by $Duration. What I am seeing is that $BlkSize is
the only parameter that is effecting the transmission time, independently of
$Duration. Essentially, transmission time is inversely proportional to
$BlkSize.
Any ideas or suggestions as how to proceed?
Cheers,
P.S. Came across this
http://gstreamer-devel.966125.n4.nabble.com/reading-parsing-and-outputting-a
-TS-file-synchronously-td4672081.html#a4679263; however, am not sure how
would it behave with multiple video pids.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160829/462fffc3/attachment.html>
More information about the gstreamer-devel
mailing list