Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add H265 support #252

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joaoantoniocardoso
Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso commented Aug 3, 2023

What to test:

  • Create fakesrc h265 UDP and receive via GStreamer
  • Create fakesrc h265 RTSP and receive via GStreamer
  • Create fakesrc h265 UDP and receive via QGC
  • Create fakesrc h265 RTSP and receive via QGC
  • Create fakesrc h265 UDP or RTSP and receive via WebRTC¹
  • Create USB camera h265 UDP or RTSP and receive via WebRTC¹
  • Redirect from an IP camera h265 stream and receive via WebRTC¹
  • Redirect from an IP camera h265 stream (RTSP) and receive via QGC

¹: It works on Safari 18, but for 17.6, the H265 feature flag needs to be enabled.


To receive from UDP:

gst-launch-1.0 -vc \
    udpsrc address=127.0.0.1 port=5600 close-socket=false auto-multicast=true \
    ! application/x-rtp, payload=96 \
    ! rtph265depay \
    ! avdec_h265 std-compliance=normal \
    ! videoconvert \
    ! autovideosink sync=false

To receive from RTSP:

gst-launch-1.0 -vc \
    rtspsrc location=rtsp://0.0.0.0:8554/0 latency=0 \
    ! application/x-rtp, payload=96 \
    ! rtph265depay \
    ! avdec_h265 std-compliance=normal \
    ! videoconvert \
    ! autovideosink sync=false

Useful to check if the system supports H265 decoding (which doesn't mean it supports it via WebRTC):

  1. open video_demo_hevc
  2. open chrome://media-internals

@joaoantoniocardoso joaoantoniocardoso mentioned this pull request Aug 3, 2023
1 task
@patrickelectric
Copy link
Member

Fix #256

@joaoantoniocardoso joaoantoniocardoso linked an issue Aug 4, 2023 that may be closed by this pull request
@joaoantoniocardoso joaoantoniocardoso force-pushed the add_h265_support branch 2 times, most recently from b32c57d to dff78b2 Compare July 22, 2024 20:00
@joaoantoniocardoso joaoantoniocardoso force-pushed the add_h265_support branch 2 times, most recently from 2bd8615 to 4e46eb6 Compare October 31, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to h265 video
2 participants