Convert MJPEG RTP Packets to JPEG Image #552
Unanswered
Tekunalogy
asked this question in
Questions
Replies: 1 comment
-
Hello, you are using the wrong example (client-record-format-mjpeg is used to write a stream to the network, not to read one) and you are using raw RTP packets as the transmission mechanism - this is way harder to setup than RTSP and much less secure. Use RTSP instead. Start the example RTSP server:
Start streaming MJPEG frames to the server with
Then use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I was looking through the examples, and I wanted to develop something that would read incoming rtp packets and save them as JPEG images.
I did some preliminary work here: https://github.com/Tekunalogy/rtpmjpeg2jpeg
However, as you can see in the repository, the resulting jpeg image is nowhere close to the gstreamer "videotestsrc".
I did try using the server and "record-format-mjpeg" examples:
and I got a strange issue:
So I have a feeling that this is part of the issue. Adding
queue
/queue2
to the gstreamer command did not resolve the issue either.Could someone point me in the right direction, or maybe some other examples to look at? I know in the Pion webrtc library, they have an h264 writer module, which takes the data and makes it into a writable format if I recall correctly, so am I going to need something similar to that for the mjpeg specification?
gstreamer command:
Beta Was this translation helpful? Give feedback.
All reactions