[Live-devel] openRTSP-saved h264 stream cannot be played by VLC and HTML5 video tag

zhangmz at waininfo.com zhangmz at waininfo.com
Sat Apr 4 17:58:25 PDT 2015


Hi all,

I have tested openRTSP on my IP camera (H264 stream). It saves .mp4 file without problem.

1. The .mp4 file can be played by Linux Mint's default videos player, but cannot by VLC.

VLC shows "undef" stuff.

I have to tune VLC demuxers from "automatic" to "h264 demuxers" to play this video.

However, for other H264 files I downloaded from internet, VLC can play directly without tuning.


2. I tried using Firefox to directly open the .mp4 file saved by openRTSP, Firefox can play it without problem.

However, if I use <video> tag of HTML5 (and also put this file in HTTP server), Firefox (also chrome and IE) can't play this video.

Note that, Firefox (also chrome and IE) can play other H264 files via same HTTP server.

3. I tried using VLC command "vlc -vvv rtsp://address -sout file_name.mp4", and VLC can save the file from rtsp stream without problem.


However, the VLC saved file can be played by VLC, can be played by HTML5 video tag from all tested browsers.


I consider VLC uses live555 as RTSP client?



SO, is it a bug of live555 implementation on H264 stream? What share I do to modify the behaviour so that my saved file can be played by HTML5 video tag? 

Anyone can give me any hints on where to look for such resources?

Thanks.

Best Regards,
Mingze 






\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150405/fc6521b7/attachment.html>


More information about the live-devel mailing list