Jump to content

ChromeCast LiveTV not working


eL1337-

Recommended Posts

eL1337-

So I'm almost at the point of switching from Plex to Emby. One problem I'm facing is that LiveTV won't cast to my Chromecast. When I select play it looks pike it wants to load for a brief moment and then it just returns to black screen. No errors etc. Casting works for movies though.

 

Before I file bug reports and all; Should it be possible to cast LiveTV? Do I need to configure some additional stuff?

 

This is a pretty big one for me to switch from Plex and become Emby member.

 

Edit: I'm running server on FreeNAS by the way. Installed it through the plug-ins option so I'm one version behind. Did not see anything about Chromecast in the releasenotes though so decided to wait for a comment before messing uo my installation by manual updating.

 

Edit2: Does not work on Chrome browser on desktop either. Just a black screen.

Edited by eL1337-
Link to comment
Share on other sites

eL1337-

Hi Luke, thank you for your quick response. I looked at the transcoding logs I wanted to send and noticed it gave an error about looping. I reloaded the m3u and didn't check looping this time around. Seems to work great now. Sorry for the trouble and thanks again. And congrats on a great product!

Link to comment
Share on other sites

eL1337-

Looks like I spoke a bit too soon. Transcoding troubles when casting?:

 

ffmpeg version 2.8.4 Copyright © 2000-2015 the FFmpeg developers

built with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]

configuration: --prefix=/usr/pbi/emby-amd64 --mandir=/usr/pbi/emby-amd64/man --datadir=/usr/pbi/emby-amd64/share/ffmpeg --pkgconfigdir=/usr/pbi/emby-amd64/libdata/pkgconfig --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags=' -I/usr/pbi/emby-amd64/include' --extra-ldflags='-L/usr/pbi/emby-amd64/lib ' --extra-libs=-lpthread --enable-memalign-hack --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libdc1394 --disable-debug --disable-htmlpages --disable-libfaac --disable-libfdk-aac --disable-ffserver --disable-libflite --enable-fontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --disable-libgsm --enable-iconv --disable-libilbc --disable-indev=jack --disable-ladspa --enable-libmp3lame --disable-libbluray --enable-mmx --disable-libmodplug --disable-openal --disable-indev=openal --disable-opencl --disable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --enable-libopus --disable-libpulse --disable-indev=pulse --disable-outdev=pulse --disable-libquvi --enable-runtime-cpudetect --disable-librtmp --enable-libschroedinger --disable-ffplay --disable-outdev=sdl --disable-libsmbclient --disable-libsnappy --disable-libspeex --enable-sse --disable-libssh --enable-libtheora --disable-libtwolame --disable-libv4l2 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-vaapi --disable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --disable-libwebp --disable-x11grab --enable-libx264 --enable-libx265 --disable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzmq --disable-libzvbi --enable-gnutls --disable-openssl --disable-version3 --disable-nonfree

libavutil 54. 31.100 / 54. 31.100

libavcodec 56. 60.100 / 56. 60.100

libavformat 56. 40.101 / 56. 40.101

libavdevice 56. 4.100 / 56. 4.100

libavfilter 5. 40.101 / 5. 40.101

libavresample 2. 1. 0 / 2. 1. 0

libswscale 3. 1.101 / 3. 1.101

libswresample 1. 2.101 / 1. 2.101

libpostproc 53. 3.100 / 53. 3.100

Input #0, mpegts, from URL

Duration: N/A, start: 22101.280000, bitrate: N/A

Program 1

Metadata:

service_name : Service01

service_provider: FFmpeg

Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x578 [sAR 578:405 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 148 kb/s

[matroska @ 0x80a485a20] Codec for stream 0 does not use global headers but container format requires global headers

[matroska @ 0x80a485a20] Codec for stream 1 does not use global headers but container format requires global headers

[matroska @ 0x80a485a20] Error parsing AAC extradata, unable to determine samplerate.

Output #0, matroska, to '/var/db/emby-server/transcoding-temp/479c24e8cbdcb25d823e71a5d3e773ab.mkv':

Metadata:

encoder : Lavf56.40.101

Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 720x578 [sAR 578:405 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc

Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 148 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Stream #0:1 -> #0:1 (copy)

Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Edited by eL1337-
Link to comment
Share on other sites

You have a really old build of ffmpeg on your freenas. are you able to update that?

Link to comment
Share on other sites

eL1337-

Okay so I've installed the latest ffmpeg inside the jail but Emby uses it's own version? (/usr/pbi/emby-amd64/bin/ffmpeg , /usr/pbi/emby-amd64/share/ffmpeg)

I tried symbolic link from /usr/pbi/emby-amd64/bin/ffmpeg to  /usr/local/bin/ffmpeg, but that only breaks stuff.

 

Any suggestions?

Link to comment
Share on other sites

josh4trunks

You could edit the 'command_args' variable in /usr/local/etc/rc.d/emby-server and set the 'ffmpeg' flag to "/usr/local/bin/ffmpeg"

Link to comment
Share on other sites

eL1337-

Thanks for you suggestion. It is already set right. I'll install emby-server from ports instead of through the plug-in system and see what happens.

I think all will be well then. The plug-in system looks like a nice feature in FreeNAS but unfortunately is often pretty broken.

I'll report back.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...