Post

Replies

Boosts

Views

Activity

Reply to Black frames in recorded videos
I had a similar problem in recording video from the camera. I had to add the AVCaptureMovieFileOutput to the capture session right after setting up the AVCaptureDevice. When the user pressed the record button at a later time it worked without black frames. But when I did set up the AVCaptureMovieFileOutput only after the user pressed record I got black frames at the start of the recorded movie. Does anyone know what is the problem here?
Jun ’24
Reply to Make background of VideoPlayer clear
Perhaps I misunderstand your question, but the way I see it: There is nothing „silly“ about this behaviour, because the "background" is part of and encoded into the video. Is there even a standard for "transparent video“? How should the video player know which part of the video you consider "background". If you meant to remove the "black bars" of letterboxed widescreen videos they may also be part of the video or if not, make sure you size the video player to the correct aspect ratio to prevent it from padding your video. (I have not tested this).
May ’24