Skip to content

net/aws/transcribe: add translation request src pads

Example pipeline:

AWS_ACCESS_KEY_ID="______" AWS_SECRET_ACCESS_KEY="_____" \
gst-launch-1.0 -e filesrc location=/____FILE___PATH____ ! decodebin3 name=d \
    d.video_0 ! fakesink \
    d.audio_0 ! audio/x-raw ! queue ! clocksync ! audioconvert \
        ! awstranscriber transcribe-latency=7000 translate-latency=500 transcript-lookahead=4000 name=tcb \
            translation_src_0::language-code=fr \
            translation_src_1::language-code=es translation_src_1::tokenization-method=1 \
            tcb.src ! fakesink dump=true \
            tcb.translation_src_0 ! fakesink dump=true \
            tcb.translation_src_1 ! fakesink dump=true
Edited by François Laignel

Merge request reports

Loading