<p><code>notworking.mkv</code> is 10-bit H.264 (<code>yuv420p10le</code>). I'm guessing the TV can't play that. You'll have to re-encode to the more common yuv420p for the TV to be able to play it. Basic example:</p>

<pre><code>ffmpeg -i notworking.mkv -map 0 -c copy -c:v libx264 -vf format=yuv420p output.mkv
</code></pre>

CC BY-SA 4.0
2020-03-03T00:35:26.640Z
2020-03-03T00:35:26.640Z
llogan
<p>I'm having some files in MKV format (x264). Some files work flawlessly in my non-smart TV, but others are not even opened at all or crashing.</p>

<p>I tried the following command in FFmpeg to convert it to the mp4 format since it has wide platform compatibility in TVs.</p>

<pre><code>ffmpeg -i input.mkv out.mp4
</code></pre>

<p>But its still not playing in my TV, please help me with the correct ffmpeg parameters.</p>

CC BY-SA 4.0
2020-03-02T17:19:27.650Z
Your TV manual should have some specs for acceptable video (profile, level, B-frames, container..etc)
Gyan
CC BY-SA 4.0
2020-03-02T17:41:10.813Z
@Gyan I misplaced the manual, but I'm having some files that works flawlessly in my TV. How can I use the same settings in ffmpeg?
Mithun John Jacob
CC BY-SA 4.0
2020-03-02T17:44:15.293Z
What's the model no.?
Gyan
CC BY-SA 4.0
2020-03-02T17:47:14.557Z
@Gyan Its a Sanyo TV. I searched in the web for the manual, but in vain!
Mithun John Jacob
CC BY-SA 4.0
2020-03-02T17:48:06.890Z
Share the readout of `ffmpeg -i file` for a couple of working files.
Gyan
CC BY-SA 4.0
2020-03-02T17:57:40.043Z
@Gyan: Not working MKV: https://pastebin.com/Ddk72RGw Working: https://pastebin.com/bTFBTyVU
Mithun John Jacob
<ffmpeg><mkv>
ffmpeg setting not working for x264 compatibility in television
Mithun John Jacob
# ffmpeg setting not working for x264 compatibility in television

(Asked by: username_0 on 2020-03-02)

I'm having some files in MKV format (x264). Some files work flawlessly in my non-smart TV, but others are not even opened at all or crashing.
I tried the following command in FFmpeg to convert it to the mp4 format since it has wide platform compatibility in TVs.
ffmpeg -i input.mkv out.mp4

But its still not playing in my TV, please help me with the correct ffmpeg parameters.

**Tags:** ffmpeg, mkv

> **Comments:**
> **username_1**: Your TV manual should have some specs for acceptable video (profile, level, B-frames, container..etc)  
> **username_0**: @username_1 I misplaced the manual, but I'm having some files that works flawlessly in my TV. How can I use the same settings in ffmpeg?  
> **username_1**: What's the model no.?  
> **username_0**: @username_1 Its a Sanyo TV. I searched in the web for the manual, but in vain!  
> **username_1**: Share the readout of `ffmpeg -i file` for a couple of working files.  
> **username_0**: @username_1: Not working MKV: https://pastebin.com/Ddk72RGw Working: https://pastebin.com/bTFBTyVU  

---

## 1 answers

### Answer by username_2 on 2020-03-03. Score: 0 | Accepted answer

notworking.mkv is 10-bit H.264 (yuv420p10le). I'm guessing the TV can't play that. You'll have to re-encode to the more common yuv420p for the TV to be able to play it. Basic example:
ffmpeg -i notworking.mkv -map 0 -c copy -c:v libx264 -vf format=yuv420p output.mkv


---

