Videos don’t play on the Google Pixel 2 device, just a black screen.
Tried many video options (different resolutions, different containers, fast start, etc), but none of them played on Pixel 2. In the log, you can find such an error:
LogElectraPlayerPlugin: [0x6d527b3100] IMediaPlayer::Open: Options@0x6d5161ba68
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] IMediaPlayer::Open(file://../../../VideoTest/Content/Movies/test_video.mp4)
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Opening stream at “file://../../../VideoTest/Content/Movies/test_video.mp4”
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Received master playlist from “file://../../../VideoTest/Content/Movies/test_video.mp4”
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Received initial stream playlists
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Found 1280 * 720 video stream at bitrate 1226980
LogElectraPlayerPlugin: [0x6d527b3100] IMediaControls::SetRate(1.000000)
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Initial buffering starts
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Player switched video quality to 1226980 bps from 0 bps. 0 upswitches, 0 downswitches (0 drastic ones)
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Initial buffering ended after 0.034s
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Player starts prerolling to warm decoders and renderers
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Playback paused at play position 0.000
LogElectraPlayer: Error: [0x6d2ac47a20][0x6d13df0850] ReportError: “error=1 in Video decoder: code 4, “Failed to initialize decoder”; platform message “1 (0x00000001)””
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] IMediaPlayer::Close()
LogElectraPlayer: [0x6d2ac47a20][0x6d13df0850] Playback stopped. Last play position 0.000
According to Snapdragon 835 specs, it should be able to play video up to 2160p [Content removed] VP9
Sample RickRoll video with the same parameters attached.