How to split a video that has weird keyframes “pkt_pts_time=N/A”?
问题 I can run a command like this on normal videos (h264 on mkv): avconv -i videofile.avi -c copy -flags +global_header -segment_time 60 -f segment "videofile-part."%03d".mp4" but on videos with this format and container (the ones I have at least) it will fail: MPEG-4 on a .avi file if I probe it I get key frames that are ignored by the splittter: ffprobe videofile.avi -show_entries frame=key_frame,pict_type,pkt_pts_time -select_streams v -of compact -v 0 | grep frame=1 (from this tip https:/