.h264 file cannot convert to .mp4 file by using ffmpeg

1.2k Views Asked by At

I have a car camera. Videos are HEVC codec but stored with .h264 file type.
I use ffmpeg to convert these .h264 file type to mp4 file type.

Most of videos are converted successfully, some videos failed.

some video convert successfully, some video failed

What is weird is that this "convert-failed" video clip can be normally played by using the video player provided from video seller. convert-failed video clip be played successfully

I will upload two of these .h264 videos, one can be converted successfully, one cannot.

Could anyone let me know how to finish the convert.

see my ffmpeg command and output here https://github.com/Pinocchio2018/h264ConvertedFailVideo.git

0

There are 0 best solutions below