Need help with GStreamer. Player shows black-screen with other pattern (only ball is ok). #15
-
Hello, I encountered the following problem when using GStreamer examples (https://docs.dolby.io/streaming-apis/docs/using-whip-with-gstreamer) So pipe is running but player shows Live but only black screen. I repeat this with nvidia-encoder - same result. "ball" - is OK, other patterns - black screen or frozen frame. == |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hello, I tested the following commands using encoder xh264, qsvh264 and nvh264. With nvh264enc I had to multiply the bitrate much higher and was testing with a NVidia GPU 3070. If I did not set the bit rate the ball would be frozen with nvh264enc. Both commands tested plays the pattern=ball smooth at 30fps. Both encodes show a b-frames defaulted to 0. I would also recommend in the Dolby.io dashboard to view the stream with the live monitoring to review the data. WHIP with Dolby.io also the options to use additional codecs such as VP8,VP9,AV1 and H265. |
Beta Was this translation helpful? Give feedback.
-
I can assume that NVENC automatically selects the encoding mode and maybe it needs to explicitly specify e.g. not to use cabac or GOP -size. So I have a question: is there any requirements for encoding parameters for your service (e.g. YouTube has requirements for gop-size etc). |
Beta Was this translation helpful? Give feedback.
-
Encoding with B-frames will create stutter. With the option to use multiple codecs (h264,h265,VP8,VP9,AV1) and stream on non ideal networks, encoding requirements may differ for each.(https://docs.dolby.io/streaming-apis/docs/broadcast#encoding) |
Beta Was this translation helpful? Give feedback.
Hello,
I tested the following commands using encoder xh264, qsvh264 and nvh264. With nvh264enc I had to multiply the bitrate much higher and was testing with a NVidia GPU 3070. If I did not set the bit rate the ball would be frozen with nvh264enc.
x264enc
gst-launch-1.0 videotestsrc pattern=snow ! videoconvert ! x264enc bitrate=2500 ! rtph264pay ! 'application/x-rtp,media=video,encoding-name=H264,payload=97,clock-rate=90000' ! whip.sink_0 audiotestsrc wave=sine ! audioconvert ! opusenc ! rtpopuspay ! 'application/x-rtp,media=audio,encoding-name=OPUS,payload=96,clock-rate=48000,encoding-params=(string)2' ! whip.sink_1 whipsink name=whip auth-token="Dolby.io_RTS_Publishing_Streaem_Token" wh…