Reputation: 2011
I have a mp3 file. I checked. It has audio. After run command
ffmpeg -i 31.mp3 -i cover.jpg -c:a copy -s 1280x720 -pix_fmt yuv420p 31.mp4
I got 31.mp4 but it has no audio.
I use macbook pro and ffmpeg version 4.1
Upvotes: 1
Views: 110
Reputation: 2011
It's not ffmpeg issue. It's quicktime player issue. Change "-c:a copy" to "-c:a aac" fixed the issue.
Upvotes: 1