Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
12th October 2020, 02:25 | #1 | Link |
Registered User
Join Date: Jun 2007
Location: Ann Arbor, MI
Posts: 124
|
How force a constant bit rate for audio created with ffmpeg?
I'm putting title pages between video clips and concatenating them together so I need all the clips to be the same. I am creating the title slides with:
Code:
fa=Tone(length=3.0, type="Silence", samplerate=22050, channels=2) v=BlankClip(90, 960, 540, pixel_type="RGB24", fps=29.97).ConvertToYV12(matrix="rec709").AddAlphaPlane() AudioDub(v, fa).Subtitle("This is a test", align=5, size=24) Code:
ffmpeg -i gsn_10.avs -b:a 128 gsn_10.mp4 MediaInfo gives: "Bit rate: 1 084 b/s" and all other clips have "Bit rate: 128 kb/s" The bit rate is the only difference in the clips. When I concat them with: Code:
ffmpeg -f concat -safe 0 -i render.txt -c copy highlight.mp4 The resulting .mp4 is 19+ hours long when I should be about 6 minutes. So, is there a way to force a constant bit rate of 128kb in AviSynth or do I need to find another way to do that in ffmpeg.
__________________
Life is more interesting viewed upside down |
Tags |
constant bit rate, ffmpeg audio |
|
|