I have a video file
mp4 and audio in
m4a. The issue is that some incorrect time data in the files - when I play them timeline goes from 0 to like 10 seconds and then play continues with timeline stuck at the end. So merge creates small clip of only that several seconds duration from like an hour long files. How to merge complete duration and fix embedded time data? Please provide a final command to create mp4 file as I'm not very experienced with ffmpeg.
I've did web search and found Video converted by FFMPEG has a different duration, why? and https://stackoverflow.com/questions/10640088/why-does-ffmpeg-report-different-durations but could not fix my issue.