Simplified pipeline

This commit is contained in:
Rafael Caricio 2022-04-01 00:28:01 +02:00
parent 646bb5d77a
commit 7bb5338c64
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

@ -15,10 +15,10 @@ fn main() -> eyre::Result<()> {
let pipeline = gst::parse_launch(
r#"
filesrc location=/Users/rafael.caricio/video.mkv ! matroskademux name=demuxer
uridecodebin name=demuxer uri=file:///Users/rafael.caricio/video.mkv
demuxer.video_0 ! decodebin name=video-decoder ! video/x-raw ! transcriberbin name=trans latency=30000
demuxer.audio_0 ! decodebin name=audio-decoder ! audio/x-raw ! trans.sink_audio
demuxer. ! video/x-raw ! transcriberbin name=trans latency=30000
demuxer. ! audio/x-raw ! trans.sink_audio
trans.src_video ! cea608overlay black-background=1 ! autovideosink
trans.src_audio ! autoaudiosink