h264 file streaming

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

h264 file streaming

jeffyao
Hi,

I am trying to streaming the .h264 file by udpsink and play it on vlc (sdp
file), but it look have some problem on vlc, here is my gst command send
from server

gst-launch-1.0 -v filesrc location=/data/test.h264 ! h264parse ! avdec_h264
! x264enc ! rtph264pay ! udpsink host=192.168.1.131 port=5000

btw, I can play the mp4 and mov file well on vlc by the follow gst command,
but I need to play the h264 file....

mp4 file:
gst-launch-1.0 -v filesrc location=/data/test.mp4 ! qtdemux ! queue !
h264parse ! avdec_h264  ! x264enc tune=zerolatency bitrate=500
speed-preset=superfast ! rtph264pay ! udpsink host=192.168.1.131 port=5000

mov file:
gst-launch-1.0 -v filesrc location=/data/test.mov ! qtdemux ! queue !
h264parse ! avdec_h264  ! x264enc ! rtph264pay ! udpsink host=192.168.1.131
port=5000

Does any element I missed when send h264 file?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel