2023-12-04, 01:35 AM
Thanks. I have done as you suggested and made a media file with just the video, but had the same problem. The thing is, the fact that the x265 encoded videos work and the QSV don't is what is tripping me up: both are HEVC Main 10 L4 and Opus.
I'm also just targeting the phone for now, because it is sitting next to me as I'm sitting at my PC doing the work. I think both devices can handle Opus audio, and the fact that the Pixel 4a plays the second video, and some UHD rips, just fine leads me to believe that it handles HEVC10 Main 10.
I think there's something screwy about the QSV encode, but I don't know how to get any log info to figure out why the Android device is saying "Source Error". That's really what I'm after: how can I get debugging/logging info from the client as it is running. I was originally thinking about how to do that on the Shield TV, but since my phone is having the problem too, it is probably easier to work with it.
Here's the one that works:
General
Unique ID : 45256732827076681419788273058715399969 (0x220C21339AE201571B2C32801709F721)
Complete name : \\xxx\That 70's Show (199\Season 01\That '70s Show (199 s01e01 That '70s Pilot.mkv
Format : Matroska
Format version : Version 4
File size : 725 MiB
Duration : 22 min 33 s
Overall bit rate : 4 494 kb/s
Frame rate : 23.976 FPS
Movie name : That '70s Show (199 s01e01 That '70s Pilot
Encoded date : 2023-11-13 14:02:22 UTC
Writing application : HandBrake 1.6.1 2023012300
Writing library : Lavf59.27.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22 min 33 s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Writing library : x265 3.5+1-f0c1022b6:[Windows][GCC 10.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=6 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / selective-sao=4 / no-early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-sbrc / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 22 min 33 s
Channel(s) : 6 channels
Channel layout : L R C Lb Rb LFE
Sampling rate : 48.0 kHz
Compression mode : Lossy
Delay relative to video : -7 ms
Title : Surround 5.1
Language : English
Default : Yes
Forced : No
Menu
00:00:00.000 : Chapter 1
00:04:24.514 : Chapter 2
00:13:33.313 : Chapter 3
00:21:58.359 : Chapter 4
Here's the one that doesn't (the video-only version as suggested):
General
Unique ID : 49557309443681099956979934690330263555 (0x254863FFCF18134E0DFEA7EAE287C003)
Complete name : \\bravo\0movie\children\tv\tv_dvd\Friends (1994)\Season 01\Friends (1994) S01e01 The One Where Monica Gets A Roommate.mkv
Format : Matroska
Format version : Version 4
File size : 711 MiB
Duration : 22 min 48 s
Overall bit rate : 4 358 kb/s
Frame rate : 23.976 FPS
Movie name : Friends (1994) s01e01 The One Where Monica Gets a Roommate
Writing application : Lavf60.3.100
Writing library : Lavf60.3.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22 min 48 s
Bit rate : 4 272 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.086
Stream size : 697 MiB (98%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Menu
00:00:00.007 : Chapter 1
00:05:10.150 : Chapter 2
00:14:11.691 : Chapter 3
00:22:09.085 : Chapter 4
I'm also just targeting the phone for now, because it is sitting next to me as I'm sitting at my PC doing the work. I think both devices can handle Opus audio, and the fact that the Pixel 4a plays the second video, and some UHD rips, just fine leads me to believe that it handles HEVC10 Main 10.
I think there's something screwy about the QSV encode, but I don't know how to get any log info to figure out why the Android device is saying "Source Error". That's really what I'm after: how can I get debugging/logging info from the client as it is running. I was originally thinking about how to do that on the Shield TV, but since my phone is having the problem too, it is probably easier to work with it.
Here's the one that works:
General
Unique ID : 45256732827076681419788273058715399969 (0x220C21339AE201571B2C32801709F721)
Complete name : \\xxx\That 70's Show (199\Season 01\That '70s Show (199 s01e01 That '70s Pilot.mkv
Format : Matroska
Format version : Version 4
File size : 725 MiB
Duration : 22 min 33 s
Overall bit rate : 4 494 kb/s
Frame rate : 23.976 FPS
Movie name : That '70s Show (199 s01e01 That '70s Pilot
Encoded date : 2023-11-13 14:02:22 UTC
Writing application : HandBrake 1.6.1 2023012300
Writing library : Lavf59.27.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22 min 33 s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Writing library : x265 3.5+1-f0c1022b6:[Windows][GCC 10.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=6 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / selective-sao=4 / no-early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-sbrc / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 22 min 33 s
Channel(s) : 6 channels
Channel layout : L R C Lb Rb LFE
Sampling rate : 48.0 kHz
Compression mode : Lossy
Delay relative to video : -7 ms
Title : Surround 5.1
Language : English
Default : Yes
Forced : No
Menu
00:00:00.000 : Chapter 1
00:04:24.514 : Chapter 2
00:13:33.313 : Chapter 3
00:21:58.359 : Chapter 4
Here's the one that doesn't (the video-only version as suggested):
General
Unique ID : 49557309443681099956979934690330263555 (0x254863FFCF18134E0DFEA7EAE287C003)
Complete name : \\bravo\0movie\children\tv\tv_dvd\Friends (1994)\Season 01\Friends (1994) S01e01 The One Where Monica Gets A Roommate.mkv
Format : Matroska
Format version : Version 4
File size : 711 MiB
Duration : 22 min 48 s
Overall bit rate : 4 358 kb/s
Frame rate : 23.976 FPS
Movie name : Friends (1994) s01e01 The One Where Monica Gets a Roommate
Writing application : Lavf60.3.100
Writing library : Lavf60.3.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22 min 48 s
Bit rate : 4 272 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.086
Stream size : 697 MiB (98%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Menu
00:00:00.007 : Chapter 1
00:05:10.150 : Chapter 2
00:14:11.691 : Chapter 3
00:22:09.085 : Chapter 4