objective c - iOS Libavcodec - Trim and convert a video -


in ios project, trying take .mp4 video file, cut out small clip in middle of file, , convert output .mov file. using libavcodec this.

i built ffmpeg libraries ios using this script , added project.

the code using trim , convert video file this.

the issues final output of file are:

  1. when copy output iphone mac, video meta data duration , video dimensions blank. if same original, video length , dimensions correctly. must not creating video meta data on new video correctly.

  2. the frame rate on outputted video appears wrong. expect see e.g. 250 frames on 10 seconds (25fps), instead see 250 frames on 4 seconds, last frame remaining 6 seconds.

  3. the code should seek 100s in video before starting trimming. instead, code appears crop video starting @ beginning.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -