x265 support
lapwat opened this issue · comments
Correct me if I am wrong, but x265 files do not seem to be supported. When trying to play a x265 video, only the sound and subtitles are showing on the screen.
I was trying to play a mkv x265.
I have just tried x265 – Big Buck Bunny 4K @ 2 Mbps mp4 file.
Now the video drop down menu does not show any option.
I am running archlinux, installed gnomecast
via pip3.
❯ ffprobe -i videos/BigBuckBunny_2000hevc.mp4
ffprobe version n4.4 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/BigBuckBunny_2000hevc.mp4':
Metadata:
major_brand : iso4
minor_version : 1
compatible_brands: iso4hvc1
creation_time : 2014-08-25T21:13:56.000000Z
Duration: 00:00:10.00, start: 0.083333, bitrate: 2013 kb/s
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 3840x2160, 2010 kb/s, 24 fps, 24 tbr, 24k tbn, 24 tbc (default)
Metadata:
creation_time : 2014-08-25T21:13:56.000000Z
handler_name : hevc:fps=24@GPAC0.5.1-DEV-rev4807
vendor_id : [0][0][0][0]
File: BigBuckBunny_2000hevc.mp4
Video: und (hevc)
Audio:
Subtitles:
Device: Chromecast (Google Inc.)
Chromecast: v1.9.11
FileMetadata(fn:videos/BigBuckBunny_2000hevc.mp4, ready:True, thumbnail_fn:/tmp/gnomecast_pid43637_thumbnail_ms409rfw.jpg, container:mp4, video_streams:[StreamMetadata(index:0:0, codec:hevc, title:und)], audio_streams:[], subtitles:[])
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 3840x2160, 2010 kb/s, 24 fps, 24 tbr, 24k tbn, 24 tbc (default)```
I've never been able to play x265 files to my chromecast. I always get a black screen though sound works fine usually. I am guessing that for some reason gnomecast isn't transcoding them to whatever x264 codec is supported.