I am adding recording support to an emulator I am writing and am using two appsrc elements to introduce my generated audio and video into the gstreamer pipeline.
I am using the gstreamer-rs crate in a rust application.
Code can be found at https://github.com/uglyoldbob/old_systems/blob/stream/nes/rust/src/recording.rs
My current behavior is that I can get video in the recording just fine if I only do video. When I try to do video and audio at the same time, I only get audio.
vlc reports that the video file indeed contains a video and an audio element, but apparently no video data.
Setting blocking on the video appsrc just ends up hanging the application.