<div dir="ltr"><div><div><div><div><div>Hi.<br><br></div>Use 'gst-inspect-1.0 x264enc' to see the options for the H.264 encoder. One of the is to set the coding type with respect to CBR or VBR. Look at the 'pass' option.<br><br></div>Can you share your setup for the DVB-S2 transmitter? Is it identical to the setup of Alex Csete?<br><br></div>Note that unless you use 'Generic Stream Encapsulation' (supported by DVB-S2), you will need to encapsulate your stream in MPEG TS.<br><br></div>Best regards<br><br></div>Peter Maersk-Moller<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 12, 2016 at 5:49 PM,  <span dir="ltr"><<a href="mailto:g.roelant@telenet.be" target="_blank">g.roelant@telenet.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ok, thanks this works....<br>
<br>
in order to send this ts to a dvb-s2 transmitter in gnuradio, this stream has to be in constant bit rate (CBR)<br>
is this feature already provided?<br>
<br>
<br>
----- Oorspronkelijk bericht -----<br>
Van: "Tim Müller" <<a href="mailto:tim@centricular.com">tim@centricular.com</a>><br>
Aan: "Discussion of the development of and with GStreamer" <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a>><br>
Verzonden: Vrijdag 12 augustus 2016 17:23:33<br>
Onderwerp: Re: use gstreamer to stream decklinkvideosource into transport stream<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, 2016-08-12 at 15:38 +0200, <a href="mailto:g.roelant@telenet.be">g.roelant@telenet.be</a> wrote:<br>
<br>
Hi,<br>
 <br>
> gst-launch-1.0 decklinkvideosrc device-number=2 connection=HDMI<br>
> mode=11 ! video/x-raw,format=I420,width=<wbr>1920<br>
> ,height=1080,profile=main ! x264enc tune=zerolatency byte-stream=true<br>
> bitrate=10000 threads=2 ! h264parse config-interval=1 ! rtph264pay !<br>
> udpsink host=127.0.0.1 port=5000<br>
> WAARSCHUWING: foutieve pijplijn: kon decklinkvideosrc0 niet verbinden<br>
> met x264enc0<br>
>  <br>
> gstreamer can not connect decklinkvideosrc0 to x264enc0<br>
<br>
Try just<br>
<br>
  decklinkvideosrc device-number=2 connection=HDMI mode=11 !<br>
videoconvert ! x264enc ! video/x-h264,stream-format=<wbr>byte-<br>
stream,profile=main ! ...<br>
<br>
<br>
no need to specify a caps filter if you specify the mode already. Also<br>
there's no "profile" field in raw video caps (you will need to put<br>
filtercaps after x264enc to force a profile).<br>
<br>
Note that I'm not sure if x264enc will handle interlaced input<br>
correctly (there might be some code missing that looks at the incoming<br>
video stream and configures the encoder properly for interlaced input).<br>
<br>
Cheers<br>
 -Tim<br>
<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>