Render Video Frame to PixiJS Canvas from Uint8Array returned by ffmpeg #448
              
                
                  
                  
                    Answered
                  
                  by
                    SenthilKumaranC
                  
              
          
                  
                    
                      SenthilKumaranC
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I have created a function to render video frame to Pixi Canvas , but unable to see the output on Pixi Stage. I have added Pixi canvas to DOM. I have tried normal Canvas also using putImageData api , but not working. Thanks in Advance | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            SenthilKumaranC
          
      
      
        Dec 7, 2022 
      
    
    Replies: 1 comment
-
| I found the answer myself. Thanks. Need to test the efficiency. const renderFrameToPixi = useCallback(async ({ target: { files } }: any) => { }, []); | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        SenthilKumaranC
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I found the answer myself. Thanks. Need to test the efficiency.
const renderFrameToPixi = useCallback(async ({ target: { files } }: any) => {
const { name } = files[0];
}, []);