I downloaded some files (a TV series) that use x265. They will only play on a computer, not on a dvd using XtoDVD4, not on a flash drive, and not on a newer Sony player or smart TV. Is there an easy way to convert these files to MP4 or something similar that is compatable? Your help is appreciated.
-
related: How to generate an MP4 with H.265 codec using FFmpeg?– bummiFeb 16, 2016 at 14:37
-
@bummi that's not really related. Apparently he needs to re-encode the files from H.265/HEVC to H.264/AVC (or maybe DivX/XviD, depends on the player/TV).– Tom YanFeb 16, 2016 at 14:50
-
MP4 is a container, h265 is a codec. They can (and often do) co-exist. Apples and oranges.– Mahmoud Al-QudsiSep 16, 2018 at 16:16
Add a comment
|
1 Answer
You can use ffmpeg*, a command-line tool, to do this.
Run
ffmpeg -i input.mp4 -c:v libx264 -crf 20 -c:a copy output.mp4
If the above fails due to audio, use this:
ffmpeg -i input.mp4 -c:v libx264 -crf 20 -c:a aac output.mp4
*get the latest nightly or snapshot binary for your platform.