Decoding Issues with avenc_mpeg4
lclap-gstream
lamar.clapham at gmail.com
Sat Dec 8 22:46:05 UTC 2018
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
<http://gstreamer-devel.966125.n4.nabble.com/file/t378663/mp4-decoder.jpg>
VLC displays the same stream as:
<http://gstreamer-devel.966125.n4.nabble.com/file/t378663/vlc-decode.jpg>
VLC Media Info:
<http://gstreamer-devel.966125.n4.nabble.com/file/t378663/VLC-Media-info.jpg>
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=192.168.1.20:53700,192.168.1.202:5000
I am using the following SDP file for VLC:
v=0
c=IN IP4 191.268.1.200
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):
<http://gstreamer-devel.966125.n4.nabble.com/file/t378663/commercial_sdp_file.jpg>
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=192.168.1.20 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,
L
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181208/425d2730/attachment.html>
More information about the gstreamer-devel
mailing list