[FFmpeg-user] What is the correct way to cut the video with ffmpeg?

桃源老師 xanadu6291 at dream.jp
Tue Jun 21 16:00:20 CEST 2016


> 2016/06/21 8:52 P.M. Carl Eugen Hoyos <cehoyos<at>ag.or.at> wrote:
> 
> I cannot answer your original question, you have not even 
> shown complete, uncut console output (it is always required 
> if you need help here), nor provided an example input file.

Additional Information.  I can check my video's key frame and time with the following 
command:

$ ffprobe -select_streams v -show_frames -v quiet sample.mp4 -unit | grep key_frame=1 -A 3
key_frame=1
pkt_pts=0
pkt_pts_time=0.000000 s
pkt_dts=0
--
key_frame=1
pkt_pts=500500
pkt_pts_time=8.341667 s
pkt_dts=500500
--
key_frame=1
pkt_pts=1001000
pkt_pts_time=16.683333 s
pkt_dts=1001000
--
key_frame=1
pkt_pts=1501500
pkt_pts_time=25.025000 s
pkt_dts=1501500
--
key_frame=1
pkt_pts=2002000
pkt_pts_time=33.366667 s
pkt_dts=2002000
--
key_frame=1
pkt_pts=2502500
pkt_pts_time=41.708333 s
pkt_dts=2502500


Best Regards,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160621/17404d5a/attachment.bin>


More information about the ffmpeg-user mailing list