spacepaste

  1.  
  2. Hello! I'm hunting for a ffmpeg expert to help me through an AV processing (Python) pipeline.
  3. The basic task is:
  4. - to receive a video track and an audio track
  5. - to insert a certain length of black at the start of the video track
  6. - if the audio is longer, to freeze the last frame of the video track until the audio has completed
  7. - to insert content into the audio track
  8. - to merge the audio track into the video track
  9. There are a couple of complications:
  10. - sometimes we receive just a video track, in which case we have to split off the audio Stream and use that
  11. - the content is ultrasonic, so it's important this information is not lost (I believe we can use .aac with .mp4)
  12. Initially I outsourced the task. I have a Python script that works. But it is slow, cumbersome, ugly.
  13. I've rewritten it cleanly. But I suspect ffmpeg is still not being used right.
  14. I'm looking for someone who is familiar with the API to review the ffmpeg calls.
  15. Also I've found https://github.com/kkroening/ffmpeg-python
  16. It might be nice to use that!
  17. Please send me a PM, or email pi!pipad!org if this sounds of interest.
  18. π
  19.