user-1: I am use FFmpeg v4.1 . I want to change H264 profile and level but I want other settings to stay the same. I just want to change the profile of H264.
I'm using this code, but I'm getting the error.
-vcodec copy -profile:v high -level 4.0

How can I do that?

user35957: I guess you cannot copy the video codec as you are changing the video profile, using this command worked for me
ffmpeg -i input.mp4 -acodec copy -profile:v high -level 4.0 output.mp4

Here I am only copying audio codec.

-1: <p>I am use FFmpeg v4.1 . I want to change H264 profile and level but I want other settings to stay the same. I just want to change the profile of H264.</p>

<p>I'm using this code, but I'm getting the error.</p>

<pre><code>-vcodec copy -profile:v high -level 4.0
</code></pre>

<p>How can I do that?</p>
 35957: <p>I guess you cannot copy the video codec as you are changing the video profile, using this command worked for me</p>
<pre><code>ffmpeg -i input.mp4 -acodec copy -profile:v high -level 4.0 output.mp4
</code></pre>
<p>Here I am only copying audio codec.</p>
