UDP stream using good plugins

sergio_ myxdiablo at yahoo.com
Thu Jan 23 00:36:10 PST 2014


I founded the solution:
//client
gst-launch udpsrc port=5000 !
application/x-rtp,media=video,payload=100,clock-rate=100000000,encoding-name=MP4V-ES
! rtpmp4vdepay ! ffdec_mpeg4 ! mfw_v4lsink

//server
gst-launch -v videotestsrc pattern=snow ! ffenc_mpeg4 ! rtpmp4vpay
send-config=true ! udpsink host=127.0.0.1 port=5000
_________________________________

Now I want to stream different files, for example a mp4 file encoded h264. I
run next command on the server:
//new-server
gst-launch -v filesrc location=h264codec_mp4format.mp4 ! ffenc_mpeg4 !
rtpmp4vpay send-config=true ! udpsink host=127.0.0.1 port=5000

But I get this error:
** (gst-launch-0.10:9752): CRITICAL **: gst_ffmpegenc_chain_video: assertion
`frame_size == GST_BUFFER_SIZE (inbuf)' failed
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data flow error.

I think I have to set the frame size, could you help me with this?
And in general, is there a way to find out what capabilities has a file, for
example h264codec_mp4format.mp4?

Thanks



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/UDP-stream-using-good-plugins-tp4664819p4664833.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list