Giter VIP home page Giter VIP logo

Comments (6)

numberwolf avatar numberwolf commented on May 27, 2024
  • example:
    Open file : index.html, then modify the url to your h265 media's url

  • example_normal:
    Open file : example.js then modify the url to your h265 media's url

Warning:!!!!

Do not open it by file protocol!!!!!!!!!! Put it in your webserver path(like nginx/apache)

from h265web.js.

pubpy2015 avatar pubpy2015 commented on May 27, 2024

Thanks,

Now it work fine.
Why you dont support both H264 and H265 ? In CCTV system, many IP camera still using H264 video codec.

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024

Thanks,

Now it work fine. Why you dont support both H264 and H265 ? In CCTV system, many IP camera still using H264 video codec.

When I develop this player-core in first time, I want make it smaller. But now, I will support H264 nearly days.

And:
The API of mediaInfo will tell you is h264 or h265.

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024

Thanks,

Now it work fine. Why you dont support both H264 and H265 ? In CCTV system, many IP camera still using H264 video codec.

https://github.com/numberwolf/h265web.js/releases/tag/v20211024
Already support H264 with MP4/HLS/M3u8/Flv/Http-FLV

from h265web.js.

pubpy2015 avatar pubpy2015 commented on May 27, 2024

Thanks,

I've tested. It's work fine.

Some questions:

  • How to autoplay the stream when the loading is finished? (without clicking on the screen)?
  • How to adjust the aspect ratio of the player (I want to display the video to fit the screen, no black bars on the side or top/bottom)?
  • does it have reconnect function?
  • snapshot function ?
  • play multi streams on a web page ? (ex: layout 2x2, 3x3,...)...?
  • when play a video file, can i set play speed from 0.25 to 16X,...?
  • How to show "loading ..." at the center of player screen

from h265web.js.

numberwolf avatar numberwolf commented on May 27, 2024
  • How to autoplay the stream when the loading is finished? (without clicking on the screen)?
  • How to adjust the aspect ratio of the player (I want to display the video to fit the screen, no black bars on the side or top/bottom)?
  • does it have reconnect function?
  • snapshot function ?
  • play multi streams on a web page ? (ex: layout 2x2, 3x3,...)...?
  • when play a video file, can i set play speed from 0.25 to 16X,...?
  • How to show "loading ..." at the center of player screen
  1. you want to loop? you need to read the README.MD. event of playfinish, you can replay.
  2. resize the container and player's canvas/video tag
  3. no, its a open framework/sdk
  4. By HEVC/H.265, you need to read the README.MD, render yuv event, you can get yuv frame. In AVC/H.264, you can get capture by videoTag yourself.
  5. yep , do it by yourself. create multi player.
  6. no
  7. you need to read the README.MD. event of loading.

5/7 of these questions, you can find answer in README.

from h265web.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.