avdec_mpeg4 ! avenc_mpeg4

Frédéric Sallé salle.frederic at gmail.com
Fri Nov 29 12:51:41 PST 2013


Thank you so much Carlos & Oliver!!
mpeg4videparse do the trick ...


On 29/11/2013 21:43, Carlos Rafael Giani wrote:
> On 2013-11-29 21:18, Frédéric Sallé wrote:
>> /gst-launch-1.0 -vvv udpsrc port=11010 caps="application/x-rtp" ! 
>> rtpmp4vdepay ! avdec_mpeg4 ! avenc_mpeg4 ! matroskamux ! filesink 
>> location=test.mkv//
>> /
>
> Using an mpeg4 parser helps. Here is the sender pipeline:
>
> gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! rtpmp4vpay 
> config-interval=1 ! udpsink host=localhost port=11010
>
> And the receiver:
>
> gst-launch-1.0 -vvv udpsrc port=11010 caps="application/x-rtp" ! 
> rtpmp4vdepay ! mpeg4videoparse ! matroskamux ! filesink 
> location=misc/test.mkv
>
>
> Note three things: One, you might have to use your machine's IP 
> address instead of localhost. Second, the config-interval property of 
> rtpmp4vpay must be set to a nonzero value (or you need some other way 
> to communicate MPEG4 headers to the receiver). Third, I added the 
> mpeg4videoparse element between the depayloader and matroskamux.
>
>
> cheers
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131129/bbe0841b/attachment.html>


More information about the gstreamer-devel mailing list