I'm using FFmpeg in my program to cut a video. This is the command my program executed:
ffmpeg -i in.avi -ss 00:00:00.000 -to 00:04:35.000 out.avi
Quality and size of out.avi are MUCH lower than in.avi. How can I tell FFmpeg to keep the quality of the input file? I don't want to use -c copy because then the video will start with black frames.
Here is the output without -c copy (command above) http://pastebin.com/JYYRsFsQ
Here is the output of the command with -c copy ffmpeg -i in.avi -ss 00:00:05.000 -c copy -to 00:04:35.000 out.avi
output with -c copy: http://pastebin.com/wXPhBSYj