transmit video stream- file from the pc

d dudi017 at gmail.com
Tue Jan 28 01:48:05 PST 2014


Hi!

im trying to transmit video and play it on the client pc.

the pipeline:  gst-launch *videotestsrc* ! ffenc_mpeg4 ! rtpmp4vpay !
udpsink host=192.168.1.16 port=5000
works fine

but now, I need to transfer a video file from the pc. this is the pipeline:

gst-launch *filesrc location=movie.mp4* ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink
host=192.168.1.16 port=5000

and I get this error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

** (gst-launch-0.10:10550): CRITICAL **: gst_ffmpegenc_chain_video:
assertion `frame_size == GST_BUFFER_SIZE (inbuf)' failed
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
*** stack smashing detected ***: ./RTPserver terminated
Segmentation fault (core dumped)



do someone know how to fix it? 
thank you!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/transmit-video-stream-file-from-the-pc-tp4664924.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list