Hi all Gstreamer version: 1.14.2 My problem: test-launch program from gst-rtsp-server-1.14.2 $ GST_DEBUG=2 ./test-launch "( v4l2src ! video/x-raw,format=YUY2,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 )" stream ready at <a class="moz-txt-link-freetext" href="rtsp://127.0.0.1:8554/test">rtsp://127.0.0.1:8554/test My device: $ v4l2-ctl --list-formats ioctl: VIDIOC_ENUM_FMT ----------------------------------------------------------------------- I searched in gst-plugins-ugly-1.14.2: ext/x264/gstx264enc.c: https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/tree/ext/x264/gstx264enc.c?h=1.14#n2282 The encoder's peer_profile was set as 'baseline' according to
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi dengke,
Use caps filter "video/x-raw,format=i420" between video convert and x264enc. This should resolve the format issue. If u want 264 main porofile then use caps filter "video/x-h264,profile=main" this would give 4 2 2 video -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |