Ffmpeg converting from mkv to mp4 without re-encoding

ffmpeg

I am using ffmpeg to switch container from mkv to mp4 via this command:

ffmpeg -i filename.mkv -vcodec copy 1.mp4

this is the simplest command that I found when converting from mkv container to mp4 without re-encoding. The output stated otherwise (if I am not mistaken)

This is a small screen shot of the the output:

FFmpeg Screenshot

Where it said Stream Mapping, #0:0 (264 (native)) -> 264 (libx264)). Does this mean that it's re-encoding from x264 to libx264? What Did I do wrong?

Any help is appreciated…

Best Answer

problem solved, specify the audio codec solve my problem...

ffmpeg -i filename.mkv -vcodec copy -acodec copy 1.mp4
Related Topic