video.js player video is black -
i have strange problem video-js-4.12.5. i'm using ffmpeg on fedora 20 machine send live stream vps webcasts out. following command on fedora machine works fine, stream plays in vlc fine, , web page on vps displays video fine:
ffmpeg -i [input] blah-de-blah 'rtmp://vps-server'
going fedora machine i'd record video mp4 file stream it. following command works fine produces black video image in web page. command runs fine on fedora machine, in vlc proper image on web page video black. audio no video.
ffmpeg -i [input] blah-de-blah 'recording.mp4|[f=flv]rtmp://vps-server'
does know why be? problem in video.js player or on vps somewhere. code on web page plays video:
<video id="example_video_1" class="video-js vjs-default-skin" controls="controls" autoplay="autoplay" preload="auto" width="660" height="500" poster="video-poster.gif" data-setup="{}"> <source src="rtmp://<vps.svr.ip>:1936/live/livestream1" type='rtmp/mp4' /> <track kind="captions" src="demo.captions.vtt" srclang="en" label="english"></track> <track kind="subtitles" src="video/js/demo.captions.vtt" srclang="en" label="english"></track> </video>
this has got me baffled pointers.
Comments
Post a Comment