<div dir="ltr"><div>Hi Nicolas<br class="m_1576805025991025677gmail-Apple-interchange-newline"><br></div><div>Thank you for your immediate response. Truly Appreciate your help in clarifying my queries.</div><div><br></div><div>On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory? What I exactly meant here was can I display raw video frames without decoding them. Like for example, in a vlc player, how can I display raw frames without decoding them.<br></div><div><br></div><div>Further, any suggestion on how to achieve a frame rate of 30 fps or higher on streaming raw frames using rtsp. What I meant here is, If I launch rtsp server, which is capable of sending raw frames, what should be an efficient gstreamer client pipeline look like to get 30 fps or more.</div><div><br></div><div>My set configuration is the following,</div><div><br></div><div>I have a very low computation system, I launch rtsp server and client on the system. RTSP server gets raw frames from camera and the client which is launched in the same system  is again a gstreamer rtsp client. I am looking for a efficient client pipeline where in I can connect to the RTSP server streaming raw frames and fetch frames at 30 fps or higher.</div><div><br></div><div>Appreciate your help.</div><div><br></div><div>Regards</div><div>Raghu </div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 23 May 2019 13:43:39 -0400<br>From: Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>><br>To: Discussion of the development of and with GStreamer<br>        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>Subject: Re: Encoding and decoding of RAW RTSP video frames<br>Message-ID:<br>        <<a href="mailto:aff3f038a6807f4402f044e90480f7682f0270df.camel@ndufresne.ca" target="_blank">aff3f038a6807f4402f044e90480f7682f0270df.camel@ndufresne.ca</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Le jeudi 23 mai 2019 à 22:04 +0530, Raghu Msrp a écrit :<br>> Dear List,<br>> <br>> I was interested to know if gstreamer rtsp can handle transmission of pure RAW video frames to a client. To be more specific, my question here is, if I transfer pure raw video frames with no encoding to a client using rtsp protocol, do I still need to do decoding of frames? If yes, can someone in the list explain the reason?<br><br>We have support for raw video streaming in GStreamer RTP stack. In your<br>RTSP server, just use "... ! videoconvert ! rtpvrawpay name=pay0". You<br>don't have to "decode" the video, and there is no quality lost. Though<br>the frame is packetized in smaller chunk, the depayloader on the client<br>will collect and reassemble the image.<br><br>> <br>> Secondly, in gstreamer, if I use raw encoding on video frames, what kind of encoding is performed on the frames? Does it compress the frames to a larger extent?<br><br>there is no encoding performed. The raw data is split into chunk and<br>prepended with an RTP header.<br><br>> <br>> My understanding is if I encode the frame using h264 or vp8 or mpeg then only I have to decode. Please correct my understanding if I am wrong.<br><br>That's correct.<br><br>> <br>> On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?<br><br>That's an ambiguous question, did you mean to ask if you can display<br>h264/vp8 without decoding, or raw video without decoding ?</blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br><br></blockquote></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 23, 2019 at 10:04 PM Raghu Msrp <<a href="mailto:raghu.msrp@gmail.com" target="_blank">raghu.msrp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Dear List,<div dir="auto"><div dir="auto"><br></div><div dir="auto">I was interested to know if gstreamer rtsp can handle transmission of pure RAW video frames to a client. To be more specific, my question here is, if I transfer pure raw video frames with no encoding to a client using rtsp protocol, do I still need to do decoding of frames? If yes, can someone in the list explain the reason?</div><div dir="auto"><br></div><div dir="auto">Secondly, in gstreamer, if I use raw encoding on video frames, what kind of encoding is performed on the frames? Does it compress the frames to a larger extent?</div><div dir="auto"><br></div><div dir="auto">My understanding is if I encode the frame using h264 or vp8 or mpeg then only I have to decode. Please correct my understanding if I am wrong.</div><div dir="auto"><br></div><div dir="auto">On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?</div><div dir="auto"><br></div><div dir="auto">Request the list to kindly clarify the above queries.</div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 22, 2019, 19:45  <<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gstreamer-devel-request@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Sound volume is very low when playing mkv file (longkas)<br>
   2. Change RTSP Server source IP address (David Jaggard)<br>
   3. AW: Change RTSP Server source IP address (Thornton, Keith)<br>
   4. Re: Change RTSP Server source IP address (David Jaggard)<br>
   5. Re: Sound volume is very low when playing mkv file (longkas)<br>
   6. Re: Sound volume is very low when playing mkv file (Tim Müller)<br>
   7. Re: MPEG-TS the ongoing story (Russel Winder)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 22 May 2019 07:23:34 -0500 (CDT)<br>
From: longkas <<a href="mailto:longkas@gmail.com" rel="noreferrer" target="_blank">longkas@gmail.com</a>><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: Re: Sound volume is very low when playing mkv file<br>
Message-ID: <<a href="mailto:1558527814965-0.post@n4.nabble.com" rel="noreferrer" target="_blank">1558527814965-0.post@n4.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I'm not sure if it is because the audio stream in the mkv has 6 channels, I'm<br>
using decodebin to translate streams, maybe I could combine it into 2<br>
channel audio streams, I need some help<br>
<br>
<br>
BR<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 22 May 2019 14:08:52 +0100<br>
From: David Jaggard <<a href="mailto:davywj@gmail.com" rel="noreferrer" target="_blank">davywj@gmail.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Change RTSP Server source IP address<br>
Message-ID:<br>
        <<a href="mailto:CAJAmR4ZOSjBpSeOKRc0fZ6A71uwgVXU4C9W1c2qFPtGhT-6_Rg@mail.gmail.com" rel="noreferrer" target="_blank">CAJAmR4ZOSjBpSeOKRc0fZ6A71uwgVXU4C9W1c2qFPtGhT-6_Rg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello<br>
<br>
Using the example in the test-readme.c file of the RTSP server, how can I<br>
change the source IP address of the RTP packets to specific address on a<br>
multi-homed PC?<br>
<br>
At present it is choosing the first address.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/b90779fe/attachment-0001.html" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/b90779fe/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 22 May 2019 13:23:35 +0000<br>
From: "Thornton, Keith" <<a href="mailto:keith.thornton@zeiss.com" rel="noreferrer" target="_blank">keith.thornton@zeiss.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: AW: Change RTSP Server source IP address<br>
Message-ID: <7153D1686E3590498D57D986E0F83BA60ADCB889@adeerl01sms004><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
After calling gst_rtsp_server_new you can set the address with gst_rtsp_server_set_address otherwise it will use 127.0.0.1<br>
<br>
Von: gstreamer-devel <<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>> Im Auftrag von David Jaggard<br>
Gesendet: Mittwoch, 22. Mai 2019 15:09<br>
An: Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Betreff: Change RTSP Server source IP address<br>
<br>
Hello<br>
<br>
Using the example in the test-readme.c file of the RTSP server, how can I change the source IP address of the RTP packets to specific address on a multi-homed PC?<br>
<br>
At present it is choosing the first address.<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7a369e10/attachment-0001.html" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7a369e10/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 22 May 2019 14:27:49 +0100<br>
From: David Jaggard <<a href="mailto:davywj@gmail.com" rel="noreferrer" target="_blank">davywj@gmail.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Re: Change RTSP Server source IP address<br>
Message-ID:<br>
        <<a href="mailto:CAJAmR4aph0A0O2Q2ooFqX9%2Ba7iUq7-qUTovKmJmWwm1kipiwug@mail.gmail.com" rel="noreferrer" target="_blank">CAJAmR4aph0A0O2Q2ooFqX9+a7iUq7-qUTovKmJmWwm1kipiwug@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Keith,<br>
<br>
Thanks for your reply. That sets the listen address of the RTSP server but<br>
doesn't change the src address of the RTP packets.<br>
<br>
On Wed, 22 May 2019 at 14:23, Thornton, Keith <<a href="mailto:keith.thornton@zeiss.com" rel="noreferrer" target="_blank">keith.thornton@zeiss.com</a>><br>
wrote:<br>
<br>
> Hi,<br>
><br>
> After calling gst_rtsp_server_new you can set the address with<br>
> gst_rtsp_server_set_address otherwise it will use 127.0.0.1<br>
><br>
><br>
><br>
> *Von:* gstreamer-devel <<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>> *Im<br>
> Auftrag von *David Jaggard<br>
> *Gesendet:* Mittwoch, 22. Mai 2019 15:09<br>
> *An:* Discussion of the development of and with GStreamer <<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
> *Betreff:* Change RTSP Server source IP address<br>
><br>
><br>
><br>
> Hello<br>
><br>
><br>
><br>
> Using the example in the test-readme.c file of the RTSP server, how can I<br>
> change the source IP address of the RTP packets to specific address on a<br>
> multi-homed PC?<br>
><br>
><br>
><br>
> At present it is choosing the first address.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7b8630e1/attachment-0001.html" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7b8630e1/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 22 May 2019 08:50:28 -0500 (CDT)<br>
From: longkas <<a href="mailto:longkas@gmail.com" rel="noreferrer" target="_blank">longkas@gmail.com</a>><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: Re: Sound volume is very low when playing mkv file<br>
Message-ID: <<a href="mailto:1558533028272-0.post@n4.nabble.com" rel="noreferrer" target="_blank">1558533028272-0.post@n4.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Ok, my research is to use volume element to raise the volume, and use<br>
audioconvert to downmix the 5.1 DTS audio to stereo, I dont know how to find<br>
the current volume though:<br>
<br>
gst-launch-1.0 -v filesrc location=g:/gtg.mkv ! decodebin ! <br>
audio/x-raw,channels=6 \<br>
     ! audioconvert mix-matrix="<<(float)1.0, (float)0.0, (float)1.0,<br>
(float)1.0, (float)1.0, (float)0.0>, <(float)0.0, (float)1.0, (float)1.0,<br>
(float)1.0, (float)0.0,(float)1.0>>" !   audio/x-raw,channels=2  \<br>
    ! volume volume=10.0  ! autoaudiosink<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 22 May 2019 15:00:29 +0100<br>
From: Tim Müller <<a href="mailto:tim@centricular.com" rel="noreferrer" target="_blank">tim@centricular.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Re: Sound volume is very low when playing mkv file<br>
Message-ID:<br>
        <<a href="mailto:748661b0e32dc2178225fa7a9ff0f4ca5a518717.camel@centricular.com" rel="noreferrer" target="_blank">748661b0e32dc2178225fa7a9ff0f4ca5a518717.camel@centricular.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On Wed, 2019-05-22 at 07:23 -0500, longkas wrote:<br>
<br>
> I'm not sure if it is because the audio stream in the mkv has 6<br>
> channels, I'm using decodebin to translate streams, maybe I could<br>
> combine it into 2channel audio streams, I need some help<br>
<br>
What codec/format is the audio stream (gst-discoverer-1.0 -v file.mkv)?<br>
<br>
And what decoder is being used in your case? (see output of gst-play-<br>
1.0 -v or gst-launch-1.0 -v)<br>
<br>
Is the decoder outputting 2 channels or 6 channels?<br>
<br>
It might be that this is caused by e.g. AC-3 audio being downmixed to 2<br>
channels improperly.<br>
<br>
Cheers<br>
 -Tim<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Wed, 22 May 2019 15:15:06 +0100<br>
From: Russel Winder <<a href="mailto:russel@winder.org.uk" rel="noreferrer" target="_blank">russel@winder.org.uk</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Re: MPEG-TS the ongoing story<br>
Message-ID:<br>
        <<a href="mailto:702b56ef5099a0db13a551d981ebe810d1dab8fb.camel@winder.org.uk" rel="noreferrer" target="_blank">702b56ef5099a0db13a551d981ebe810d1dab8fb.camel@winder.org.uk</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Wed, 2019-05-22 at 13:20 +0300, Sebastian Dröge wrote:<br>
> On Wed, 2019-05-22 at 10:32 +0100, Russel Winder wrote:<br>
> > I am wondering if I am missing something other than "it's never been<br>
> > needed before". <br>
> <br>
> That seems to be the case, yes. Please send a patch if you need it :)<br>
<br>
I am guessing then that I need to do the C thing for entry into the MPEG-TS<br>
library itself rather than just fill the gap in Rust in the MPEG-TS wrapper.<br>
And I promised myself never to do any C programming again. Oh well.<br>
<br>
Would changes get into GStreamer 1.16.1 or would it have to wait for 1.18.0? <br>
<br>
-- <br>
Russel.<br>
===========================================<br>
Dr Russel Winder      t: +44 20 7585 2200<br>
41 Buckmaster Road    m: +44 7770 465 077<br>
London SW11 1EN, UK   w: <a href="http://www.russel.org.uk" rel="noreferrer noreferrer" target="_blank">www.russel.org.uk</a><br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 833 bytes<br>
Desc: This is a digitally signed message part<br>
URL: <<a href="https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/fc31217d/attachment.sig" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/fc31217d/attachment.sig</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
------------------------------<br>
<br>
End of gstreamer-devel Digest, Vol 100, Issue 73<br>
************************************************<br>
</blockquote></div>
</blockquote></div>