0

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.

  • 2
    Your TV manual should have some specs for acceptable video (profile, level, B-frames, container..etc) – Gyan Mar 2 at 17:19
  • @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 Mar 2 at 17:41
  • 1
    What's the model no.? – Gyan Mar 2 at 17:44
  • @Gyan Its a Sanyo TV. I searched in the web for the manual, but in vain! – Mithun John Jacob Mar 2 at 17:47
  • Share the readout of ffmpeg -i file for a couple of working files. – Gyan Mar 2 at 17:48
0

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.