Access MP4 videos in HTML Click-and_Play

nasa2.mp4
You may also download the mp4 video by right click the link above.

Show MP4 videos in HTML5 <VIDEO> Tag



MP4 videos from GStreamer on Jetson TX2



GST-launch pipeline that is now working:
  gst-launch-1.0 -e \
    nvcamerasrc sensor-id=0 \
  ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=NV12' \
  ! nvvidconv flip-method=4 \
  ! 'video/x-raw, width=720, height=480, framerate=30/1, format=NV12' \
  ! omxh264enc \
  ! 'video/x-h264, stream-format=(string)byte-stream' \
  ! h264parse \
  ! mux. \
    alsasrc 'device=hw:1,1' \
  ! audioresample \
  ! 'audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)2' \
  ! voaacenc \
  ! mux. \
    mp4mux name=mux ! filesink location=1cam_av.mp4
  


CLICK-AND-PLAY: Video + Audio, 1-cam
1cam_av.mp4 (one camera)






ERROR and OPEN ISSUES

GST-launch pipeline that worked on TX2 but failed to play on web browsers:
gst-launch-1.0
  nvcamerasrc sensor-id=0 \
! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=NV12' \
! nvvidconv flip-method=4 \
! 'video/x-raw, width=720, height=480, framerate=30/1, format=NV12' \
! omxh264enc \
! 'video/x-h264, streamformat=(string)byte-stream' \
! mpegtsmux name=mux
  alsasrc 'device=hw:1,1' \
! audioresample \
! audio/x-raw,rate=48000,channels=2 \
! queue \
! voaacenc bitrate=32000 \
! queue \
! mux.
  mux.  \
! filesink location=1cam_w_audio.mp4 sync=true async=false qos=true -e


Pending issue: videos still failed to play on VLC on TX2 in both local file mode and network mode (worked fine on VLC in other environments, including Windows 10, Ubuntu 16.04 on PC).