Hi All,
I'm trying to convert a file using ffmpeg. I want the below parameters in the output file.
Input file : 1920x1080 mp4
output : h264 with .mp4 container.
Profile : Main@3.2 Cabac.
resolution : 720x480
Aspect 16:9
Bitrate: 1500 Kbps CBR
Refrence frames = 2
Gop size = 15 (M=3 , N=15)
Audio : AAC 128 Kbps constant.
I am not able to get the GOP settings right in ffmpeg.
My media info shows the Reference frames=2, but i don't see any Gop Structure.
Kindly guide me where i'm going wrong.Code:ffmpeg -i Mi5.mp4 -c:v libx264 -g 15 -bf 2 -refs 1 -flags +cgop -b_strategy 0 -x264opts scenecut=0:b-pyramid=0:b-adapt=0 -profile:v main -level:v 3.2 -s 720x480 -aspect 16:9 -b:v 1500k -bufsize 1835k -nal-hrd cbr output.mp4
Regards.
+ Reply to Thread
Results 1 to 3 of 3
-
-
keyintmin and keyintmax at least but not sure if there is any way (normal way, not by modification of log) to force x264 to strict GOP structure (like IBBPBBP... etc).
you may try:Code:no-scenecut:nal-hrd=cbr:open-gop=0:pic-struct:aud:force-cfr:keyint=15:keyint_min=15
Last edited by pandy; 20th Jul 2015 at 10:17.
Similar Threads
-
Format settings GOP?
By rocka in forum Newbie / General discussionsReplies: 4Last Post: 6th Mar 2023, 08:08 -
GOP Settings for HQ 720P Youtube Videos
By mdexter in forum Newbie / General discussionsReplies: 15Last Post: 4th Jul 2014, 19:47 -
mp4 files corrupted, missing GOP format settings, any way to fix?
By smca in forum Newbie / General discussionsReplies: 6Last Post: 20th Apr 2013, 19:10 -
MPEG1 custom GOP settings
By sipposa in forum Video ConversionReplies: 8Last Post: 11th Jul 2011, 19:23 -
GOP control in ffMPEG MPEG1 encoding
By Computer Nerd Kev in forum Authoring (VCD/SVCD)Replies: 12Last Post: 4th Jul 2011, 02:52