cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mrbietola
Scholar
Scholar
3,518 Views
Registered: ‎05-31-2012

Switch between two axi stream videos

Hi, thwere is not such a component in EDK, i would select between 2 video streams, how is the correct way to do this?

My idea is, when i need to change video, i wait for the current video to end the current frame ( wait for sof high) then i look at the second video stream and discard data until the new sof, then i will propagate the output...

0 Kudos
3 Replies
balkris
Xilinx Employee
Xilinx Employee
3,517 Views
Registered: ‎08-01-2008

you need to create 2 frame buffer. You may use external memory or internal memory in ping pong . write alternate frame in these buffer and read alternately for processing.
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
mrbietola
Scholar
Scholar
3,513 Views
Registered: ‎05-31-2012

i don't want to introduce a frame of latency between input and output, i have this configuration

video to axi -> scaler -> triple frame buffer -> axi to video

the latency is only 1 frame and is the maximum allowed
0 Kudos
martinthompson
Explorer
Explorer
3,506 Views
Registered: ‎08-14-2007

Your plan sounds fine - now just write the code and test it :)

Martin Thompson
martin.j.thompson@trw.com
http://www.conekt.co.uk/capabilities/electronic-hardware
0 Kudos