Save VideoFrame
s and AudioFrame
s merged in one joint .mp4
file
#1081
Unanswered
anna-charlotte
asked this question in
1. Help
Replies: 2 comments
-
Did you ever figure this out? |
Beta Was this translation helpful? Give feedback.
0 replies
-
you can check #866 (comment) for answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
I have several
VideoFrame
s andAudioFrame
s that I want to save together to an.mp4
file. As of right now I am able to save the video frames to one file and theAudioFrame
s to a separate file. But I haven't found a way to store them in a joint.mp4
file, with audio and video.Expected behavior
I want to store an audio stream and a video stream to the same
.mp4
file.Actual behavior
No error is thrown, but the resulting
.mp4
file can not be opened and seems to be flawed.Investigation
This results in a flawed
.mp4
file:Storing the audio frames and video frames seperately works fine.
For VideoFrames to
.mp4
(without audio):For AudioFrames to
.mp3
:Research
I have done the following:
Beta Was this translation helpful? Give feedback.
All reactions