avenc_mpeg4 & RTP stream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

avenc_mpeg4 & RTP stream

Does anyone have any idea why the endpoint decoder would display video in this way? I have tested this pipeline with VLC and decodebin/videosink and it displays correctly. When I send the video to a commercial decoder I receive errors from the decoder and the image is garbled, as shown.
High-level overview of project:
Encode video test as mpeg4, stream as MP4V-ES using rtp.

videotestsrc--> avenc_mpeg4-->rtpmp4vpay-->udpsink

VLC displays the same stream as:

VLC Media Info:

I am using the following Pipeline for the test:
GST_DEBUG=2 gst-launch-1.0 -m -vvv videotestsrc ! videoscale ! video/x-raw,width=704,height=480,framerate=30/1 ! avenc_mpeg4 interlaced=true compliance=1 bitrate=96000 ! rtpmp4vpay config-interval=1 mtu=500 ! application/x-rtp,payload=96,clock-rate=90000 ! multiudpsink clients=,

I am using the following SDP file for VLC:
c=IN IP4
m=video 53700 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000

The Commercial decoder SDP file is the following (this is just an example from another test-disregard IPs):


I successfully sent the decoder a previously recorder video using the following pipeline:
gst-launch-1.0 -v filesrc location=/home/test/Videos/Mic-Moving-Test-Video.mpg ! qtdemux ! multiqueue ! mpeg4videoparse ! rtpmp4vpay pt=96 config-interval=1 ! udpsink host= port=53700 sync=true async=false

Stumped on why I am unable to get videotestsrc to display on commercial decoder correctly--Any guidance or recommendations will be greatly appreciated.

Thank you,

Sent from the GStreamer-devel mailing list archive at Nabble.com.

gstreamer-devel mailing list
[hidden email]