Encoding and decoding of RAW RTSP video frames

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

Encoding and decoding of RAW RTSP video frames

Raghu Msrp
Dear List,

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?

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?

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.

On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?

Request the list to kindly clarify the above queries.


On Wed, May 22, 2019, 19:45 <[hidden email]> wrote:
Send gstreamer-devel mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."


Today's Topics:

   1. Re: Sound volume is very low when playing mkv file (longkas)
   2. Change RTSP Server source IP address (David Jaggard)
   3. AW: Change RTSP Server source IP address (Thornton, Keith)
   4. Re: Change RTSP Server source IP address (David Jaggard)
   5. Re: Sound volume is very low when playing mkv file (longkas)
   6. Re: Sound volume is very low when playing mkv file (Tim Müller)
   7. Re: MPEG-TS the ongoing story (Russel Winder)


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 May 2019 07:23:34 -0500 (CDT)
From: longkas <[hidden email]>
To: [hidden email]
Subject: Re: Sound volume is very low when playing mkv file
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

I'm not sure if it is because the audio stream in the mkv has 6 channels, I'm
using decodebin to translate streams, maybe I could combine it into 2
channel audio streams, I need some help


BR



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


------------------------------

Message: 2
Date: Wed, 22 May 2019 14:08:52 +0100
From: David Jaggard <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Change RTSP Server source IP address
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hello

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?

At present it is choosing the first address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/b90779fe/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 22 May 2019 13:23:35 +0000
From: "Thornton, Keith" <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: AW: Change RTSP Server source IP address
Message-ID: <7153D1686E3590498D57D986E0F83BA60ADCB889@adeerl01sms004>
Content-Type: text/plain; charset="utf-8"

Hi,
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

Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
Gesendet: Mittwoch, 22. Mai 2019 15:09
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Change RTSP Server source IP address

Hello

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?

At present it is choosing the first address.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7a369e10/attachment-0001.html>

------------------------------

Message: 4
Date: Wed, 22 May 2019 14:27:49 +0100
From: David Jaggard <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: Change RTSP Server source IP address
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi Keith,

Thanks for your reply. That sets the listen address of the RTSP server but
doesn't change the src address of the RTP packets.

On Wed, 22 May 2019 at 14:23, Thornton, Keith <[hidden email]>
wrote:

> Hi,
>
> 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
>
>
>
> *Von:* gstreamer-devel <[hidden email]> *Im
> Auftrag von *David Jaggard
> *Gesendet:* Mittwoch, 22. Mai 2019 15:09
> *An:* Discussion of the development of and with GStreamer <
> [hidden email]>
> *Betreff:* Change RTSP Server source IP address
>
>
>
> Hello
>
>
>
> 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?
>
>
>
> At present it is choosing the first address.
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7b8630e1/attachment-0001.html>

------------------------------

Message: 5
Date: Wed, 22 May 2019 08:50:28 -0500 (CDT)
From: longkas <[hidden email]>
To: [hidden email]
Subject: Re: Sound volume is very low when playing mkv file
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

Ok, my research is to use volume element to raise the volume, and use
audioconvert to downmix the 5.1 DTS audio to stereo, I dont know how to find
the current volume though:

gst-launch-1.0 -v filesrc location=g:/gtg.mkv ! decodebin !
audio/x-raw,channels=6 \
     ! audioconvert mix-matrix="<<(float)1.0, (float)0.0, (float)1.0,
(float)1.0, (float)1.0, (float)0.0>, <(float)0.0, (float)1.0, (float)1.0,
(float)1.0, (float)0.0,(float)1.0>>" !   audio/x-raw,channels=2  \
    ! volume volume=10.0  ! autoaudiosink





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


------------------------------

Message: 6
Date: Wed, 22 May 2019 15:00:29 +0100
From: Tim Müller <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: Sound volume is very low when playing mkv file
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Wed, 2019-05-22 at 07:23 -0500, longkas wrote:

> I'm not sure if it is because the audio stream in the mkv has 6
> channels, I'm using decodebin to translate streams, maybe I could
> combine it into 2channel audio streams, I need some help

What codec/format is the audio stream (gst-discoverer-1.0 -v file.mkv)?

And what decoder is being used in your case? (see output of gst-play-
1.0 -v or gst-launch-1.0 -v)

Is the decoder outputting 2 channels or 6 channels?

It might be that this is caused by e.g. AC-3 audio being downmixed to 2
channels improperly.

Cheers
 -Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com



------------------------------

Message: 7
Date: Wed, 22 May 2019 15:15:06 +0100
From: Russel Winder <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: MPEG-TS the ongoing story
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Wed, 2019-05-22 at 13:20 +0300, Sebastian Dröge wrote:
> On Wed, 2019-05-22 at 10:32 +0100, Russel Winder wrote:
> > I am wondering if I am missing something other than "it's never been
> > needed before".
>
> That seems to be the case, yes. Please send a patch if you need it :)

I am guessing then that I need to do the C thing for entry into the MPEG-TS
library itself rather than just fill the gap in Rust in the MPEG-TS wrapper.
And I promised myself never to do any C programming again. Oh well.

Would changes get into GStreamer 1.16.1 or would it have to wait for 1.18.0?

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/fc31217d/attachment.sig>

------------------------------

Subject: Digest Footer

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

------------------------------

End of gstreamer-devel Digest, Vol 100, Issue 73
************************************************

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

Re: Encoding and decoding of RAW RTSP video frames

Nicolas Dufresne-5
Le jeudi 23 mai 2019 à 22:04 +0530, Raghu Msrp a écrit :
> Dear List,
>
> 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?

We have support for raw video streaming in GStreamer RTP stack. In your
RTSP server, just use "... ! videoconvert ! rtpvrawpay name=pay0". You
don't have to "decode" the video, and there is no quality lost. Though
the frame is packetized in smaller chunk, the depayloader on the client
will collect and reassemble the image.

>
> 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?

there is no encoding performed. The raw data is split into chunk and
prepended with an RTP header.

>
> 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.

That's correct.

>
> On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?

That's an ambiguous question, did you mean to ask if you can display
h264/vp8 without decoding, or raw video without decoding ?

>
> Request the list to kindly clarify the above queries.
>
>
> On Wed, May 22, 2019, 19:45 <[hidden email]> wrote:
> > Send gstreamer-devel mailing list submissions to
> >         [hidden email]
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > or, via email, send a message with subject or body 'help' to
> >         [hidden email]
> >
> > You can reach the person managing the list at
> >         [hidden email]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of gstreamer-devel digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: Sound volume is very low when playing mkv file (longkas)
> >    2. Change RTSP Server source IP address (David Jaggard)
> >    3. AW: Change RTSP Server source IP address (Thornton, Keith)
> >    4. Re: Change RTSP Server source IP address (David Jaggard)
> >    5. Re: Sound volume is very low when playing mkv file (longkas)
> >    6. Re: Sound volume is very low when playing mkv file (Tim Müller)
> >    7. Re: MPEG-TS the ongoing story (Russel Winder)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 22 May 2019 07:23:34 -0500 (CDT)
> > From: longkas <[hidden email]>
> > To: [hidden email]
> > Subject: Re: Sound volume is very low when playing mkv file
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset=us-ascii
> >
> > I'm not sure if it is because the audio stream in the mkv has 6 channels, I'm
> > using decodebin to translate streams, maybe I could combine it into 2
> > channel audio streams, I need some help
> >
> >
> > BR
> >
> >
> >
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 22 May 2019 14:08:52 +0100
> > From: David Jaggard <[hidden email]>
> > To: Discussion of the development of and with GStreamer
> >         <[hidden email]>
> > Subject: Change RTSP Server source IP address
> > Message-ID:
> >         <[hidden email]>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hello
> >
> > 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?
> >
> > At present it is choosing the first address.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/b90779fe/attachment-0001.html>
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 22 May 2019 13:23:35 +0000
> > From: "Thornton, Keith" <[hidden email]>
> > To: Discussion of the development of and with GStreamer
> >         <[hidden email]>
> > Subject: AW: Change RTSP Server source IP address
> > Message-ID: <7153D1686E3590498D57D986E0F83BA60ADCB889@adeerl01sms004>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi,
> > 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
> >
> > Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
> > Gesendet: Mittwoch, 22. Mai 2019 15:09
> > An: Discussion of the development of and with GStreamer <[hidden email]>
> > Betreff: Change RTSP Server source IP address
> >
> > Hello
> >
> > 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?
> >
> > At present it is choosing the first address.
> >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7a369e10/attachment-0001.html>
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Wed, 22 May 2019 14:27:49 +0100
> > From: David Jaggard <[hidden email]>
> > To: Discussion of the development of and with GStreamer
> >         <[hidden email]>
> > Subject: Re: Change RTSP Server source IP address
> > Message-ID:
> >         <[hidden email]>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Keith,
> >
> > Thanks for your reply. That sets the listen address of the RTSP server but
> > doesn't change the src address of the RTP packets.
> >
> > On Wed, 22 May 2019 at 14:23, Thornton, Keith <[hidden email]>
> > wrote:
> >
> > > Hi,
> > >
> > > 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
> > >
> > >
> > >
> > > *Von:* gstreamer-devel <[hidden email]> *Im
> > > Auftrag von *David Jaggard
> > > *Gesendet:* Mittwoch, 22. Mai 2019 15:09
> > > *An:* Discussion of the development of and with GStreamer <
> > > [hidden email]>
> > > *Betreff:* Change RTSP Server source IP address
> > >
> > >
> > >
> > > Hello
> > >
> > >
> > >
> > > 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?
> > >
> > >
> > >
> > > At present it is choosing the first address.
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7b8630e1/attachment-0001.html>
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Wed, 22 May 2019 08:50:28 -0500 (CDT)
> > From: longkas <[hidden email]>
> > To: [hidden email]
> > Subject: Re: Sound volume is very low when playing mkv file
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Ok, my research is to use volume element to raise the volume, and use
> > audioconvert to downmix the 5.1 DTS audio to stereo, I dont know how to find
> > the current volume though:
> >
> > gst-launch-1.0 -v filesrc location=g:/gtg.mkv ! decodebin !
> > audio/x-raw,channels=6 \
> >      ! audioconvert mix-matrix="<<(float)1.0, (float)0.0, (float)1.0,
> > (float)1.0, (float)1.0, (float)0.0>, <(float)0.0, (float)1.0, (float)1.0,
> > (float)1.0, (float)0.0,(float)1.0>>" !   audio/x-raw,channels=2  \
> >     ! volume volume=10.0  ! autoaudiosink
> >
> >
> >
> >
> >
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> >
> >
> > ------------------------------
> >
> > Message: 6
> > Date: Wed, 22 May 2019 15:00:29 +0100
> > From: Tim Müller <[hidden email]>
> > To: Discussion of the development of and with GStreamer
> >         <[hidden email]>
> > Subject: Re: Sound volume is very low when playing mkv file
> > Message-ID:
> >         <[hidden email]>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > On Wed, 2019-05-22 at 07:23 -0500, longkas wrote:
> >
> > > I'm not sure if it is because the audio stream in the mkv has 6
> > > channels, I'm using decodebin to translate streams, maybe I could
> > > combine it into 2channel audio streams, I need some help
> >
> > What codec/format is the audio stream (gst-discoverer-1.0 -v file.mkv)?
> >
> > And what decoder is being used in your case? (see output of gst-play-
> > 1.0 -v or gst-launch-1.0 -v)
> >
> > Is the decoder outputting 2 channels or 6 channels?
> >
> > It might be that this is caused by e.g. AC-3 audio being downmixed to 2
> > channels improperly.
> >
> > Cheers
> >  -Tim
> > --
> > Tim Müller, Centricular Ltd - http://www.centricular.com
> >
> >
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Wed, 22 May 2019 15:15:06 +0100
> > From: Russel Winder <[hidden email]>
> > To: Discussion of the development of and with GStreamer
> >         <[hidden email]>
> > Subject: Re: MPEG-TS the ongoing story
> > Message-ID:
> >         <[hidden email]>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On Wed, 2019-05-22 at 13:20 +0300, Sebastian Dröge wrote:
> > > On Wed, 2019-05-22 at 10:32 +0100, Russel Winder wrote:
> > > > I am wondering if I am missing something other than "it's never been
> > > > needed before".
> > >
> > > That seems to be the case, yes. Please send a patch if you need it :)
> >
> > I am guessing then that I need to do the C thing for entry into the MPEG-TS
> > library itself rather than just fill the gap in Rust in the MPEG-TS wrapper.
> > And I promised myself never to do any C programming again. Oh well.
> >
> > Would changes get into GStreamer 1.16.1 or would it have to wait for 1.18.0?
> >
> > _______________________________________________
> > 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

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Encoding and decoding of RAW RTSP video frames

Raghu Msrp
In reply to this post by Raghu Msrp
Hi Nicolas

Thank you for your immediate response. Truly Appreciate your help in clarifying my queries.

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.

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.

My set configuration is the following,

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.

Appreciate your help.

Regards
Raghu 



----------------------------------------------------------------------

Message: 1
Date: Thu, 23 May 2019 13:43:39 -0400
From: Nicolas Dufresne <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: Encoding and decoding of RAW RTSP video frames
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Le jeudi 23 mai 2019 à 22:04 +0530, Raghu Msrp a écrit :
> Dear List,

> 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?

We have support for raw video streaming in GStreamer RTP stack. In your
RTSP server, just use "... ! videoconvert ! rtpvrawpay name=pay0". You
don't have to "decode" the video, and there is no quality lost. Though
the frame is packetized in smaller chunk, the depayloader on the client
will collect and reassemble the image.


> 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?

there is no encoding performed. The raw data is split into chunk and
prepended with an RTP header.


> 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.

That's correct.


> On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?

That's an ambiguous question, did you mean to ask if you can display
h264/vp8 without decoding, or raw video without decoding ?





On Thu, May 23, 2019 at 10:04 PM Raghu Msrp <[hidden email]> wrote:
Dear List,

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?

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?

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.

On the raw frames, can I use rtsp gstreamer protocol to visualize without decoding it. Is decoding mandatory?

Request the list to kindly clarify the above queries.


On Wed, May 22, 2019, 19:45 <[hidden email]> wrote:
Send gstreamer-devel mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."


Today's Topics:

   1. Re: Sound volume is very low when playing mkv file (longkas)
   2. Change RTSP Server source IP address (David Jaggard)
   3. AW: Change RTSP Server source IP address (Thornton, Keith)
   4. Re: Change RTSP Server source IP address (David Jaggard)
   5. Re: Sound volume is very low when playing mkv file (longkas)
   6. Re: Sound volume is very low when playing mkv file (Tim Müller)
   7. Re: MPEG-TS the ongoing story (Russel Winder)


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 May 2019 07:23:34 -0500 (CDT)
From: longkas <[hidden email]>
To: [hidden email]
Subject: Re: Sound volume is very low when playing mkv file
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

I'm not sure if it is because the audio stream in the mkv has 6 channels, I'm
using decodebin to translate streams, maybe I could combine it into 2
channel audio streams, I need some help


BR



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


------------------------------

Message: 2
Date: Wed, 22 May 2019 14:08:52 +0100
From: David Jaggard <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Change RTSP Server source IP address
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hello

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?

At present it is choosing the first address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/b90779fe/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 22 May 2019 13:23:35 +0000
From: "Thornton, Keith" <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: AW: Change RTSP Server source IP address
Message-ID: <7153D1686E3590498D57D986E0F83BA60ADCB889@adeerl01sms004>
Content-Type: text/plain; charset="utf-8"

Hi,
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

Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
Gesendet: Mittwoch, 22. Mai 2019 15:09
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Change RTSP Server source IP address

Hello

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?

At present it is choosing the first address.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7a369e10/attachment-0001.html>

------------------------------

Message: 4
Date: Wed, 22 May 2019 14:27:49 +0100
From: David Jaggard <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: Change RTSP Server source IP address
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi Keith,

Thanks for your reply. That sets the listen address of the RTSP server but
doesn't change the src address of the RTP packets.

On Wed, 22 May 2019 at 14:23, Thornton, Keith <[hidden email]>
wrote:

> Hi,
>
> 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
>
>
>
> *Von:* gstreamer-devel <[hidden email]> *Im
> Auftrag von *David Jaggard
> *Gesendet:* Mittwoch, 22. Mai 2019 15:09
> *An:* Discussion of the development of and with GStreamer <
> [hidden email]>
> *Betreff:* Change RTSP Server source IP address
>
>
>
> Hello
>
>
>
> 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?
>
>
>
> At present it is choosing the first address.
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/7b8630e1/attachment-0001.html>

------------------------------

Message: 5
Date: Wed, 22 May 2019 08:50:28 -0500 (CDT)
From: longkas <[hidden email]>
To: [hidden email]
Subject: Re: Sound volume is very low when playing mkv file
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

Ok, my research is to use volume element to raise the volume, and use
audioconvert to downmix the 5.1 DTS audio to stereo, I dont know how to find
the current volume though:

gst-launch-1.0 -v filesrc location=g:/gtg.mkv ! decodebin !
audio/x-raw,channels=6 \
     ! audioconvert mix-matrix="<<(float)1.0, (float)0.0, (float)1.0,
(float)1.0, (float)1.0, (float)0.0>, <(float)0.0, (float)1.0, (float)1.0,
(float)1.0, (float)0.0,(float)1.0>>" !   audio/x-raw,channels=2  \
    ! volume volume=10.0  ! autoaudiosink





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


------------------------------

Message: 6
Date: Wed, 22 May 2019 15:00:29 +0100
From: Tim Müller <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: Sound volume is very low when playing mkv file
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Wed, 2019-05-22 at 07:23 -0500, longkas wrote:

> I'm not sure if it is because the audio stream in the mkv has 6
> channels, I'm using decodebin to translate streams, maybe I could
> combine it into 2channel audio streams, I need some help

What codec/format is the audio stream (gst-discoverer-1.0 -v file.mkv)?

And what decoder is being used in your case? (see output of gst-play-
1.0 -v or gst-launch-1.0 -v)

Is the decoder outputting 2 channels or 6 channels?

It might be that this is caused by e.g. AC-3 audio being downmixed to 2
channels improperly.

Cheers
 -Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com



------------------------------

Message: 7
Date: Wed, 22 May 2019 15:15:06 +0100
From: Russel Winder <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: MPEG-TS the ongoing story
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Wed, 2019-05-22 at 13:20 +0300, Sebastian Dröge wrote:
> On Wed, 2019-05-22 at 10:32 +0100, Russel Winder wrote:
> > I am wondering if I am missing something other than "it's never been
> > needed before".
>
> That seems to be the case, yes. Please send a patch if you need it :)

I am guessing then that I need to do the C thing for entry into the MPEG-TS
library itself rather than just fill the gap in Rust in the MPEG-TS wrapper.
And I promised myself never to do any C programming again. Oh well.

Would changes get into GStreamer 1.16.1 or would it have to wait for 1.18.0?

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190522/fc31217d/attachment.sig>

------------------------------

Subject: Digest Footer

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

------------------------------

End of gstreamer-devel Digest, Vol 100, Issue 73
************************************************

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