how to play h.264 video recording file?
dhkdlasdnr
alsdnr4874 at gmail.com
Mon Apr 9 01:28:27 UTC 2018
Hi.
I have a some problem about streaming record.
i use raspberry pi, and my pipeline is
-host : raspivid -t 0 -h 720 -w 1280 -fps 25 -b 2000000 -o - |
gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 !
gdppay ! tcpserversink host=192.168.20.8 port=5000
-client : gst-launch-1.0 -v tcpclientsrc host=192.168.20.8 port=5000 !
gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! filesink
location=test.mp4
This code are working. but i cant play that "test.mp4".
I use VLC player, and setting h264 demuxer. but It can not work.
so I test thist code in raspberry pi
-gst-launch-1.0 -v -e videotestsrc ! omxh264enc ! 'video/x-h264,
stream-format=(string)byte-stream' ! h264parse ! filesink
location=test1.mp4
this code is work well, and can play "test.mp4"
I dont know about this two situation's difference because I am beginner and
first time about video section.
please give me advice.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list