FFMPEG two black frames in the beginning when converting mp4 aac to mov pcm
I’m trying to convert mp4 h265 aac file to mov 265 pcm16sle file using ffmpeg withoat touching the video stream. When opening the file in DaVinci Resolve, there is two black frames in beginning.
I used this ffmpeg command:
ffmpeg -i file.mp4 -map_metadata 0 -c:v copy -c:a pcm_s16le file.mov
For some reason this command changes timestamp info:
file.mp4
---
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 519000,
"duration": "20.760000",
"bit_rate": "80688676",
file.mov
---
"start_pts": 2000,
"start_time": "0.080000",
"duration_ts": 517000,
"duration": "20.680000",
"bit_rate": "81000818",
I also get this error when converting file:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x565392b65800] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
I found this bug report, but there didn’t found any fixes to my problem.
Read more here: Source link