Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Video Send output of FFMPEG per UDP in Unity

Discussion in 'Audio & Video' started by potu1304, May 28, 2018.

  1. potu1304

    potu1304

    Joined:
    Jul 28, 2012
    Posts:
    3
    I am using https://github.com/keijiro/FFmpegOut to get videos from the unity engine. Now I have to take the compressed FFMPEG output buffer, fragment it, and put it into UDP packets. Then a receiver should receive the data and reassemble the original FFMPEG buffer. Now I am wondering how I can achieve this? How can I access the FFmpeg pipeline to access its buffer and then fragment it? I have no clue how to access the buffer. I treid to modify the FFmpegPipe.cs but here I am not sure what the buffer could be.
    Or are there better alternatives than using the ffmpeg.exe?

    I would be very thankful for some help and clearance :)

    Best regards!
     
  2. CONGOBILL

    CONGOBILL

    Joined:
    Mar 4, 2020
    Posts:
    17
    I have the same problem, how did you manage to resolve it?