Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

darius
from
https://github.com/teknotus/bitcorder

"Gstreamer itself has hundreds of plugins

so which plugin can reassembly rtsp frames from saved tcp dump ( wifi
monitor) ?

I have IP camera ( WiFi Direct camera) which can stream live video

Driver on-the-go is a user/s to watch front and back of his/her car while
driving,
so he/she has no time for wifi pairing, clicking selecting, taking time

so video player should work that way

receiving wifi signal from my camera and other devices , filtering out rtsp
stream from  my IP camera (not encrypted), reassembly it to be play back in
video player.

If GStreamer can read rtsp video stream and save it to mp4 file so it can
process individual rtsp frames, extracting video content
an d this video content can be played back in video player like VLC

but VLC accepts rtsp IP address and port
but I don't have rtsp IP address for tcp pairing
since TCP dump saved in wifi monitor mode is as is, is a mix of signals from
many wifi transmitters in parallel.

Do you know a proper plugin for GStramer, to work for me ?





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

Nicolas Dufresne-5


Le lun. 4 mars 2019 18 h 11, darius <[hidden email]> a écrit :
from
https://github.com/teknotus/bitcorder

"Gstreamer itself has hundreds of plugins

so which plugin can reassembly rtsp frames from saved tcp dump ( wifi
monitor) ?

I have IP camera ( WiFi Direct camera) which can stream live video

Driver on-the-go is a user/s to watch front and back of his/her car while
driving,
so he/she has no time for wifi pairing, clicking selecting, taking time

so video player should work that way

receiving wifi signal from my camera and other devices , filtering out rtsp
stream from  my IP camera (not encrypted), reassembly it to be play back in
video player.

If GStreamer can read rtsp video stream and save it to mp4 file so it can
process individual rtsp frames, extracting video content
an d this video content can be played back in video player like VLC

but VLC accepts rtsp IP address and port
but I don't have rtsp IP address for tcp pairing
since TCP dump saved in wifi monitor mode is as is, is a mix of signals from
many wifi transmitters in parallel.

Do you know a proper plugin for GStramer, to work for me ?

The TCP/RTSP part of your dump will be useless, because any rtsp client would try to communicate with your dump, and that can't really work.

But you might be able to do something with the rest of the dump. GStreamer has a pcapparse element, to which you can pass the address and port you are I retested in. You then need strong knowledge of the GStreamer RTP element to dejitter, and depay these files. It not doable with a single plugin, as you seem quite new, I believe you should keep seeking help here and on IRC. Best might be to share small samples, so that we could guide you a little in what you have to deal with.






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

darius
thank you

from
https://stackoverflow.com/questions/10207752/how-to-convert-pcap-to-avi-file-with-video-and-audio-by-gstreamer

"How to convert pcap to avi file with video and audio by gstreamer?

the above is close to my target

since pcap file saved with a driver, can be dissected and reassembled into
playable video file

"Video Only

gst-launch-0.10 -m -v filesrc location=h264Audio.pcap ! pcapparse
src-port=44602 \ !"application/x-rtp, payload=96" ! rtph264depay !
"video/x-h264, width=352, height=288, framerate=(fraction)30/1" \ !
ffdec_h264 ! videorate ! ffmpegcolorspace \ ! avimux ! filesink
location=testh264.avi

So my question is, if gst can read any pcap file
and if gst can read pcap file saved with a driver (WS)
from wifi interface in monitor mode
(saving live data feeds from many sources/ addresses or rstp video streams
from more than a single IP camera)

If the answer to the above is yes, so gst can support pcap saved from wifi
interface in monitor
mode and I don't need to feed gst with rstp live feed, since pcap file is
off-line mode file

So my idea is to combine

IP camera supporting P2P (WiFi Direct)

wifi interface in monitor mode

Wireshark or a driver alone which can save all traffic as pcap

gst to dissect pcap and reassembly the video segment

pipilined to VLC or HTML5 video player

looping the above to avoid time shift / delays

Can the above be really done with gst ?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

Nicolas Dufresne-5


Le mer. 6 mars 2019 19 h 27, darius <[hidden email]> a écrit :
thank you

from
https://stackoverflow.com/questions/10207752/how-to-convert-pcap-to-avi-file-with-video-and-audio-by-gstreamer

"How to convert pcap to avi file with video and audio by gstreamer?

the above is close to my target

since pcap file saved with a driver, can be dissected and reassembled into
playable video file

"Video Only

gst-launch-0.10 -m -v filesrc location=h264Audio.pcap ! pcapparse
src-port=44602 \ !"application/x-rtp, payload=96" ! rtph264depay !
"video/x-h264, width=352, height=288, framerate=(fraction)30/1" \ !
ffdec_h264 ! videorate ! ffmpegcolorspace \ ! avimux ! filesink
location=testh264.avi

So my question is, if gst can read any pcap file
and if gst can read pcap file saved with a driver (WS)
from wifi interface in monitor mode
(saving live data feeds from many sources/ addresses or rstp video streams
from more than a single IP camera)

If the answer to the above is yes, so gst can support pcap saved from wifi
interface in monitor
mode and I don't need to feed gst with rstp live feed, since pcap file is
off-line mode file

So my idea is to combine

IP camera supporting P2P (WiFi Direct)

wifi interface in monitor mode

Wireshark or a driver alone which can save all traffic as pcap

gst to dissect pcap and reassembly the video segment

pipilined to VLC or HTML5 video player

looping the above to avoid time shift / delays

Can the above be really done with gst ?

It's quite hard to follow really. You are using terms "any" and "without" which makes your requirements too wide. A lot of this can be done with GStreamer, I'm not sure what problem.

Note that the example you found is quite old, but the general concept haven't changed much 







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer itself has hundreds of plugins so how to read tcpdump of rstp

darius
Nicolas,

thank you for your reply

"It's quite hard to follow really. You are using terms "any" and "without"
which makes your requirements too wide. A lot of this can be done with
GStreamer, I'm not sure what problem.

Note that the example you found is quite old, but the general concept
haven't changed much

That example is like eureka for me, since developers at Wireshark denied
such functionality to be supported by Wireshark, to dissect saved rtsp video
stream and reassembly it back into playable video file.

So finding this func tionality to work with GStreamer is a nice surprise,
saving me a lot of time.
Now, I would like to reproduce this example, looking for pcap demos
including video frame data
since my wifi usb interface fails to connect to IP Camera supporting WiFi
Direct ( Win32 XP)

Since I don't have wifi usb dongle supporting monitor mode to dump tcp to
pcap,
I need to ask developers for demos to see how it works if more than one rtsp
stream is live broadcasted and saved in monitor mode to pcap file.

If I fail to install GStreamer to work for me locally, I am looking for
website supporting live remote access to GS to m ake some tests.

If you know a place I can download rtsp video stream saved to pcap file from
just let me know.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel