Simplified pipeline
This commit is contained in:
parent
646bb5d77a
commit
7bb5338c64
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue