[FFmpeg-user] Premiere pro compatibility with ffmpeg/libx264 encoded files.

Kenneth Howard-Browne khb at revival.com
Sat Jul 9 07:06:08 EEST 2016

Thanks I solved it by using the following commands using some tips from the
people on the irc channel.

ffmpeg -i test/20160522_sunam_mlc_rhb.mov -c:v copy -an video.mov
ffmpeg -i test/20160522_sunam_mlc_rhb.mov -c:a copy -vn audio.aiff
ffmpeg -r 30000/1001 -i video.mov -pix_fmt yuv420p -vcodec libx264
-x264opts colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off
-crf 18 -map 0:0 -map_metadata -1 -preset medium encoded/testmevideo.mov
ffmpeg -i audio.aiff -filter_complex "[0:0]pan=2c|c0=c0|c1=c1[stereo]"
-acodec pcm_s24le -map "[stereo]" encoded/audio.wav
ffmpeg -i encoded/testmevideo2.mov -i encoded/audio.wav -c copy

So I just split out the audio and video then processed them separately then
muxed them together again. It would seem that something was getting messed
by having all the processing going on at once. I'm not sure what could be
different by doing it this way, but it works and I'm happy. Might be
something to look into though as a potential bug, who knows?

Also I could not put pcm_s24be source audio into a wav and I couldn't put
the converted pcm_s24le into an aiff, not sure why that would be but it
works right now so who cares.


On Fri, Jul 8, 2016 at 4:51 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Fri, Jul 08, 2016 at 14:50:42 -0400, Kenneth Howard-Browne wrote:
> > Our editors edit fine on our h264 live captures. But when I convert some
> of
> > our older captures into h264 from prores using ffmpeg they stutter
> greatly.
> I don't know much about the intricate details of H.264, but:
> > The only differences I haven't been able to duplicate are the cabac
> > reframes, live capture have 2 while ffmpeg encoded have 4.
> If you think this could be the cause, you could add "-x264opts ref=1".
> But x264 should be getting its profiles and levels right by itself.
> > Also the audio codec of ffmpeg shows pcm_s24le (in24 / 0x34326E69)
> > while the capture shows pcm_s24le (lpcm / 0x6D63706C).
> As you mention, that doesn't seem to be an issue, but I think that can
> be manipulated with "-tag:a lpcm".
> >    3. root at pod2:/mnt/pod/drop# ffprobe
> >    ../archive/_captures/services/2016/20160703_sunpm_richardmoore.mov
> You can dump the x264 encoding parameters using
> $ strings < file.mov | grep x264
> You might also want to show us your conversion command line (which you
> did) and its complete, uncut console output (but I think that won't
> help much here).
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list