AW: Stream Recording
Thornton, Keith
keith.thornton at zeiss.com
Wed Mar 18 13:04:10 UTC 2020
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> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 12:51
An: Discussion of the development of and with GStreamer <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%7C31ced0e10e904e591c3708d7cb3c6a4b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201332646895469&sdata=dWtw4zrMBwItaUXY%2B4EzluUOsiN1l%2FQ37cb1%2Fzl%2BxD8%3D&reserved=0> for Windows 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200318/3c13a6f4/attachment.htm>
More information about the gstreamer-devel
mailing list