I have H.264 files that, when I run FFprobe on them, like this:
ffprobe -i h264_file.ts -show_packets -select_streams v
...it shows that each video packet has no values for duration, and no value for duration_time, like this:
... [PACKET] codec_type=video stream_index=0 pts=8098077717 pts_time=89978.641300 dts=8098077717 dts_time=89978.641300 **duration=N/A duration_time=N/A convergence_duration=N/A convergence_duration_time=N/A** size=2354 pos=14633920 flags=_ [/PACKET] ...
My question is, other than re-encoding the file, and assuming I know the source to be 60 fps, is there a way to correct this video packet duration?
I know I can do it by re-encoding - I have done so successfully. But I am wondering if there is an easier and faster way of doing it.