Hi
and however Im' a cat
however.
If possibile I would like to do a batch that encode my .mxf source into 1 final MP4 for whatsapp of 64MB
whatever the resolution and duration of the source, eventually scaling from HD to SD in case of length of the original video over 3 minutes.
But the audio part of the final output mp4 file, presumably has to be built and calculated first, so that all the video part corresponds to a precise remaining size/bitrate. For example, if the audio part weighs 3MB, of the 64, it means that the video part can be a maximum of 60-61 MB. However the final file cannot be generated larger than 64MB. Is it possible to do all this in command line and with ffmpeg? thanks
+ Reply to Thread
Results 1 to 7 of 7
-
-
The definition of bitrate is:
Code:stream size / running time = bitrate
Last edited by jagabo; 31st Jan 2023 at 19:08.
-
You already know how to do each of the required steps. Just put them together.
-
but I'm a ***, for kindness be patient: my limited brain however
.
If we consider a source like this:
https://www.swisstransfer.com/d/5ed752dd-32de-46e9-af42-9ac2425127ed
is a video MXF file, 566 MB, 1 min 18sec, HD with audio. How to tell to ffmpeg to generate a .MP4 x264 (also without audio) of exactly and not over 60 MB using double pass? -
wonderful ***
but :
for kindness : maybe I need to do some little operations, if possible.
Supposing a source (not too big files) like this:
https://www.swisstransfer.com/d/83b7611e-94e2-4ee2-a358-7cfae3ad0cba
a Source.mkv video file 1920x1080 50i, 1 minutes and 29 second. Audio on 2 track, track 2 don't consider. Track 1 have a L + R channels and is the only to be encode
my target should be encode the source.mkv in a MP4 file for whatsapp of exactly 63 MB. And where the audio part is something like a 128 kbs VBR stream
So the commandline for ffmpeg how it should be done?
Similar Threads
-
FFMPEG deinterlace before SD h264 encode in one batch possible ?
By Gwar in forum Video ConversionReplies: 10Last Post: 30th Oct 2022, 18:51 -
Confused by the output Handbrake is giving me for a tricky excessive encode
By Cyber Akuma in forum Newbie / General discussionsReplies: 19Last Post: 3rd Jul 2021, 20:32 -
Video capture frame rate vs. final output file frame rate
By Theodore in forum Capturing and VCRReplies: 5Last Post: 18th Apr 2021, 17:48 -
Unable set output name in Windows batch
By mmshasan in forum Newbie / General discussionsReplies: 6Last Post: 22nd Mar 2021, 09:27 -
Create batch file for ffmpeg to increment the file output
By Bassquake in forum Video ConversionReplies: 2Last Post: 25th Nov 2019, 05:03