-
Notifications
You must be signed in to change notification settings - Fork 334
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
RTSP Quality VS YouTube RTMP #53
Comments
Also - below are the commands I am using and attached my camera settings //OnUbutntu - RTSP //FromWindows |
@francoisdutoit the KVS end-to-end does not modify the encoded bits so the quality should be what your application/pipeline is producing. I looked at the attached videos. The visual artifacts are not related to the quality of the encoder but the fact that the elementary stream is broken - either the timestamps are incorrect or frames are missing. Could you please ensure that
|
The demo RTSP app has been tested with streams having video resolutions of 1900x1200 without any visual quality issues.
Thanks |
So running ffmpeg from the ubuntu vm still gives quality results on youtube - the only difference between the two streams is that I am directly pushing a RTSP stream to kinesis and with youtube I am converting the stream to rtmp using ffmpeg and then pushing to youtube. See attached videos. |
PS: My Windows 10 PC is an i7-7700 4.2Hgz with 16GB Ram |
Here is some of the console output from running the kinesis_video_gstreamer_sample_rtsp_app |
Check if you have errors from KVS Producer SDK. As I mentioned, please attach the full logs for the run so we can help. |
@MushMal - Where can I check for errors on the Producer SDK and where are the log files saved? - I am just running the sample app from the command line |
As @MushMal has mentioned the sample app sends the incoming data stream directly to KVS as it is received. The quality of the streams you are seeing in the console relates directly to the stream it receives from the source. You may want to check your camera options (higher bitrate , subtype ) to send the best quality RTSP stream . |
@francoisdutoit by default the sample applications output the logs on the console. You can capture the entire output from the console. |
From your logs, it shows frames are getting dropped due to timestamp issue in the incoming stream.
For any errors you see in the logs, You can refer the details in https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-sdk-errors.html Also, make sure you are using the latest sample application from the Github. Thanks |
@francoisdutoit can you also provide details of the camera model you are using ... Thanks |
It a Dahua IPC-HFW1120S, Device Type |
@francoisdutoit can you try Encode Mode as. H.264B (baseline profile) instead of H.264H ? |
@unicornss . Ok - Let me try that.... |
@unicornss |
@unicornss , |
I'm getting the following error with the latest version.... describeStreamResultEvent(): Describe stream result event.DEBUG - describeStreamHandler invoked describeStreamResultEvent(): Describe stream result event.ERROR - Submitting event result for stream: 94696165351990 failed with: 1375731729 |
This is caused by certificate issue. Please refer to https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp#certificate-store-integration to fix this. |
As @zhiyua-git mentioned this is due to the certificate issue and you need to copy the certificate as in https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp#certificate-store-integration . Then follow the steps in #40 to rebuild the curl.
|
So running the latest version has resolved the issue :) The quality is fine now :) Thanks for the help :) |
Hi,
I am wondering why the quality of my RTSP stream is so poor compared to an RTMP stream sent to youtube live ( see attached video )
I have a screen recording of a simple app - The top video is getting its stream from Kinesis ( pushed up using the gstreamer_sample_rtsp_app ) and the bottom video is locally encoded to RTMP using ffmpeg and then pushed to youtube live and embedded in my page.
The quality is the same in the AWS console.....
Anything I can do to improve this?
Thanks!
Home Page - AngularCoreAWS - Google Chrome 2018_03_19 19_07_10.zip
The text was updated successfully, but these errors were encountered: