GStreamer 1.0: verify each element of the pipeline works in isolation
We want to verify the new pipeline does the same thing as the old pipeline.
It looks like this can’t be done in an end-to-end manner (e.g. #69 (closed)).
Therefore, the proposed approach is:
- identify sections of the pipeline between changed elements (e.g., “everything before
GstAudioResample
”, “everything afterGstAudioResample
”), and for each section: - run the old (Python 2/Gstreamer 0.10) pipeline, carefully dumping the output at the start and end of the section
- run the new pipeline, but carefully inject the Python 2 output into the Python 3 pipeline at the section start, and dump the output at section end
- compare, and show bit-for-bit identity between, the end section
This is ultra-hacky, but we don’t need something production-quality or performant, just something that can demonstrate to the satisfaction of ourselves/our reviewers that we haven’t broken anything in the pipeline doing the upgrade.