Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send raw-rtp-input use rtp #34

Open
clarencetw opened this issue Jul 17, 2020 · 0 comments
Open

send raw-rtp-input use rtp #34

clarencetw opened this issue Jul 17, 2020 · 0 comments

Comments

@clarencetw
Copy link

Is it possible to send rtp to sample raw-rtp-input using ffmpeg

ffmpeg -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libx264 -f rtp rtp://127.0.0.1:5004

I think can change this

pipelineStr := "videotestsrc is-live=true ! video/x-raw,format=I420,framerate=15/1 ! x264enc aud=false bframes=0 speed-preset=veryfast key-int-max=15 ! video/x-h264,stream-format=byte-stream,profile=baseline ! h264parse ! rtph264pay config-interval=-1 pt=%d ! appsink name=appsink"

pipelineStr := "udpsrc port=5004 ! application/x-rtp, payload=96, encoding-name=H264"

but it can't be use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant