h264 file streaming

jeffyao jeff0118 at gmail.com
Thu Mar 7 12:25:03 UTC 2019


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/


More information about the gstreamer-devel mailing list