this post was submitted on 27 Feb 2024
11 points (82.4% liked)
Linux Questions
1062 readers
2 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, what I meant was to try recording video with ffmpeg, then open another terminal and record audio with ffmpeg. Does the video look ok when recorded like this?
Also, you said you tried various codecs, what happens if you dump the raw audio (PCM?) stream without reencoding at all?
Well, surprisingly, it works. Video runs smoothly, and I can merge the separate audio file to it witk Kdenlive. So, I guess the problem is solved. But I don't understand why it works this way and not with a single command in one terminal.
Weird! Yeah I don't understand either, but this info may help in further debugging.
Have you tried playing with the container format? I know .mkv is generally preferred but maybe try .mp4 or something else. My thinking here is that both audio and video work, but somehow muxing them is failing. Using a different container could maybe help since the muxing is different (???).
Other thing to try is of course making sure ffmpeg is up to date but it sounds like you're on top of that.
Good luck!