-
H264 Mp4 created by FFmpeg don’t react well in FCP whereas same spec files created in Episode react much better. Why
Hi,
I’m trying to automate an encoding process with ffmpeg.
Everything runs smoothly, but the MP4 files (codec H264) do not react well when imported in Final Cut. To be precise, the playback is slow, then stops, while the audio still plays. When trying to manipulate the file on the timeline, it gets even slower.Here is a summary of the specs, given by MediaInfo Mac
*** MediaInfo Mac // Plain text file report
2010-05-02 23:50:01 +0200
Information for File: PPT.1080.mp4General / Container Stream # 1
Total Video Streams for this File -> 1
Total Audio Streams for this File -> 1
Video Codecs Used -> AVC
Audio Codecs Used -> AAC LC
File Format -> MPEG-4
Play Time -> 48s 661ms
Total File Size -> 71.5 MiB
Total Stream BitRate -> 12.3 Mbps
Encoded with -> Lavf52.61.0
Video Stream # 1
Codec (Human Name) -> AVC
Codec (FourCC) -> avc1
Codec Profile -> Main@L4.1
Frame Width -> 1 920 pixels
Frame Height -> 1 080 pixels
Frame Rate -> 25.000 fps
Total Frames -> 1216
Display Aspect Ratio -> 16/9
Scan Type -> Progressive
Colorimetry -> 4:2:0
Codec Settings (Summary) -> 2 Ref Frames
QF (like Gordian Knot) -> 0.236
Codec Settings (CABAC) -> No
Video Stream Length -> 48s 640ms
Video Stream BitRate -> 12.2 Mbps
Video Stream BitRate (Nominal) -> 12.0 Mbps
Video Stream BitRate Mode -> VBR
Bit Depth -> 24 bits
Video Stream Size -> 70.9 MiB (99%)
Video Encoder -> x264 – core 94 r1564 a927654
Video Encoder (Settings) -> cabac=0 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=12000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00
Video Stream Language -> English
Date of Original Encoding -> UTC 1970-01-01 00:00:00
Audio Stream # 1
Codec -> AAC
Codec (FourCC) -> 40
Audio Stream Length -> 48s 661ms
Audio Stream BitRate -> 104 Kbps
Audio Stream BitRate Mode -> VBR
Number of Audio Channels -> 2
Audio Channel’s Positions -> L R
Sampling Rate -> 48.0 KHz
Bit Depth -> 16 bits
Audio Stream Size -> 619 KiB (1%)
Audio Stream Language -> English
Date of Original Encoding -> UTC 1970-01-01 00:00:00I know, H264 is not great to edit, but when I encode the same MP4 files in H264 with Episode, it works much better…
Does anyone have an explanation ?