AW: AW: AW: Stream Recording
Thornton, Keith
keith.thornton at zeiss.com
Wed Mar 18 19:09:45 UTC 2020
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 17:53
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: RE: AW: AW: Stream Recording
Firstly, i just want to save videos on the receiver side. And then, i'll send them to the server via receiver rpi. Because just receiver rpi has internet connection.
Sent from Mail<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0> for Windows 10
From: Thornton, Keith<mailto:keith.thornton at zeiss.com>
Sent: 18 Mart 2020 Çarşamba 19:44
To: Discussion of the development of and with GStreamer<mailto:gstreamer-devel at lists.freedesktop.org>
Subject: AW: AW: Stream Recording
I did not understand what you want to do. Do you want to watch the video at the same time as you write it to a file or do you want to first write it to a file and then watch it afterwards. At the moment, the tee on the sender side is superfluous. On the receiver side you should follow every branch of a tee with a queue. You would need a second branch in which you need to decode the h264 such as with avdech264 followed by your sink eg. d3dvideosink. The first branch needs to have “byte-stream” replaced by “avc”
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org<mailto:gstreamer-devel-bounces at lists.freedesktop.org>> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 14:08
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>>
Betreff: RE: AW: Stream Recording
İ want to watch my recorded video. How can i convert to avc format ?
Sent from Mail<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0> for Windows 10
From: Thornton, Keith<mailto:keith.thornton at zeiss.com>
Sent: 18 Mart 2020 Çarşamba 16:04
To: Discussion of the development of and with GStreamer<mailto:gstreamer-devel at lists.freedesktop.org>
Subject: AW: Stream Recording
If you want to write it to a file you need to change your filter after h264parse to write avc format
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org<mailto:gstreamer-devel-bounces at lists.freedesktop.org>> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M䲺 2020 12:51
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>>
Betreff: Stream Recording
I'm sorry to disturb you again but i've stuck in a few points and couldn't find enough information about them.
1- I have a pipeline that uses UDP and v4l2src for real time video streaming. I'd like to save the video on receiver side but even thought it's saved in file, it can't be opened with vlc or omx video players. While using omx player on terminal, the video doesn't play and output gives "have a nice day" as string.
2- Also, i'd like to stream two videos from usig two RPI Zeros to another RPI A+ and i've found that multiple pipeline is solution but i couldn't find enough source and have tried then failed.
I've attached the pipelines below, is that possible to check them? Could you please give me any feedback or suggestion?
Sincerely,
M.Tugrul Esin
- Sender Pi:
gst-launch-1.0 -e v4l2src device=/device/video0 ! video/x-raw, width=640, height=480, framerate=30/1 ! omxh264enc ! tee name=t t. ! rtph264pay config-interval=1 pt=96 ! udpsink host=RECEIVER_IP port=5000
-Receiver Pi:
gst-launch-1.0 -e udpsrc port=5000 ! application/x-rtp, clock-rate=90000, encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! tee name=t ! "video/x-h264, format=byte-stream" ! filesink location=/home/pi/test.h264
Sent from Mail<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0> for Windows 10
Then you don’t need the tee on the receiver side either.
Sorry ND 😊
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200318/b6895b95/attachment-0001.htm>
More information about the gstreamer-devel
mailing list