-
Notifications
You must be signed in to change notification settings - Fork 230
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
libav changes #606
libav changes #606
Conversation
Add a general codec options function that will allow other libav encoders to be selected correctly. Signed-off-by: Naushir Patuck <[email protected]>
Test that we can create a small mkv/mp4 file using libav + libx264 correctly. Signed-off-by: Naushir Patuck <[email protected]>
@popsUlfr can you test this change before I go ahead and merge it? |
Yes @naushir it works
|
Great thanks! Merging now. |
Please add the option to simply copy the raw h264 stream from the sensor without having to reencode it with CPU. I did not find any option like 'copy' for the '--libav-video-codec' option. WIthout this option, the raw h264 stream was simply transported to an rtmp:// server which then could record it. It was possible to pickup the cam stream in h264_raw format and simply transfer it over a network with around 7-10 % of CPU usage. I use these streams then on a bigger server to record with motion detection. I can even pickup a FullHD h264 stream on a Raspberry Pi Zero 2W with this method. Reencoding on such a tiny CPU is not an option and will break the video streams while heating up the tiny Raspberries. What worked before the upgrade: rpicam-vid -t 0 --width 1920 --height 1080 --nopreview --exposure long --sharpness 1.1 --contrast 1.1 --brightness 0.2 --saturation 1.0 --awb auto --denoise auto |
No description provided.