Stream Recording

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

Stream Recording

Tuğrul Eşin

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 for Windows 10

 


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

AW: Stream Recording

Thornton, Keith

If you want to write it to a file you need to change your filter after h264parse to write avc format

 

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 


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

RE: AW: Stream Recording

Tuğrul Eşin
In reply to this post by Tuğrul Eşin

İ want to watch my recorded video. How can i convert to avc format ?

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 16:04
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M
2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

 


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

Re: AW: Stream Recording

Nicolas Dufresne-5
Le mercredi 18 mars 2020 à 16:08 +0300, Tuğrul Eşin a écrit :
> İ want to watch my recorded video. How can i convert to avc format ?
>  
>  
> Sent from Mail for Windows 10

Best is to avoid top-posting on mailing list.

>  
> From: Thornton, Keith
> Sent: 18 Mart 2020 Çarşamba 16:04
> To: Discussion of the development of and with GStreamer
> 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 <[hidden email]>
> Im Auftrag von Tugrul Esin
> Gesendet: Mittwoch, 18. M䲺 2020 12:51
> An: Discussion of the development of and with GStreamer <
> [hidden email]>
> 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.

If you want a portable file, use a container. You can use matroskamux
or qtmux to produce widely supported file formats.

>  
> 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 for Windows 10
>  
>  
> _______________________________________________
> 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
|

AW: AW: Stream Recording

Thornton, Keith
In reply to this post by Tuğrul Eşin

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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 14:08
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: RE: AW: Stream Recording

 

İ want to watch my recorded video. How can i convert to avc format ?

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 16:04
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M 2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

 


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

RE: AW: AW: Stream Recording

Tuğrul Eşin
In reply to this post by Tuğrul Eşin

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 for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 19:44
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 14:08
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: RE: AW: Stream Recording

 

İ want to watch my recorded video. How can i convert to avc format ?

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 16:04
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M
2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

 

 


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

AW: AW: AW: Stream Recording

Thornton, Keith

 

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 17:53
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 19:44
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 14:08
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: RE: AW: Stream Recording

 

İ want to watch my recorded video. How can i convert to avc format ?

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 16:04
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M 2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

Then you don’t need the tee on the receiver side either.

Sorry ND 😊

 


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

RE: AW: AW: AW: Stream Recording

Tuğrul Eşin
In reply to this post by Tuğrul Eşin

İ am saving succesfully but i cant play this saving video file

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 22:09
To: [hidden email]
Subject: AW: AW: AW: Stream Recording

 

 

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 17:53
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 19:44
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. März 2020 14:08
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: RE: AW: Stream Recording

 

İ want to watch my recorded video. How can i convert to avc format ?

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 18 Mart 2020 Çarşamba 16:04
To: [hidden email]
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 <[hidden email]> Im Auftrag von Tugrul Esin
Gesendet: Mittwoch, 18. M
2020 12:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 for Windows 10

 

Then you don’t need the tee on the receiver side either.

Sorry ND 😊

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel