How can I add keyframes for FLV files without reencoding? I try to use this command, but do nothing:
ffmpeg -i file.flv -vcodec copy -acodec copy -g 0 -y tmp.flv && yamdi -i tmp.flv -o out.flv
The (source and this) result is not seekable corretly with flash player. I have a lot of flv to "repair".
-sameqparameter, because you will use the same codec. – Omega Apr 25 '13 at 12:50-c:v libx264 -crf 22or something similar, you'll get a decent-looking picture (see the links in my answer for more information) – evilsoup Apr 25 '13 at 12:54-sameqsince it was mistaken as "same quality". Do you know what the replacement is in newer versions? – Alvin Wong Apr 25 '13 at 12:57-sameqbecause most people abused it, and it never worked properly. See: What is the “sameq” or “same_quant” option in FFmpeg? Does it mean “same quality”? – slhck Apr 25 '13 at 12:58