Problem with MPEG4 Compliant Simple Profie Stream

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

Problem with MPEG4 Compliant Simple Profie Stream

Loris Michielin
Hi

I have a little problem recording a network stream.
I am able to see the streaming using this line:

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! decodebin ! autovideosink

The stream that i see is perfect, no artfact or decoding problem.
So for see the stream all is correct.
The problem is recording this stream.
Reading documentation i saw that i have to use this instruction:
filesink

I have try put this instruction in the same command

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! filesink location= /home/vmachines/video/video.mp4

The problem is that now the result file is incorrect.
The video result incorrect,i see a lot of artefacts, in half part of video.
In the other part of video i saw linear colour like gray.

the streaming video i try to record is:

Frame Rate: 25
Resolution: 4Cif deinterlaced Frame
Transport protocol: Rtp/Udp
Compression Mode: MPEG4 Compliant Simple Profie

Best regards
Loris Michielin


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

Re: Problem with MPEG4 Compliant Simple Profie Stream

Sudarshan Bisht
What is your pipeline at sender side ? and how you are playing video.mp4 file ?



On Mon, Jul 18, 2011 at 12:25 PM, Loris Michielin <[hidden email]> wrote:
Hi

I have a little problem recording a network stream.
I am able to see the streaming using this line:

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! decodebin ! autovideosink

The stream that i see is perfect, no artfact or decoding problem.
So for see the stream all is correct.
The problem is recording this stream.
Reading documentation i saw that i have to use this instruction:
filesink

I have try put this instruction in the same command

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! filesink location= /home/vmachines/video/video.mp4

The problem is that now the result file is incorrect.
The video result incorrect,i see a lot of artefacts, in half part of video.
In the other part of video i saw linear colour like gray.

the streaming video i try to record is:

Frame Rate: 25
Resolution: 4Cif deinterlaced Frame
Transport protocol: Rtp/Udp
Compression Mode: MPEG4 Compliant Simple Profie

Best regards
Loris Michielin


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




--
Regards,

Sudarshan Bisht

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

Re: Problem with MPEG4 Compliant Simple Profie Stream

Tim-Philipp Müller-2
In reply to this post by Loris Michielin
On Mon, 2011-07-18 at 11:25 +0200, Loris Michielin wrote:

> gst-launch-0.10 -v udpsrc port=30100
> caps="application/x-rtp,media=(string)video, payload=(int)121,
> clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
> profile-level-id=(string)1" ! filesink
> location= /home/vmachines/video/video.mp4
>
> The problem is that now the result file is incorrect.
> The video result incorrect,i see a lot of artefacts, in half part of
> video.

You might want at least a jitterbuffer and a depayloader (rtpmp4vdepay)
here after the udpsrc. And then possibly also a video parser and a muxer
(such as qtmux).

 Cheers
  -Tim


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

Re: Problem with MPEG4 Compliant Simple Profie Stream

Loris Michielin
In reply to this post by Sudarshan Bisht
At sender side i have an hardware Encoder Verint s1950e

Il 18/07/2011 12:30, Sudarshan Bisht ha scritto:
What is your pipeline at sender side ? and how you are playing video.mp4 file ?



On Mon, Jul 18, 2011 at 12:25 PM, Loris Michielin <[hidden email]> wrote:
Hi

I have a little problem recording a network stream.
I am able to see the streaming using this line:

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! decodebin ! autovideosink

The stream that i see is perfect, no artfact or decoding problem.
So for see the stream all is correct.
The problem is recording this stream.
Reading documentation i saw that i have to use this instruction:
filesink

I have try put this instruction in the same command

gst-launch-0.10 -v udpsrc port=30100 caps="application/x-rtp,media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! filesink location= /home/vmachines/video/video.mp4

The problem is that now the result file is incorrect.
The video result incorrect,i see a lot of artefacts, in half part of video.
In the other part of video i saw linear colour like gray.

the streaming video i try to record is:

Frame Rate: 25
Resolution: 4Cif deinterlaced Frame
Transport protocol: Rtp/Udp
Compression Mode: MPEG4 Compliant Simple Profie

Best regards
Loris Michielin


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




--
Regards,

Sudarshan Bisht


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


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