PyavOutput and VLC compatibility #1320
nudefireninja
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks... do you have any tips to improve compatibility with VLC or other media players? I'm working on a "wildlife" camera for the birds that frequent my window.
Previously I was recording .mjpeg files and later converting them to .mp4 with ffmpeg, and those files would play fine on macOS, even in QuickLook. Then I wanted to fix the inaccurate timestamps/framerate issue due to MJPEG not having support for variable frame durations, and somewhere along the line I discovered PyavOutput.
Now I'm using PyavOutput to make .mp4 files directly from H264Encoder and CircularOutput2, and I was even able to add audio for free. Nice! Not to mention I don't have to transfer the large .mjpeg files to the PC for the intensive processing anymore. However, playback only seems to work in IINA.app (and ffplay) on macOS. Both QuickTime and the latest version of VLC (3.0.21) can't play them.
I appreciate any suggestions.
More info:
I tried changing format from YUV420 to RGB888 but it didn't help.
The VLC 'Messages' window shows one error:
and a few hundred warnings, all the same:
Couldn't find an answer to that.
My setup code looks like this:
And for capture I have basically this:
(Thank you so much btw for all the example codes that have helped me so much!)
Beta Was this translation helpful? Give feedback.
All reactions