{MediaInfo.Videoc} is defaulting all x264 to h264

Sonarr version (exact version): Sonarr Ver. 2.0.0.4974 - develop
Mono version (if Sonarr is not running on Windows): 5.2.0.215
OS: ubuntu 16.04
((Debug logs)):
n/a
Description of issue:

Sonarr keeps renaming x264 content to h264, even when it is clearly labeled x264 in the filename it is importing. Based on this comment, it should be defaulting to x264 even if it is unsure.

I wanted to post this here first before making a github issue.

Things have changed a bit since that comment, it’ll depend on media info a bit more and whether the VideoFormat is known from media info.

So some releases that say they are x264 can be in fact h264?

Do you have the filename and mediainfo (pastebin the output of the mediainfo cmdline tool) of an affected file?
x264 by default includes the codec name and version in the mkv metadata while ‘h264’ does not, which is why I changed the logic.

Sure.

Sample 1:
Game.of.Thrones.S07E07.The.Dragon.and.The.Wolf.1080p.AMZN.WEB-DL.DDP5.1.H.264-GOT

https://pastebin.com/xma8qTb8

( I realize this one says h264)

Sample 2:

Game of Thrones S07E05 Eastwatch1080p AMZN WEBRip DDP5.1 x264 GoT

https://pastebin.com/fMiT4VB9

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.