Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:02:32+00:00 2026-06-11T00:02:32+00:00

I create a composition with several video clips, i also add some empty ranges

  • 0

I create a composition with several video clips, i also add some empty ranges where I show title screens with CoreAnimation.

|--Video1--|--NoVideo(AVsyncLayer)--|--Video2--|

Etc… Which all works fine, the problem comes when I start using:
AVMutableVideoComposition, AVMutableVideoCompositionInstruction and AVMutableVideoCompositionLayerInstruction which I have to do to rotate videos properly.

|--Video1--|--NoVideo(AVsyncLayer)--|

Works fine in my AVPlayer, but if I instead do:

|--NoVideo(AVsyncLayer)--|--Video1--|

The application crashes the next time I push a new view controller, or pop the current view controller in my Navigation Controller stack. Sometimes with a memory warning sometimes without it, but according to instruments I only allocated 1.5Mb.

I’ve watched the Working With Media in AVFoundation from last years WWDC several times, and the only thing I can think of is that the comment

AVMutableVideoCompositionInstruction must not overlap or contain gaps.

Which it really doesn’t. I have instructions for the full duration of the composition. But there are gaps in the AVMutableCompositionTrack (my video track) where I don’t plan to show video, but only the CoreAnimation layer.

Have anyone else experienced similar issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:02:33+00:00Added an answer on June 11, 2026 at 12:02 am

    insert empty time range works in some cases, but we found it wasn’t good enough as it broke when we let the user rewind/fast-forward and change on the time bar. To solve this we added a black video clip when nothing else was showing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've found a task on some Java programming competition. One must create class Sentence
here i create the video is succeded and i combine the video and audio
I create a composition template: <ui:composition xmlns=http://www.w3.org/1999/xhtml xmlns:h=http://java.sun.com/jsf/html xmlns:f=http://java.sun.com/jsf/core xmlns:ui=http://java.sun.com/jsf/facelets xmlns:cs=http://java.sun.com/jsf/composite/composite> <h:panelGroup rendered=#{not empty
C++ says that to create a copy constructor for a class that uses composition,
We use facelets to create some custom ajaxy components. One of the behaviours we
Using Java 2D I've patched several Bezier curves ( CubicCurve2D ) together to create
Im trying to create a video that shows two videos one after the other
I have a reasonably advanced (many patches and subpatches) quartz composition that was created
CREATE TABLE `tbl_atn` ( `atn_id` int(15) NOT NULL AUTO_INCREMENT, `eng_id` int(15) DEFAULT NULL, `visit`
CREATE OR REPLACE FUNCTION layer2layerAttribute RETURN VARCHAR2 AS /** * This function properly joins

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.