GStreamer를 처음 사용하고 Java에서 파이프 라인에서 Caps 속성을 얻으려고합니다. 내가 명령 줄에서 잘 작동파이프 라인에서 모자 가져 오기
gst-launch-0.10 -v --gst-debug-level=2 filesrc location="C:/Dokumenty/Eclipse/rtsp_test/trailer.mp4" ! decodebin2 ! queue ! jpegenc ! rtpjpegpay ! udpsink host=::1 port=5000 sync=true
이 파이프 라인을 시도하고 내가
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(uint)3175930633, clock-base=(uint)3850186239, seqnum-base=(uint)8531
pipe = Pipeline.launch("filesrc location="C:/Dokumenty/Eclipse/rtsp_test/trailer.mp4" ! decodebin2 ! queue ! jpegenc ! rtpjpegpay ! udpsink host=::1 port=5000 sync=true");
파이프 라인에서 udpsink0을 얻는 방법은 있습니까? 당신이 Bin
에 대한 설명서 (Pipeline
의 부모 클래스), 개별 요소를 얻을 수있는 몇 가지 방법이있다 볼 수 있습니다 보면