How can I avoid a few seconds of blank video when using -vcodec copy?
- by arlomedia
I'm processing user-uploaded videos on a CentOS web server with ffmpeg. I need to convert each video to a standard size and format, then extract a 30-second sample clip from each video. I want to use the "-vcodec copy" flag in the extraction command to avoid encoding a second time.
This command works for my initial conversion:
ffmpeg -i…