Created
November 30, 2024 11:48
-
-
Save vladborovtsov/f9e04b37900fc14338e00350ec5d90d8 to your computer and use it in GitHub Desktop.
Convert steam deck recordings into normal mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat init-stream0.m4s $(find . -name "chunk-stream0-*.m4s" | sort) > tmp_video.mp4 | |
cat init-stream1.m4s $(find . -name "chunk-stream1-*.m4s" | sort) > tmp_audio.mp4 | |
docker run --rm -v "$(pwd):/data" jrottenberg/ffmpeg -i /data/tmp_video.mp4 -i /data/tmp_audio.mp4 -c copy /data/final_video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment