Multistream Decoding - 2023.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2023-05-16
Version
2023.1 English

Decode the H.265 input file using four decoder elements simultaneously and saving them to separate files

gst-launch-1.0 filesrc location=input_1920x1080.mp4 ! qtdemux ! h265parse ! tee name=t 
t. ! queue ! omxh265dec ! queue max-size-bytes=0 ! filesink 
location="output_0_1920x1080.yuv" 
t. ! queue ! omxh265dec ! queue max-size-bytes=0 ! filesink 
location="output_1_1920x1080.yuv" 
t. ! queue ! omxh265dec ! queue max-size-bytes=0 ! filesink 
location="output_2_1920x1080.yuv" 
t. ! queue ! omxh265dec ! queue max-size-bytes=0 ! filesink 
location="output_3_1920x1080.yuv"
Note: The tee element is used to feed same input file into four decoder instances; you can use separate gst-launch-1.0 application to fed different inputs.