Please check
1 If x264enc outputs h264 stream wit AU delimiter
2 Run ‘python -m SimpleHTTPServer’ on TX1
3 Open http://192.168.1.36:8000/playlist.m3u8 on iOS Safari
The URL looks good. The issue should be lack of AU demiliter, or HTTP server is not running.
Thanks for your response. Just to be clear I am experimenting using TX2. When I run the command, I get the following dumps:
playlist.m3u8
segment%04d.ts files
wAUD.h264
By “If x264enc outputs h264 stream wit AU delimiter” do you mean #3 ?
My final objective is to stream live camera feed.
I am able to get the command to work by running server. I think that was the issue. However, I am not sure how to stream live feed from camera. Could you please help me with the gstreamer commandline?
I replaced videotestsrc by nvcamerasrc as follows:
We verify below steps on r28.2.1/TX2 and it works:
// generate video files and playlist
$ gst-launch-1.0 videotestsrc num-buffers=300 ! 'video/x-raw,width=1280,height=720' ! x264enc ! mpegtsmux ! hlssink
// You should see
-rw-rw-r-- 1 nvidia nvidia 155 Sep 28 08:28 playlist.m3u8
// and
-rw-rw-r-- 1 nvidia nvidia 2738032 Sep 28 08:28 segment00000.ts
// run http server
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
// Open link on iPhone 6 Safari
http://<TX2_IP_ADDR>:8000/playlist.m3u8
However, I am unable to see the stream on 10.33.55.11 machine. I am using VLC media player to receive the stream on 10.33.55.11 machine. I am also unable to find wAUD.h264 file being dumped.
When I do this, it runs for about 10 seconds, then says
Got EOS from element "pipeline0".
Execution ended after 0:00:11.766280053
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...