On Wed, Apr 13, 2016 at 09:56:04 +0000, Ronald Luo wrote:
> Can you tell me how to use ffmpeg command to view gop size

Since it can be variable, you will have to analyze yourself by counting
the distances:

$ ffprobe -of default=noprint_wrappers=1 -show_entries frame=key_frame 
input.file

> and change ts file video gop size

Use "-g":
ffmpeg -i input.file -c:v outputcodec -c:a copy -g gopsize output.file
("gopsize" stands for a number you have to insert.)

Moritz
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to