charlesmccarthy/audioswap 🖼️ → 🖼️
About
Take audio from one video and add it to a second video. Good for adding back audio to liveportrait.

Example Output
Output
Performance Metrics
18.57s
Prediction Time
34.05s
Total Time
All Input Parameters
{ "video1": "https://cdn.discordapp.com/ephemeral-attachments/1259920801617154058/1259950277193371699/d6.mp4?ex=668d8ba2&is=668c3a22&hm=50a66b5ef56c0e3c42fcb61e2a1996e674527b8384935730860304ea4711ba1f&", "video2": "https://replicate.delivery/pbxt/fXxg42t2x02wFSaeRphwSo8GYhixuG6DynfCc44yQJD5l9MmA/R8_LivePortrait_00001.mp4" }
Input Parameters
- video1 (required)
- Video file to take audio from
- video2 (required)
- Video file to apply audio to
Output Schema
Output
Example Execution Logs
DEBUG:predict:Starting prediction DEBUG:predict:Created temporary directory: /tmp/tmpcbbx4_ke DEBUG:predict:Output path set to: /tmp/tmpcbbx4_ke/output.mp4 DEBUG:predict:Video1 has audio: True DEBUG:predict:Extracted video from: /tmp/tmp_nypwlb7R8_LivePortrait_00001.mp4 DEBUG:predict:Extracted audio from: /tmp/tmp3g9_6w3cd6.mp4 DEBUG:predict:Created ffmpeg output object DEBUG:predict:Running FFmpeg command DEBUG:predict:FFmpeg command completed DEBUG:predict:Output file created successfully at /tmp/tmpcbbx4_ke/output.mp4 DEBUG:predict:Final output path set to: /tmp/cog_output/output.mp4 DEBUG:predict:Copied output file to /tmp/cog_output/output.mp4 DEBUG:predict:Cleaning up temporary directory: /tmp/tmpcbbx4_ke
Version Details
- Version ID
b6460c4e74e71370f57a21a9ba7d7359de70ceab8d8f839cd82c45ec054fdac3
- Version Created
- July 8, 2024