Hi to all.
I am not tottally illiterate for video files, I do know that mp4, flv, avi and other formats are containers and that h264, mpeg2 etc are encodings. Well, that is about it.
What I do not know is when to use which, etc, but this is out of the scope.
I have a camera with which I make my videos, and I need 2 converts, one for safekeeping and making DVD sometimes, and other to post to Youtube.
So, lets go:
INPUT: (from camera)
Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
Now… I found that bitrate 4096k is good for safekeeping and 2048k for youtube.
I use:
***ffmpeg -i INPUTFILE.MPG -b 4096k -f mp4 -ar 44100 -ac 2 -acodec aac OUTPUT.mpg
(for youtube, I just change bitrate to 2048k)
example: in this case, when input file size is ~370 MB, bitrate 4096k gives me 177 MB output, and bitrate 2048k gives 90 MB.
I tried adding -vcodec libx264 -vpre=hp but besides MUCH longer worktime, nothing much is gained.
So, my question is:
Is there some better way to convert video, using some other codecs, bitrates or other parameters where (in both cases I need good quality/size ratio):
-
for safekeeping I need quality to be DVD-TV watchible and less size possible for maintaining that quality
-
less size possible, but not to be fuzzy… lets say… youtube quality… lol
Thanks!!