Jump to content

Live TV not displaying properly with Nvidia graphics cards.


QUIKFLUX

Recommended Posts

QUIKFLUX

Hi,

 

When i start live tv through emby theater (ver1.0.44) all im getting is a forced 4:3 aspect ratio picture on my tv.

 

Ive tested this across 4 HTPCs. 2 pcs have onboard graphics (HDMI) they are intel HD Graphics 530 and the other 2 pcs have a nvidia gtx 960 and a gt 640. the 2 pcs with the onboard graphics display the live TV picture fine with full screen or 16:9 aspect. But on the 2 pcs with the nvidia graphics cards regardless of settings through emby theater im only getting a 4:3 aspect picture. 

 

Anyone seen issues like this or have a fix? previous versions of emby theater havent been an issue.

 

 

Link to comment
Share on other sites

babgvant

That's a very strange one. Which video renderer are you using? Does it reproduce with both EVR+ and madVR?

Link to comment
Share on other sites

QUIKFLUX

That's a very strange one. Which video renderer are you using? Does it reproduce with both EVR+ and madVR?

Hik, im using madvr...evr+ is even worse. i get half a tv screen as a picture using that.

Link to comment
Share on other sites

QUIKFLUX

I cant record at the moment. I have a hd homerun tuner, but im in australia so i cant set up a recording of anything

Link to comment
Share on other sites

babgvant

If you have a HDHR it's really easy to "record" a file using VLC. Just capture the network stream like this:

 

56caef5b8504b_vlcdump.jpg

 

You'll want to pull the "source" from your HDHR's channel lineup.

Edited by babgvant
Link to comment
Share on other sites

QUIKFLUX

Sorry, i cant get the stream to work through vlc.

http://192.168.100.23 is my tuner ip address in emby server, im running off the default port 8096, and the channel im trying to get to is v50

 

so would that make the source.....http//192.168.100.23:8096/auto/v50?

Link to comment
Share on other sites

QUIKFLUX

i have run 3 captures over 2 channels....all 3 when playing back are all fine in the full screen. But still the same issue when just starting live tv through emby theater on the same 2 channels i did the tests on

Edited by QUIKFLUX
Link to comment
Share on other sites

babgvant

I would suspect that it's something that ffmpeg is doing when it streams/transcodes the files through the server. We'll probably have to look at the server's logs to determine what command line args are being used. It should be possible to manipulate that to dump the file to disk instead of streaming it and have a look at that.

Link to comment
Share on other sites

QUIKFLUX

Sorry where would i find that? If this is incorrect please let me know. One of the last things i tried that this log should pick up is me trying to play live tv...hope this helps

server-63591782400.txt

Edited by QUIKFLUX
Link to comment
Share on other sites

babgvant

Hi there @@babgvant, was wondering if there was any update on this?

 

I did a search of the log, didn't find ffmpeg. I think @@Luke may need to point out where the cmdline would be documented.

Link to comment
Share on other sites

QUIKFLUX

I did a search of the log, didn't find ffmpeg. I think @@Luke may need to point out where the cmdline would be documented.

Thanks for that. i have tried evr+ but when choosing this option my ratio is fixed but my actual live tv picture size is the only filling 3 quarters of my TV screen. attached are 2 photos that shows the picture i get with both options.

post-110700-0-15868900-1456311466_thumb.jpg

post-110700-0-85706000-1456311468_thumb.jpg

Link to comment
Share on other sites

babgvant

run

 

C:\Users\aorps\AppData\Roaming\Emby-Server\ffmpeg\20160131\ffmpeg.exe -fflags +genpts -i "http://192.168.100.23:5004/auto/v8"-sn -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 7680000 -maxrate 7680000 -bufsize 15360000 -vsync vfr -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 2 -ab 320000 -af "aresample=async=1" -y "C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv"

 

from the cmd line. It will create a recording (C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv) that you can share.

Link to comment
Share on other sites

QUIKFLUX

run

 

C:\Users\aorps\AppData\Roaming\Emby-Server\ffmpeg\20160131\ffmpeg.exe -fflags +genpts -i "http://192.168.100.23:5004/auto/v8"-sn -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 7680000 -maxrate 7680000 -bufsize 15360000 -vsync vfr -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 2 -ab 320000 -af "aresample=async=1" -y "C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv"

 

from the cmd line. It will create a recording (C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv) that you can share.

Hi, i ran the command, but it seems to be failing.see below, the file it creates is zero bytes so i cannot attach it.

 

C:\Users\aorps>C:\Users\aorps\AppData\Roaming\Emby-Server\ffmpeg\20160131\ffmpeg.exe -fflags +genpts -i "http://192.168.100.23:5004/auto/v8"-sn-codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 7680000 -maxrate 7680000 -bufsize 15360000 -vsync vfr -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 2 -ab 320000 -af "aresample=async=1" -y "C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv"
ffmpeg version N-78218-gc86ecdf Copyright © 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --enable-libopenh264 --enable-libmfx --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect
  libavutil      55. 16.101 / 55. 16.101
  libavcodec     57. 24.100 / 57. 24.100
  libavformat    57. 23.101 / 57. 23.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 27.100 /  6. 27.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpeg2video @ 0000011dff52a760] Invalid frame dimensions 0x0.
    Last message repeated 8 times
[mpegts @ 0000011dff4ffbc0] Could not find codec parameters for stream 0 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
  Duration: N/A, start: 11655.460644, bitrate: N/A
  Program 1
    Stream #0:0[0x66]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:1[0x1f6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [sAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x28c](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:3[0x2f0](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
[libx264 @ 0000011d80333360] using SAR=64/45
[libx264 @ 0000011d80333360] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000011d80333360] profile High, level 4.1
[libx264 @ 0000011d80333360] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=7680 vbv_bufsize=15360 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
Output #0, matroska, to 'C:\Users\aorps\AppData\Roaming\Emby-Server\transcoding-temp\7b7babf82fd6edeb1f7eda90d986a0f1.mkv':
  Metadata:
    encoder         : Lavf57.23.101
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576 [sAR 64:45 DAR 16:9], q=-1--1, 7680 kb/s, 25 fps, 1k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.24.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder         : Lavc57.24.100 libmp3lame
    Stream #0:2: Subtitle: ass, 492x250
    Metadata:
      encoder         : Lavc57.24.100 ass
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:2 -> #0:1 (mp2 (native) -> mp3 (libmp3lame))
  Stream #0:3 -> #0:2 (dvb_teletext (libzvbi_teletextdec) -> ass (native))
Press [q] to stop, [?] for help
[ass @ 0000011dff5996c0] Only SUBTITLE_ASS type supported.
Subtitle encoding failed
[libmp3lame @ 0000011dff59b440] 3 frames left in the queue on closing
Conversion failed!
Link to comment
Share on other sites

babgvant

Let it run for a bit, then press Control+C to have ffmpeg close the stream. It is normal for it to look like a zero byte file until this happens.

Link to comment
Share on other sites

QUIKFLUX

Let it run for a bit, then press Control+C to have ffmpeg close the stream. It is normal for it to look like a zero byte file until this happens.

Ok have tried again, no idea whats going on now, wont let me run the command.

 

UPDATE: ffmpeg had a boo boo, application was showing 0 bytes, deleted and restarted emby server, all better now, running command now

post-110700-0-60650100-1456399536_thumb.jpg

Edited by QUIKFLUX
Link to comment
Share on other sites

QUIKFLUX

Let it run for a bit, then press Control+C to have ffmpeg close the stream. It is normal for it to look like a zero byte file until this happens.

Ok so i run it again, failed again, it wont keep running by itself, after getting to a certain point it fails and stops itself, please see picture below.

post-110700-0-38677100-1456400207_thumb.jpg

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...