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

[REQ] live streams (RTSP TCP/UDP) input support #144

Closed
MarcoRavich opened this issue May 12, 2023 · 5 comments
Closed

[REQ] live streams (RTSP TCP/UDP) input support #144

MarcoRavich opened this issue May 12, 2023 · 5 comments

Comments

@MarcoRavich
Copy link

Hi there, as always thanks for your great work.

Recently we're dealing with (4-8) RTSP streams - coming through LAN from our PTZ cameras that we use in live performances shootings - so, since your *Encs can de/en-code much faster than realtime, we wonder if it is possible to feed them directly providing streaming links.

It would be extremely useful both for acelerated decoding (live display) and/or recording: this could push the adoption of *Encs as backend by several open NVR/NetPlayer projects.

Hope that ispires.

@Saentist
Copy link

#47

@rigaya
Copy link
Owner

rigaya commented May 12, 2023

QSVEncC can grab live streaming like ffmpeg, as it supports libavformat.

Simple example is shown below.

x64\QSVEncC64.exe -i rtsp://<ip address>:<port>/mystream -o F:\temp\test.ts --audio-codec aac

@MarcoRavich
Copy link
Author

QSVEncC can grab live streaming like ffmpeg, as it supports libavformat.

Cool (does this means that it can be feeded from capture card too ?), didn't get it.

....another question: can QSVEncC be used as a "hw decoding engine" only ?

To be more clear: can it be replace ffmpeg in this kind of script ?

Thanks in advance !

@Saentist
Copy link

It will be interesting Zoneminder with QSVEncC

@rigaya
Copy link
Owner

rigaya commented May 14, 2023

I've adjusted the behavior for camera input, QSVEnc 7.40 should be able to capture "dshow" camera input.

x64\QSVEncC64.exe --input-format dshow -i video="<webcam>" -o output.mp4

QSVEncC be used as a "hw decoding engine" only ?

Unfortunately not, QSVEncC is designed to be used as a encoder. Also, it's design is to be able to handle single video stream. It will be difficult to re-design it to handle multiple video streams.

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

No branches or pull requests

3 participants