Problem with MPEG4 Compliant Simple Profie Stream

Loris Michielin lmichielin at sind.it
Mon Jul 18 02:25:16 PDT 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110718/359fd3a6/attachment-0001.htm>


More information about the gstreamer-devel mailing list