Recode H264 Level 5.1 doesn't kick in
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="320">
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" />
However this didn't happen. Instead, the following recode section kicked in:
<Video targetContainer="mpegts">
<Matches container="matroska" />
If I delete the match condition:
<Video targetContainer="mpegts">
<Matches container="matroska" />
the file would not play at all.
Why is it the case?
An example file has the following properties:
Input #0, matroska,webm, from 'avc.mkv':
Duration: 01:44:21.59, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264 (High), yuv420p, 624x352, PAR 1:1 DAR 39:22, 2
3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : 皜臭?靽桀??VD9-HALFCD.NORM.by.?輯?
Stream #0.1(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16 (default)
Metadata:
title : ?質祗
Stream #0.2(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16
Metadata:
title : 蝎方祗
Stream #0.3(chi): Subtitle: [0][0][0][0] / 0x0000 (default)
Metadata:
title : chs.by.?輯rip
Stream #0.4(chi): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : cht.by.?輯rip
Stream #0.5(eng): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : eng.by.?輯rip
Stream #0.6(chi): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : chs eng.by.?輯rip
At least one output file must be specified
While ffmpeg didn't report the H264's level, Mediainfo confirm it is Level 5.1.
